only hide the "submit and lock" option from regular users

main
psychobunny 10 years ago
parent db97cb7920
commit 3a148c2916

@ -97,16 +97,16 @@
<button class="btn btn-primary composer-submit" data-action="post" tabindex="6"><i class="fa fa-check"></i> [[topic:composer.submit]]</button> <button class="btn btn-primary composer-submit" data-action="post" tabindex="6"><i class="fa fa-check"></i> [[topic:composer.submit]]</button>
<!-- IF !isEditing --> <!-- IF !isEditing -->
<!-- IF isAdminOrMod -->
<button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown"> <button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span> <span class="caret"></span>
<span class="sr-only">[[modules:composer.toggle_dropdown]]</span> <span class="sr-only">[[modules:composer.toggle_dropdown]]</span>
</button> </button>
<ul class="dropdown-menu pull-right" role="menu"> <ul class="dropdown-menu pull-right" role="menu">
<li><a href="#" data-switch-action="post"><i class="fa fa-fw fa-check"></i> [[topic:composer.submit]]</a></li> <li><a href="#" data-switch-action="post"><i class="fa fa-fw fa-check"></i> [[topic:composer.submit]]</a></li>
<!-- IF isAdminOrMod -->
<li><a href="#" data-switch-action="post-lock"><i class="fa fa-fw fa-lock"></i> [[modules:composer.submit_and_lock]]</a></li> <li><a href="#" data-switch-action="post-lock"><i class="fa fa-fw fa-lock"></i> [[modules:composer.submit_and_lock]]</a></li>
</ul>
<!-- ENDIF isAdminOrMod --> <!-- ENDIF isAdminOrMod -->
</ul>
<!-- ENDIF !isEditing --> <!-- ENDIF !isEditing -->
</div> </div>

Loading…
Cancel
Save