mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 15:05:24 +08:00
CSS: Alignment of category buttons for admins
This commit is contained in:
parent
7a739eb373
commit
c94cf78291
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user