|
@ -1,6 +1,14 @@ |
|
|
<div class="story-tags"> |
|
|
<div class="story-tags"> |
|
|
<a for(tag in input.tags) href=("/story/by-tag/" + tag.kind + "/" + encodeURIComponent(tag.name)) class=["tag", "color-tag-" + tag.kind.toLowerCase()]>${tag.name}</a> |
|
|
<a for(tag in input.tags) href=("/story/by-tag/" + tag.kind + "/" + encodeURIComponent(tag.name)) class=["tag", "color-tag-" + tag.kind.toLowerCase()]>${tag.name}</a> |
|
|
|
|
|
|
|
|
|
|
|
<if(input.open)> |
|
|
|
|
|
<if-permitted user=input.user permission="member"> |
|
|
|
|
|
<a on-click("select", "edit") class="option color-menu">Manage Tags (Open)</a> |
|
|
|
|
|
</if-permitted> |
|
|
|
|
|
</if> |
|
|
|
|
|
<else> |
|
|
<if-permitted user=input.user author=input.author permission="story.edit"> |
|
|
<if-permitted user=input.user author=input.author permission="story.edit"> |
|
|
<a on-click("select", "edit") class="option color-menu">Manage Tags</a> |
|
|
<a on-click("select", "edit") class="option color-menu">Manage Tags</a> |
|
|
</if-permitted> |
|
|
</if-permitted> |
|
|
|
|
|
</else> |
|
|
</div> |
|
|
</div> |