progress bar icon changes from Kris

https://meta.discourse.org/t/expandable-topic-progress-bar/16373/10?u=codinghorror
This commit is contained in:
Jeff Atwood 2014-06-17 21:41:31 -07:00
parent dc0266cc22
commit 68809ba1b4
2 changed files with 3 additions and 3 deletions

View File

@ -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() {

View File

@ -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}}