mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
ba0cec2091
- adds a link to search log - display a text if log search queries is disabled - adds link to trust level and user types - adds a description for eeach report when browsing a report directly
33 lines
734 B
Handlebars
33 lines
734 B
Handlebars
{{#conditional-loading-section isLoading=isLoading title=report.title}}
|
|
<div class="table-title">
|
|
<h3>{{report.title}}</h3>
|
|
|
|
{{#if help}}
|
|
<a href="{{helpPage}}">{{i18n help}}</a>
|
|
{{/if}}
|
|
</div>
|
|
|
|
<div class="table-container">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
{{#each labels as |label|}}
|
|
<th>{{label}}</th>
|
|
{{/each}}
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
{{#unless hasBlock}}
|
|
{{#each values as |value|}}
|
|
<td>{{number value}}</td>
|
|
{{/each}}
|
|
{{else}}
|
|
{{yield (hash report=report)}}
|
|
{{/unless}}
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{/conditional-loading-section}}
|