diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2020-09-30 07:23:33 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2020-09-30 07:23:33 -0400 |
| commit | e33a2f7dcada445a0891b3d1581edd4fcc36ad8d (patch) | |
| tree | ef2ae53c4dfa794cd82e19e3a20f93646a49afe2 /www/templates | |
| parent | b321c0ee139571530a685edc187e29055b099789 (diff) | |
add xsmall thumbs
Diffstat (limited to 'www/templates')
| -rw-r--r-- | www/templates/events-popover.html | 2 | ||||
| -rw-r--r-- | www/templates/events.html | 4 |
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 e8f5dfa7..f23f37d1 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> <!-- <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" |
