|
@ -3,7 +3,6 @@ |
|
|
<menu-link key="characters" selected=input.selected.characters icon="C" href="/data/characters/">Characters</menu-link> |
|
|
<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="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> |
|
|
<menu-link key="history" selected=input.selected.changes icon="H" href="/data/changes/">History</menu-link> |
|
|
<menu-link key="files" selected=input.selected.files icon="F" href="/data/files/">Files</menu-link> |
|
|
|
|
|
<if-permitted user=input.user permission=["member", "character.add", "channel.add", "file.add"]> |
|
|
<if-permitted user=input.user permission=["member", "character.add", "channel.add", "file.add"]> |
|
|
<menu-gap /> |
|
|
<menu-gap /> |
|
|
<menu-header>Add</menu-header> |
|
|
<menu-header>Add</menu-header> |
|
@ -13,8 +12,5 @@ |
|
|
<if-permitted key="channels_add" user=input.user permission="channel.add"> |
|
|
<if-permitted key="channels_add" user=input.user permission="channel.add"> |
|
|
<menu-link dark icon="+" on-click("emit", "open", "channel.add")>Channel</menu-link> |
|
|
<menu-link dark icon="+" on-click("emit", "open", "channel.add")>Channel</menu-link> |
|
|
</if-permitted> |
|
|
</if-permitted> |
|
|
<if-permitted key="files_add" user=input.user permission=["file.add", "member"]> |
|
|
|
|
|
<menu-link dark icon="+" on-click("emit", "open", "file.add")>File</menu-link> |
|
|
|
|
|
</if-permitted> |
|
|
|
|
|
</if-permitted> |
|
|
</if-permitted> |
|
|
</menu> |
|
|
</menu> |