Groupname.html 1.34 KB
Newer Older
1
<span id="g_{pageId}">
2 3 4 5 6
    <a
        class="ug_selector changegroup"
        data-page="{pageId}"
        data-group-id="{groupId}"
        data-groupname="{groupname}"
7
        title="{groupname}"
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
    >
        <f:if condition="{groupId} == 0">
            <f:then>
                <f:comment>
                    No group set -> [not set]
                </f:comment>
                <span class="not_set">
                    [<f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:notSet" />]
                </span>
            </f:then>
            <f:else>
                <f:if condition="{groupname}">
                    <f:then>
                        <f:comment>
                            A group name can be resolved
                        </f:comment>
24
                        {groupname}
25 26 27 28 29 30 31 32 33 34 35 36 37
                    </f:then>
                    <f:else>
                        <f:comment>
                            Group was deleted -> [deleted]
                        </f:comment>
                        <span class="not_set" title="{groupId}">
                            [<f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:deleted" />]
                        </span>
                    </f:else>
                </f:if>
            </f:else>
        </f:if>
    </a>
38
</span>