mirror of
https://github.com/discourse/discourse.git
synced 2025-06-21 20:21:54 +08:00
CSS: Alignment of category buttons for admins
This commit is contained in:
@ -7,11 +7,6 @@
|
|||||||
{{custom-html "extraNavItem"}}
|
{{custom-html "extraNavItem"}}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<section class='category-heading'>
|
|
||||||
{{#if category.logo_url}}
|
|
||||||
<img {{bind-attr src=category.logo_url}} class="category-logo">
|
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
{{#if canChangeCategoryNotificationLevel}}
|
{{#if canChangeCategoryNotificationLevel}}
|
||||||
{{view 'category-notifications-button' category=category}}
|
{{view 'category-notifications-button' category=category}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
@ -23,4 +18,9 @@
|
|||||||
{{#if canEditCategory}}
|
{{#if canEditCategory}}
|
||||||
<button class='btn btn-default' {{action editCategory category}}><i class="fa fa-wrench"></i> {{i18n category.edit_long}}</button>
|
<button class='btn btn-default' {{action editCategory category}}><i class="fa fa-wrench"></i> {{i18n category.edit_long}}</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
<section class='category-heading'>
|
||||||
|
{{#if category.logo_url}}
|
||||||
|
<img {{bind-attr src=category.logo_url}} class="category-logo">
|
||||||
|
{{/if}}
|
||||||
</section>
|
</section>
|
||||||
|
Reference in New Issue
Block a user