mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 03:06:53 +08:00
Add title tag to the admin options button in the composer
This commit is contained in:
@ -37,7 +37,7 @@
|
|||||||
<button class='btn' {{action showOptions target="controller"}}>{{i18n topic.options}}</button>
|
<button class='btn' {{action showOptions target="controller"}}>{{i18n topic.options}}</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if content.showAdminOptions}}
|
{{#if content.showAdminOptions}}
|
||||||
<button class="btn no-text" {{action toggleAdminOptions target="view"}}><i class="icon icon-wrench"></i></button>
|
<button {{action toggleAdminOptions target="view"}} class="btn no-text" title='{{i18n composer.admin_options_title}}'><i class="icon icon-wrench"></i></button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
</div>
|
</div>
|
||||||
|
@ -383,6 +383,7 @@ en:
|
|||||||
help: "Markdown Editing Help"
|
help: "Markdown Editing Help"
|
||||||
toggler: "hide or show the composer panel"
|
toggler: "hide or show the composer panel"
|
||||||
|
|
||||||
|
admin_options_title: "Optional staff settings for this topic"
|
||||||
auto_close_label: "Auto-close topic after:"
|
auto_close_label: "Auto-close topic after:"
|
||||||
auto_close_units: "days"
|
auto_close_units: "days"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user