diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-09 19:31:24 -0500 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-09 19:31:24 -0500 |
| commit | 26a7e405bbeb47671c7d439ce9ccec1a45042762 (patch) | |
| tree | a10a3983db0a0cc4cc785e28bafa446e2d0af828 /www/templates | |
| parent | 0a13732f18898ae2cee671336c47f1bf41ff31dd (diff) | |
#71 - when in desktop mode, replace email option with "save as" option as default email may not be configured
Former-commit-id: dfb817c1c977efd649e3c984898c841edb5b9ea9
Diffstat (limited to 'www/templates')
| -rw-r--r-- | www/templates/log.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/www/templates/log.html b/www/templates/log.html index 4c923fce..37b85d1b 100644 --- a/www/templates/log.html +++ b/www/templates/log.html @@ -11,8 +11,15 @@ <ion-nav-buttons side="right"> <a class="button button-icon icon ion-trash-a" ng-href="" ng-click="deleteLogs()"></a> - <a style="" class="button button-icon icon ion-email" + + <div ng-if="$root.platformOS!='desktop'"> + <a style="" class="button button-icon icon ion-email" + ng-href="" ng-click="sendEmail(zmLog.logString)" > </a> + </div> + <div ng-if="$root.platformOS=='desktop'"> + <a style="" class="button button-icon icon ion-android-download" ng-href="" ng-click="sendEmail(zmLog.logString)" > </a> + </div> </ion-nav-buttons> <ion-content class="padding"> |
