diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-04-28 13:08:41 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-04-28 13:08:41 +0200 |
commit | b664af748e32f6e8f3d451e95fd8cb65940eca17 (patch) | |
tree | 45b612c67ab843e980f7c17c436854178ea80b69 /view/tpl | |
parent | f108838ca976299eabab45fb07373278391d6b66 (diff) | |
download | volse-hubzilla-b664af748e32f6e8f3d451e95fd8cb65940eca17.tar.gz volse-hubzilla-b664af748e32f6e8f3d451e95fd8cb65940eca17.tar.bz2 volse-hubzilla-b664af748e32f6e8f3d451e95fd8cb65940eca17.zip |
provide help button in context help popup
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/nav.tpl | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index 03b48fd00..14fb8a982 100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -36,10 +36,6 @@ <li role="presentation" class="divider"></li> <li role="presentation"><a href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" role="menuitem" id="{{$nav.admin.4}}">{{$nav.admin.1}}</a></li> {{/if}} - {{if $nav.help.6}} - <li role="presentation" class="divider"></li> - <li role="presentation"><a href="{{$nav.help.0}}" title="{{$nav.help.3}}" role="menuitem" id="{{$nav.help.4}}">{{$nav.help.1}}</a></li> - {{/if}} {{if $nav.logout}} <li role="presentation" class="divider"></li> <li role="presentation"><a href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" role="menuitem" id="{{$nav.logout.4}}">{{$nav.logout.1}}</a></li> @@ -207,6 +203,9 @@ {{if $nav.help.6}} <div id="contextual-help-content" class="contextual-help-content"> {{$nav.help.5}} - <button type="button" class="close" onclick="contextualHelp();">×</button> + <div class="pull-right"> + <a class="contextual-help-tool" target="hubzilla-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}"><i class="icon-question"></i></a> + <a class="contextual-help-tool" href="#" onclick="contextualHelp(); return false;"><i class="icon-remove"></i></a> + </div> </div> {{/if}} |