]> git.agnieray.net Git - galette.git/commitdiff
Show groupmanager status in members list
authorGuillaume AGNIERAY <dev@agnieray.net>
Thu, 28 Sep 2023 11:07:53 +0000 (13:07 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Thu, 28 Sep 2023 12:46:51 +0000 (14:46 +0200)
galette/templates/default/pages/members_list.html.twig
ui/semantic/galette/globals/site.overrides

index f052112d6182cdb963490ce73c744433653bf35b..64f0e6b4665c2282b59b09d8ed29e63d33ad6125 100644 (file)
                             <td class="back">{{ _T('Admin') }}</td>
                             <th><i class="ui id card alternate orange icon"></i></th>
                             <td class="back">{{ _T('Staff member') }}</td>
+                        </tr>
+                        <tr>
+                            <th><i class="ui users cog orange icon"></i></th>
+                            <td class="back">{{ _T('Group manager') }}</td>
 
                         </tr>
                     </tbody>
                                 <i class="ui id card alternate orange icon tooltip" aria-hidden="true"></i>
                                 <span class="ui special popup">{{ _T('Staff member') }}</span>
                             </span>
-                {# TODO: display for group managers #}
+            {% elseif member.getManagedGroups() %}
+                            <span>
+                                <i class="ui users cog orange icon tooltip" aria-hidden="true"></i>
+                                <span class="ui special popup">{{ _T('Group manager') }}</span>
+                            </span>
             {% else %}
                             <i class="ui icon"></i>
             {% endif %}
index 1e4f60a9ece4e512292c00d9e9c0ba152c2f40a4..39e53fa147cafab56585e47b677e114b888c959d 100644 (file)
@@ -260,7 +260,7 @@ ul.leaders span + span {
   width: auto;
   display: inline-block;
   margin-right: .25rem;
-  box-shadow: none;
+  box-shadow: none !important;
 }
 
 /*---------------------------------