aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot.tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-12-09 15:09:19 +0100
committermarijus <mario@mariovavti.com>2014-12-09 15:09:19 +0100
commit242713ebef71e0e2b6b1666f7c2400b26772ba2d (patch)
tree9a87b3edbcd9692d9f1c3b3a23b28c494a2fa8f3 /view/tpl/jot.tpl
parent42fc104272ff8ae4bf725a8950a8e5bcf31ff882 (diff)
downloadvolse-hubzilla-242713ebef71e0e2b6b1666f7c2400b26772ba2d.tar.gz
volse-hubzilla-242713ebef71e0e2b6b1666f7c2400b26772ba2d.tar.bz2
volse-hubzilla-242713ebef71e0e2b6b1666f7c2400b26772ba2d.zip
show clear browser location button only if use browser location option is set and minor css fixes
Diffstat (limited to 'view/tpl/jot.tpl')
-rwxr-xr-xview/tpl/jot.tpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index 826a3dd38..8d6b5ff91 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -56,12 +56,14 @@
</button>
</div>
<div class='btn-group'>
- <button id="profile-nolocation-wrapper" class="btn btn-default btn-sm" style="display: none;" title="{{$noloc}}" onclick="jotClearLocation();return false;">
- <i id="profile-nolocation" class="icon-circle-blank jot-icons"></i>
- </button>
<button id="profile-location-wrapper" class="btn btn-default btn-sm" title="{{$setloc}}" onclick="jotGetLocation();return false;">
<i id="profile-location" class="icon-globe jot-icons"></i>
</button>
+ {{if $noloc}}
+ <button id="profile-nolocation-wrapper" class="btn btn-default btn-sm" style="display: none;" title="{{$noloc}}" onclick="jotClearLocation();return false;">
+ <i id="profile-nolocation" class="icon-circle-blank jot-icons"></i>
+ </button>
+ {{/if}}
{{else}}
<div class='btn-group'>
{{/if}}