diff options
author | redmatrix <git@macgirvin.com> | 2016-02-29 19:34:23 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-02-29 19:34:23 -0800 |
commit | 91bb4bdf508ab87951a3e01ac3632cffc7bff07d (patch) | |
tree | cbe4dc7b0e4641ea677c159cb6871adf0b40f6db /view/tpl/profile_advanced.tpl | |
parent | be2b7c0b5f7f9b8080affbb4bc44c5adda18e82f (diff) | |
parent | 2d45f9f385a5738d2126f66c0e5467533e6838c2 (diff) | |
download | volse-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-x | view/tpl/profile_advanced.tpl | 15 |
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> {{$edit.label}}</a> + {{if $editmenu.multi}} + <a class="btn btn-primary btn-xs dropdown-toggle" data-toggle="dropdown" href="#" ><i class="icon-pencil"></i> {{$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> {{$editmenu.edit.3}}</a> {{/if}} </div> <h2>{{$title}}</h2> |