diff options
author | Mario <mario@mariovavti.com> | 2022-01-12 13:09:53 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-01-12 13:09:53 +0000 |
commit | f4046efcb2ea7cfba5bb57c0fe8e8900bdd871b0 (patch) | |
tree | 6652f07e192078b69b47e29befb569881a6104c2 /view/tpl/profile_vcard.tpl | |
parent | fc1d3831cfa65cf10330204b417ac89b724cfc51 (diff) | |
download | volse-hubzilla-f4046efcb2ea7cfba5bb57c0fe8e8900bdd871b0.tar.gz volse-hubzilla-f4046efcb2ea7cfba5bb57c0fe8e8900bdd871b0.tar.bz2 volse-hubzilla-f4046efcb2ea7cfba5bb57c0fe8e8900bdd871b0.zip |
refactor mod profile_photo
Diffstat (limited to 'view/tpl/profile_vcard.tpl')
-rw-r--r-- | view/tpl/profile_vcard.tpl | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index 9002d3742..3da580f60 100644 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -1,16 +1,10 @@ <div class="rounded mb-3 vcard-card h-card"> <div class="card mb-2"> <div class="row"> - <div class="col-4" style="width: 7rem;"> - {{if $editmenu}} - <a href="profile_photo" title="{{$change_photo}}"> - {{/if}} - <div id="profile-photo-wrapper"> - <img class="rounded-start u-photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.fullname}}" style="width: 6rem; height:6rem;"> - </div> - {{if $editmenu}} - </a> - {{/if}} + <div class="col-4" style="width: fit-content;"> + <div id="profile-photo-wrapper"> + <img class="rounded-start u-photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.fullname}}" style="width: 6rem; height:6rem;"> + </div> </div> <div class="col-7 m-1 p-0"> {{if $editmenu.multi}} @@ -20,7 +14,6 @@ {{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}} |