diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-10-01 10:24:33 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-10-01 10:24:33 +0200 |
commit | 89457c8390fdfad1a9d687ade1c1685ab3e1c614 (patch) | |
tree | 8c4be5157890277c64455860ff80ff5ca7bb3423 | |
parent | dd38fad9ee2fae3a072ce9b3043f10149f2aaef4 (diff) | |
download | volse-hubzilla-89457c8390fdfad1a9d687ade1c1685ab3e1c614.tar.gz volse-hubzilla-89457c8390fdfad1a9d687ade1c1685ab3e1c614.tar.bz2 volse-hubzilla-89457c8390fdfad1a9d687ade1c1685ab3e1c614.zip |
fix profile edit dropdown for multiple profiles
-rwxr-xr-x | view/tpl/profile_vcard.tpl | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index f51f0719c..0f30e5816 100755 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -7,17 +7,15 @@ {{/if}} {{if ! $zcard}} {{if $editmenu.multi}} - <div class="dropdown"> - <a class="profile-edit-side-link dropdown-toggle" data-toggle="dropdown" href="#" ><i class="fa fa-pencil" title="{{$editmenu.edit.1}}"></i></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}}</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> + <div class="dropdown float-right"> + <a class="dropdown-toggle" data-toggle="dropdown" href="#" ><i class="fa fa-pencil" title="{{$editmenu.edit.1}}"></i></a> + <div class="dropdown-menu dropdown-menu-right" role="menu"> + {{foreach $editmenu.menu.entries as $e}} + <a href="profiles/{{$e.id}}" class="dropdown-item"><img class="menu-img-1" src='{{$e.photo}}'>{{$e.profile_name}}</a> + {{/foreach}} + <a href="profile_photo" class="dropdown-item">{{$editmenu.menu.chg_photo}}</a> + {{if $editmenu.menu.cr_new}}<a href="profiles/new" id="profile-listing-new-link" class="dropdown-item">{{$editmenu.menu.cr_new}}</a>{{/if}} + </div> </div> {{elseif $editmenu}} <a class="profile-edit-side-link" href="{{$editmenu.edit.0}}" ><i class="fa fa-pencil" title="{{$editmenu.edit.1}}"></i></a> |