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.
13 lines
766 B
13 lines
766 B
<menu user=input.user>
|
|
<if-permitted user=input.user permission="post.add">
|
|
<menu-header>Log</menu-header>
|
|
<menu-link dark key="_create" on-click("select", "post.add", null) icon="+">Add Post</menu-link>
|
|
<menu-gap />
|
|
</if-permitted>
|
|
<menu-header>Links</menu-header>
|
|
<menu-link href=("/logs/?channels="+encodeURIComponent(input.log.channel.name)) icon="#">${input.log.channel.name}</menu-link>
|
|
<menu-link if(input.log.channel.eventName) href=("/logs/?channels="+input.log.channel.eventName) icon="E">${input.log.channel.eventName}</menu-link>
|
|
<for(character in input.log.characters)>
|
|
<menu-link href=("/logs/?characters="+character.id) icon="C">${character.name} <span class="weak">(${character.author})</span></menu-link>
|
|
</for>
|
|
</menu>
|