aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorTreer <treer.git@the-bordello.com>2016-05-08 20:44:30 +1000
committerTreer <treer.git@the-bordello.com>2016-05-08 20:44:30 +1000
commite7a65c1f8d97b92e311beb064a7094216e23b119 (patch)
tree94100e6e3e1822f82934f3ba977db6df12d09202 /view/tpl
parent2b77c9a74bf4393dd3894420e602e7212c29ba42 (diff)
downloadvolse-hubzilla-e7a65c1f8d97b92e311beb064a7094216e23b119.tar.gz
volse-hubzilla-e7a65c1f8d97b92e311beb064a7094216e23b119.tar.bz2
volse-hubzilla-e7a65c1f8d97b92e311beb064a7094216e23b119.zip
improve non-ACL option description in ACL dialog
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/acl_selector.tpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/view/tpl/acl_selector.tpl b/view/tpl/acl_selector.tpl
index 0df72747a..050417257 100755
--- a/view/tpl/acl_selector.tpl
+++ b/view/tpl/acl_selector.tpl
@@ -25,8 +25,12 @@
<div id="acl-radiowrapper-showall" class="radio">
<label>
<input id="acl-showall" type="radio" name="optionsRadios" value="option1" checked>
- <i class="fa fa-globe"></i><span id=acl-showall-caption>{{$showall}}</span>
+ {{if $showallIcon}}<i class="fa {{$showallIcon}}"></i>{{/if}}
+ <span id="acl-showall-caption">{{$showall}}</span>
</label>
+ {{if $showallOrigin}}
+ &nbsp;<a id="acl-info-icon" role="button" tabindex="0" class="fa fa-info-circle" data-trigger="focus" data-toggle="popover" data-placement="top" data-content="{{$showallOrigin}}"></a>
+ {{/if}}
</div>
<div id="acl-radiowrapper-showlimited" class="radio">
<label>
@@ -61,6 +65,8 @@
</div><!-- /.modal -->
<script>
+ $('[data-toggle="popover"]').popover(); // Init the popover, if present
+
if(typeof acl=="undefined"){
acl = new ACL(
baseurl+"/acl",