mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 05:33:37 +08:00
UX: mobile watched words UI in admin needs a way to see all word lists
This commit is contained in:
parent
3c8369def6
commit
fdce116838
|
@ -46,6 +46,10 @@ export default Ember.Controller.extend({
|
||||||
actions: {
|
actions: {
|
||||||
clearFilter() {
|
clearFilter() {
|
||||||
this.setProperties({ filter: '' });
|
this.setProperties({ filter: '' });
|
||||||
|
},
|
||||||
|
|
||||||
|
toggleMenu() {
|
||||||
|
$('.admin-detail').toggleClass('mobile-closed mobile-open');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<div class='admin-controls'>
|
<div class='admin-controls'>
|
||||||
<div class='controls'>
|
<div class='controls'>
|
||||||
|
{{d-button action="toggleMenu" class="menu-toggle" icon="bars"}}
|
||||||
{{text-field value=filter placeholderKey="admin.watched_words.search" class="no-blur"}}
|
{{text-field value=filter placeholderKey="admin.watched_words.search" class="no-blur"}}
|
||||||
{{d-button action="clearFilter" label="admin.watched_words.clear_filter"}}
|
{{d-button action="clearFilter" label="admin.watched_words.clear_filter"}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user