mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Merge pull request #1175 from adrianlang/correctMakeVisibleButtonCaption
Correct caption of 'Make Visible' button
This commit is contained in:
commit
a55b24996e
@ -7,15 +7,15 @@
|
|||||||
@module Discourse
|
@module Discourse
|
||||||
**/
|
**/
|
||||||
Discourse.TopicAdminMenuController = Discourse.ObjectController.extend({
|
Discourse.TopicAdminMenuController = Discourse.ObjectController.extend({
|
||||||
visible: false,
|
menuVisible: false,
|
||||||
needs: ['modal'],
|
needs: ['modal'],
|
||||||
|
|
||||||
show: function() {
|
show: function() {
|
||||||
this.set('visible', true);
|
this.set('menuVisible', true);
|
||||||
},
|
},
|
||||||
|
|
||||||
hide: function() {
|
hide: function() {
|
||||||
this.set('visible', false);
|
this.set('menuVisible', false);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{{#if visible}}
|
{{#if menuVisible}}
|
||||||
<div class="topic-admin-menu">
|
<div class="topic-admin-menu">
|
||||||
<h3>{{i18n admin_title}}</h3>
|
<h3>{{i18n admin_title}}</h3>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user