added some new components for reply and post buttons for guests

main
Julian Lam 9 years ago
parent 149b25e101
commit 62e1c40fdd

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

@ -22,6 +22,6 @@
<!-- ELSE -->
<!-- IF !privileges.topics:reply -->
<a href="{config.relative_path}/login" class="btn btn-primary">[[topic:guest-login-reply]]</a>
<a component="topic/reply/guest" href="{config.relative_path}/login" class="btn btn-primary">[[topic:guest-login-reply]]</a>
<!-- ENDIF !privileges.topics:reply -->
<!-- ENDIF loggedIn -->

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

Loading…
Cancel
Save