26 lines
977 B
Handlebars
26 lines
977 B
Handlebars
{{#if expanded}}
|
|
<nav id='topic-progress-expanded'>
|
|
{{d-button action="jumpTop"
|
|
disabled=jumpTopDisabled
|
|
class="full no-text"
|
|
icon="caret-up"
|
|
label="topic.progress.go_top"}}
|
|
<div class='jump-form'>
|
|
{{input value=toPostIndex}}
|
|
{{d-button action="jumpPost" label="topic.progress.go"}}
|
|
</div>
|
|
{{d-button action="jumpBottom"
|
|
disabled=jumpBottomDisabled
|
|
class="full no-text jump-bottom"
|
|
icon="caret-down"
|
|
label="topic.progress.go_bottom"}}
|
|
</nav>
|
|
{{/if}}
|
|
<nav id='topic-progress' title="{{i18n 'topic.progress.title'}}" class="{{if hideProgress 'hidden'}}">
|
|
<div class='nums'>
|
|
<h4>{{progressPosition}}</h4><span class="{{if hugeNumberOfPosts 'hidden'}}"> <span>/</span> <h4>{{model.postStream.filteredPostsCount}}</h4></span>
|
|
</div>
|
|
<i class="fa {{unless expanded 'fa-sort'}}"></i>
|
|
<div class='bg'> </div>
|
|
</nav>
|