CSS: Alignment of category buttons for admins

This commit is contained in:
Robin Ward 2014-07-01 15:26:40 -04:00
parent 7a739eb373
commit c94cf78291

View File

@ -7,20 +7,20 @@
{{custom-html "extraNavItem"}}
</ul>
{{#if canChangeCategoryNotificationLevel}}
{{view 'category-notifications-button' category=category}}
{{/if}}
{{#if canCreateTopic}}
<button id="create-topic" class='btn btn-default' {{action createTopic}}><i class='fa fa-plus'></i>{{i18n topic.create}}</button>
{{/if}}
{{#if canEditCategory}}
<button class='btn btn-default' {{action editCategory category}}><i class="fa fa-wrench"></i> {{i18n category.edit_long}}</button>
{{/if}}
<section class='category-heading'>
{{#if category.logo_url}}
<img {{bind-attr src=category.logo_url}} class="category-logo">
{{/if}}
{{#if canChangeCategoryNotificationLevel}}
{{view 'category-notifications-button' category=category}}
{{/if}}
{{#if canCreateTopic}}
<button id="create-topic" class='btn btn-default' {{action createTopic}}><i class='fa fa-plus'></i>{{i18n topic.create}}</button>
{{/if}}
{{#if canEditCategory}}
<button class='btn btn-default' {{action editCategory category}}><i class="fa fa-wrench"></i> {{i18n category.edit_long}}</button>
<img {{bind-attr src=category.logo_url}} class="category-logo">
{{/if}}
</section>