summaryrefslogtreecommitdiff
path: root/www/templates/events.html
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2020-09-06 12:38:03 -0400
committerPliable Pixels <pliablepixels@gmail.com>2020-09-06 12:38:03 -0400
commite399b0ac2f7806633d9d14aab9b783470eaa14d6 (patch)
tree211f5abd07e2c91d08c1b6adbbd804349927ebf7 /www/templates/events.html
parent47a8f790b8e4fb9c2e56fd977f644222e3a176ba (diff)
#963 revert dynamic size changes, go back to collection repeat. Still needs cleanup for large thumbs
Diffstat (limited to 'www/templates/events.html')
-rw-r--r--www/templates/events.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/www/templates/events.html b/www/templates/events.html
index 9fbbcc6a..c92bdffa 100644
--- a/www/templates/events.html
+++ b/www/templates/events.html
@@ -32,9 +32,10 @@
<!-- lets make sure the events list is not empty as collection repeat needs height -->
<div ng-if="!eventsBeingLoaded">
<ion-list show-delete="eventList.showDelete">
- <div ng-repeat="event in events| filter:search.text | eventListFilter" id="item-{{$index}}"
- style="min-height: 50px;">
- <ion-item force-refresh-images="true" on-swipe-left="checkSwipe($index);" force-refresh-images="true">
+
+ <ion-item force-refresh-images="true" collection-repeat="event in events| filter:search.text | eventListFilter" force-refresh-images=true
+ item-height="event.Event.rowHeight" id="item-{{$index}}" on-swipe-left="checkSwipe($index);" force-refresh-images="true" >
+
<span
style="float:left;margin-top:-18px;background-color:#96281B;color:#fff;font-size:11px;opacity:0.7;border-radius: 0px 0px 5px 5px;">&nbsp;&nbsp;&nbsp;
<i
@@ -254,7 +255,7 @@
<!-- isGroupShown -->
</div>
</ion-item>
- </div>
+
</ion-list>
</div>
<!-- !eventsBeingLoaded-->