renamed post/guest component to category/post/guest, added another component for category/post

main
Julian Lam 9 years ago
parent 62e1c40fdd
commit f07aa874e0

@ -8,10 +8,10 @@
<div class="clearfix">
<!-- IF privileges.topics:create -->
<button id="new_topic" class="btn btn-primary">[[category:new_topic_button]]</button>
<button component="category/post" id="new_topic" class="btn btn-primary">[[category:new_topic_button]]</button>
<!-- ELSE -->
<!-- IF !loggedIn -->
<a component="post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
<a component="category/post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
<!-- ENDIF !loggedIn -->
<!-- ENDIF privileges.topics:create -->

@ -6,9 +6,9 @@
</div>
<div class="pull-right">
<!-- IF loggedIn -->
<button id="new_topic" class="btn btn-primary">[[category:new_topic_button]]</button>
<button component="category/post" id="new_topic" class="btn btn-primary">[[category:new_topic_button]]</button>
<!-- ELSE -->
<a component="post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
<a component="category/post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
<!-- ENDIF loggedIn -->
</div>
</div>

Loading…
Cancel
Save