|
|
@ -1,6 +1,14 @@ |
|
|
|
<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> |
|
|
|
|
|
|
|
<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"> |
|
|
|
<a on-click("select", "edit") class="option color-menu">Manage Tags</a> |
|
|
|
</if-permitted> |
|
|
|
</else> |
|
|
|
</div> |