diff --git a/app/Resources/public/css/base.css b/app/Resources/public/css/base.css index 1e13bc464a..1d1d920f5a 100644 --- a/app/Resources/public/css/base.css +++ b/app/Resources/public/css/base.css @@ -4761,6 +4761,12 @@ i.size-32.icon-new-work { text-align: center; } +#sn-avatar .btn-social-edit{ + position: absolute; + top: 5px; + right: 25px; +} + .social-profile .expand-image { display: inline-block; } diff --git a/main/img/icons/svg/edit.svg b/main/img/icons/svg/edit.svg index 165b9cfdb7..25885c67f0 100644 --- a/main/img/icons/svg/edit.svg +++ b/main/img/icons/svg/edit.svg @@ -23,19 +23,184 @@ sodipodi:version="0.32" sodipodi:docname="edit.svg" version="1.1" - inkscape:version="0.91 r13725">begin='' id='W5M0MpCehiHzreSzNTczkc9d' image/svg+xmlend='w' \ No newline at end of file diff --git a/main/template/default/social/user_block.tpl b/main/template/default/social/user_block.tpl index a158e6c6d4..d28e6154b9 100644 --- a/main/template/default/social/user_block.tpl +++ b/main/template/default/social/user_block.tpl @@ -7,6 +7,13 @@ href="#sn-avatar-one" aria-expanded="true" aria-controls="sn-avatar-one"> {{ "Profile" | get_lang }} + {% if _u.is_admin == 1 %} + + + + + + {% endif %} @@ -68,18 +75,12 @@ {{ user.complete_name }} - {% if _u.is_admin == 1 %} - - - - - - {% endif %} + {% if show_full_profile %} {% if user.email %} - + {{ "sn-message.png"|img(22, "Email" | get_lang) }} {{ user.email }} @@ -88,8 +89,8 @@ {% if vcard_user_link %} - - {{ "BusinessCard" | get_lang }} + {{ "vcard.png"|img(22, "BusinessCard" | get_lang) }} + {{ "BusinessCard" | get_lang }} {% endif %}