summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/events-popover.html2
-rw-r--r--www/templates/events.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/www/templates/events-popover.html b/www/templates/events-popover.html
index 425360c5..b37a70a0 100644
--- a/www/templates/events-popover.html
+++ b/www/templates/events-popover.html
@@ -7,7 +7,7 @@
Event Graphs
</a>-->
<a class="item" style="text-transform:capitalize;" ng-href="" ng-click="popover.hide();toggleThumbSize();doRefresh();">
- {{'kEventViewThumbsSize' | translate}}:{{(loginData.eventViewThumbsSize == 'small' ? 'kEventViewThumbsSmall': 'kEventViewThumbsLarge') | translate}}
+ {{'kEventViewThumbsSize' | translate}}: {{thumbSizeOptions[loginData.eventViewThumbsSize]}}
</a>
<a class="item" ng-href="" ng-click="popover.hide();doRefresh();">
{{'kRefresh' | translate}}
diff --git a/www/templates/events.html b/www/templates/events.html
index 681356ff..c2c0c30f 100644
--- a/www/templates/events.html
+++ b/www/templates/events.html
@@ -79,7 +79,7 @@
<!-- this ngswitch displays different icons
depending on the cause of the event -->
<span ng-switch on="event.Event.Cause"
- ng-class="::{'largeThumbsSpan': thumbClass=='large', 'smallThumbsSpan': thumbClass=='small'}">
+ ng-class="::{'largeThumbsSpan': thumbClass=='large', 'smallThumbsSpan': (thumbClass=='small' || thumbClass=='xsmall')}">
<span ng-switch-when="Motion">
<i class="ion-android-walk" style="font-size:150%;"></i>&nbsp;
<!-- <i ng-class="(event.Event.DefaultVideo !== undefined && event.Event.DefaultVideo!='')? 'ion-ios-videocam':'ion-images'" style="float:left; padding-left:5px; font-size:100%;"></i>-->
@@ -106,7 +106,7 @@
</span>
</div> <!-- col-->
<!-- 2 col format for small, 1 col format for large -->
- <span ng-if="thumbClass=='small' && loginData.eventViewThumbs!='none'">
+ <span ng-if="(thumbClass=='small' || thumbClass=='xsmall') && loginData.eventViewThumbs!='none'">
<div class="col">
<img bg-color="#6C7A89" ng-src="{{constructThumbnail(event)}}"
on-tap="closeIfOpen(event);openModalWithSnapshot(event)" width="{{event.Event.thumbWidth}}px"