From: Divyansh Sharma Date: Fri, 4 Jan 2019 15:35:41 +0000 (+0530) Subject: Bug 1516188 - Redesigned the logic of rowspan of image X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=72908c8eede202e9594bab338c11278352813a44;p=thirdparty%2Fbugzilla.git Bug 1516188 - Redesigned the logic of rowspan of image --- diff --git a/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl b/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl index e14a4e550..0947bf0b2 100644 --- a/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl +++ b/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl @@ -46,8 +46,10 @@ [% END %] - [% offset = user.id == target.id ? 2 : 0 %] - + [% permissions_offset = target.in_group("canconfirm") == 1 ? 1 : 0 %] + [% creation_offset = target.can('creation_ts') == 1 ? 1 : 0 %] + [% edit_preferences_offset = user.id ? 1 : 0 %] + [% IF user.gravatar %]
[% IF target.id == user.id %]