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> <button id="new_topic" class="btn btn-primary">[[category:new_topic_button]]</button>
<!-- ELSE --> <!-- ELSE -->
<!-- IF !loggedIn --> <!-- 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 !loggedIn -->
<!-- ENDIF privileges.topics:create --> <!-- ENDIF privileges.topics:create -->

@ -22,6 +22,6 @@
<!-- ELSE --> <!-- ELSE -->
<!-- IF !privileges.topics:reply --> <!-- 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 !privileges.topics:reply -->
<!-- ENDIF loggedIn --> <!-- ENDIF loggedIn -->

@ -8,7 +8,7 @@
<!-- IF loggedIn --> <!-- IF loggedIn -->
<button id="new_topic" class="btn btn-primary">[[category:new_topic_button]]</button> <button id="new_topic" class="btn btn-primary">[[category:new_topic_button]]</button>
<!-- ELSE --> <!-- 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 --> <!-- ENDIF loggedIn -->
</div> </div>
</div> </div>

Loading…
Cancel
Save