]> git.agnieray.net Git - galette.git/commitdiff
Show groupmanager status in ajax members list
authorGuillaume AGNIERAY <dev@agnieray.net>
Thu, 28 Sep 2023 15:40:37 +0000 (17:40 +0200)
committerGuillaume AGNIERAY <dev@agnieray.net>
Thu, 28 Sep 2023 15:40:37 +0000 (17:40 +0200)
galette/templates/default/elements/ajax_members.html.twig

index a55f0205197e144970245914b7b0c4b8489e4f0e..abfdca4cd6d0376c2996fc88504f87094f19f97e 100644 (file)
                         </span>
                     {% elseif member.isStaff() %}
                         <span>
-                            <i class="ui id card alternate orange icon tooltip"></i>
+                            <i class="ui user tie orange icon tooltip"></i>
                             <span class="ui special popup">{{ _T("Staff member") }}</span>
                         </span>
+                    {% 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 %}