zulip/static/templates/recent_topics_table.hbs

38 lines
1.3 KiB
Handlebars

<div id="recent_topics_filter_buttons" class="btn-group" role="group">
<button data-filter="all" type="button" class="btn btn-default btn-recent-filters">{{t 'All' }}</button>
<button data-filter="unread" type="button" class="btn btn-default btn-recent-filters">
{{#if filter_unread}}
<i class="fa fa-check-square-o"></i>
{{else}}
<i class="fa fa-square-o"></i>
{{/if}}
{{t 'Unread' }}
</button>
<button data-filter="participated" type="button" class="btn btn-default btn-recent-filters">
{{#if filter_participated}}
<i class="fa fa-check-square-o"></i>
{{else}}
<i class="fa fa-square-o"></i>
{{/if}}
{{t 'Participated' }}
</button>
<input type="text" id="recent_topics_search" placeholder="{{t 'Search stream / topic' }}">
</div>
<div class="tableFixHead">
<table class="table table-responsive table-hover">
<thead>
<tr>
<th>{{t 'Unread' }}</th>
<th>{{t 'Stream' }}</th>
<th>{{t 'Topic' }}</th>
<th>{{t 'Actions' }}</th>
<th>{{t 'Participants' }}</th>
<th>{{t 'Last message' }}</th>
</tr>
</thead>
{{#each recent_topics}}
{{> recent_topic_row}}
{{/each}}
</table>
</div>