aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/profile_advanced.tpl
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-29 19:34:23 -0800
committerredmatrix <git@macgirvin.com>2016-02-29 19:34:23 -0800
commit91bb4bdf508ab87951a3e01ac3632cffc7bff07d (patch)
treecbe4dc7b0e4641ea677c159cb6871adf0b40f6db /view/tpl/profile_advanced.tpl
parentbe2b7c0b5f7f9b8080affbb4bc44c5adda18e82f (diff)
parent2d45f9f385a5738d2126f66c0e5467533e6838c2 (diff)
downloadvolse-hubzilla-91bb4bdf508ab87951a3e01ac3632cffc7bff07d.tar.gz
volse-hubzilla-91bb4bdf508ab87951a3e01ac3632cffc7bff07d.tar.bz2
volse-hubzilla-91bb4bdf508ab87951a3e01ac3632cffc7bff07d.zip
Merge https://github.com/redmatrix/hubzilla into pending_merge
Diffstat (limited to 'view/tpl/profile_advanced.tpl')
-rwxr-xr-xview/tpl/profile_advanced.tpl15
1 files changed, 13 insertions, 2 deletions
diff --git a/view/tpl/profile_advanced.tpl b/view/tpl/profile_advanced.tpl
index 780626cf9..3d09b762d 100755
--- a/view/tpl/profile_advanced.tpl
+++ b/view/tpl/profile_advanced.tpl
@@ -12,8 +12,19 @@
<i class="icon-thumbs-up-alt" title="{{$profile.likethis}}"></i>
</button>
{{/if}}
- {{if $edit}}
- <a href="{{$edit.link}}" class="btn btn-primary btn-xs"><i class="icon-pencil"></i>&nbsp;{{$edit.label}}</a>
+ {{if $editmenu.multi}}
+ <a class="btn btn-primary btn-xs dropdown-toggle" data-toggle="dropdown" href="#" ><i class="icon-pencil"></i>&nbsp;{{$editmenu.edit.3}}</a>
+ <ul class="dropdown-menu" role="menu">
+ {{foreach $editmenu.menu.entries as $e}}
+ <li>
+ <a href="profiles/{{$e.id}}"><img class="dropdown-menu-img-xs" src='{{$e.photo}}'>{{$e.profile_name}}<div class='clear'></div></a>
+ </li>
+ {{/foreach}}
+ <li><a href="profile_photo" >{{$editmenu.menu.chg_photo}}</a></li>
+ {{if $editmenu.menu.cr_new}}<li><a href="profiles/new" id="profile-listing-new-link">{{$editmenu.menu.cr_new}}</a></li>{{/if}}
+ </ul>
+ {{else}}
+ <a class="btn btn-primary btn-xs" href="{{$editmenu.edit.0}}" ><i class="icon-pencil"></i>&nbsp;{{$editmenu.edit.3}}</a>
{{/if}}
</div>
<h2>{{$title}}</h2>