progress bar icon changes from Kris
https://meta.discourse.org/t/expandable-topic-progress-bar/16373/10?u=codinghorror
This commit is contained in:
parent
dc0266cc22
commit
68809ba1b4
|
@ -41,7 +41,7 @@ export default Ember.ObjectController.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
chevronClass: function() {
|
chevronClass: function() {
|
||||||
return this.get('expanded') ? 'fa-chevron-down' : 'fa-chevron-up';
|
return this.get('expanded') ? 'fa-chevron-down' : 'fa-sort';
|
||||||
}.property('expanded'),
|
}.property('expanded'),
|
||||||
|
|
||||||
streamPercentage: function() {
|
streamPercentage: function() {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{#if expanded}}
|
{{#if expanded}}
|
||||||
<nav id='topic-progress-expanded'>
|
<nav id='topic-progress-expanded'>
|
||||||
<button {{action jumpTop}} {{bind-attr disabled=jumpTopDisabled}} class='btn full'>
|
<button {{action jumpTop}} {{bind-attr disabled=jumpTopDisabled}} class='btn full'>
|
||||||
<i class="fa fa-arrow-circle-up"></i>
|
<i class="fa fa-caret-up"></i>
|
||||||
{{i18n topic.progress.go_top}}
|
{{i18n topic.progress.go_top}}
|
||||||
</button>
|
</button>
|
||||||
<div class='jump-form'>
|
<div class='jump-form'>
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
</div>
|
</div>
|
||||||
<button {{action jumpBottom}} {{bind-attr disabled=jumpBottomDisabled}} class='btn full jump-bottom'>
|
<button {{action jumpBottom}} {{bind-attr disabled=jumpBottomDisabled}} class='btn full jump-bottom'>
|
||||||
{{i18n topic.progress.go_bottom}}
|
{{i18n topic.progress.go_bottom}}
|
||||||
<i class="fa fa-arrow-circle-down"></i>
|
<i class="fa fa-caret-down"></i>
|
||||||
</button>
|
</button>
|
||||||
</nav>
|
</nav>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Reference in New Issue