You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
979 B
16 lines
979 B
<menu user=input.user>
|
|
<menu-header>List</menu-header>
|
|
<menu-link key="characters" selected=input.selected.characters icon="C" href="/data/characters/">Characters</menu-link>
|
|
<menu-link key="channels" selected=input.selected.channels icon="#" href="/data/channels/">Channels</menu-link>
|
|
<menu-link key="history" selected=input.selected.changes icon="H" href="/data/changes/">History</menu-link>
|
|
<if-permitted user=input.user permission=["member", "character.add", "channel.add", "file.add"]>
|
|
<menu-gap />
|
|
<menu-header>Add</menu-header>
|
|
<if-permitted key="characters_add" user=input.user permission=["character.add", "member"]>
|
|
<menu-link dark icon="+" on-click("emit", "open", "character.add")>Character</menu-link>
|
|
</if-permitted>
|
|
<if-permitted key="channels_add" user=input.user permission="channel.add">
|
|
<menu-link dark icon="+" on-click("emit", "open", "channel.add")>Channel</menu-link>
|
|
</if-permitted>
|
|
</if-permitted>
|
|
</menu>
|