zulip/web/templates/settings/admin_linkifier_list.hbs

21 lines
698 B
Handlebars
Raw Normal View History

{{#with linkifier}}
<tr class="linkifier_row">
<td>
<span class="linkifier_pattern">{{pattern}}</span>
</td>
<td>
<span class="linkifier_url_template">{{url_template}}</span>
</td>
{{#if ../can_modify}}
<td class="no-select actions">
<button class="button small edit btn-warning" data-linkifier-id="{{id}}" title="{{t 'Edit' }}" aria-label="{{t 'Edit' }}">
<i class="fa fa-pencil"></i>
</button>
<button class="button small delete btn-danger" data-linkifier-id="{{id}}" title="{{t 'Delete' }}" aria-label="{{t 'Delete' }}">
<i class="fa fa-trash-o"></i>
</button>
</td>
{{/if}}
</tr>
{{/with}}