discourse-data-explorer/assets/javascripts/discourse/templates/group-reports-index.hbs

31 lines
707 B
Handlebars
Raw Normal View History

<section class="user-content">
<table class="group-reports">
<thead>
<th>
{{i18n "explorer.report_name"}}
</th>
<th>
{{i18n "explorer.query_description"}}
</th>
<th>
{{i18n "explorer.query_time"}}
</th>
</thead>
<tbody>
{{#each queries as |query|}}
<tr>
<td>
{{#link-to "group.reports.show" group.name query.id}}{{query.name}}{{/link-to}}
</td>
<td>{{query.description}}</td>
<td>
{{#if query.last_run_at}}
{{bound-date query.last_run_at}}
{{/if}}
</td>
</tr>
{{/each}}
</tbody>
</table>
</section>