added moderator-tools (that was surprisingly easy)

main
psychobunny 10 years ago
parent cfa54fb520
commit dcf44afb20

@ -69,6 +69,17 @@
margin-top: -43px;
margin-left: 61px;
}
.moderator-tools {
text-transform: lowercase;
:before {
content: "\2022\0020";
}
a {
.pointer;
}
}
}

@ -19,6 +19,18 @@
<!-- IF posts.editor.username -->
<span>| [[global:last_edited_by_ago, <strong><a href="{relative_path}/user/{posts.editor.userslug}">{posts.editor.username}</a></strong>, <span class="timeago" title="{posts.relativeEditTime}"></span>]]</span>
<!-- ENDIF posts.editor.username -->
<!-- IF posts.display_moderator_tools -->
<span class="moderator-tools">
<a component="post/edit">[[topic:edit]]</a>
<a component="post/delete">[[topic:delete]]</a>
<a component="post/purge" class="<!-- IF !posts.deleted -->hidden<!-- ENDIF !posts.deleted -->">[[topic:purge]]</a>
<!-- IF posts.display_move_tools -->
<a component="post/move">[[topic:move]]</a>
<!-- ENDIF posts.display_move_tools -->
</span>
<!-- ENDIF posts.display_moderator_tools -->
</small>
</div>

Loading…
Cancel
Save