{{i18n 'admin.permalink.title'}}
{{text-field value=filter class="url-input" placeholderKey="admin.permalink.form.filter" autocorrect="off" autocapitalize="off"}}
{{permalink-form action="recordAdded"}}
{{#conditional-loading-spinner condition=loading}}
{{#if model.length}}
{{i18n 'admin.permalink.url'}} |
{{i18n 'admin.permalink.topic_title'}} |
{{i18n 'admin.permalink.post_title'}} |
{{i18n 'admin.permalink.category_title'}} |
{{i18n 'admin.permalink.external_url'}} |
|
{{#each model as |pl|}}
{{pl.url}} |
{{#if pl.topic_id}}
{{pl.topic_title}}
{{/if}}
|
{{#if pl.post_id}}
#{{pl.post_number}} {{pl.post_topic_title}}
{{/if}}
|
{{#if pl.category_id}}
{{pl.category_name}}
{{/if}}
|
{{#if pl.external_url}}
{{pl.external_url}}
{{/if}}
|
{{d-button action="destroy" actionParam=pl icon="trash-o" class="btn-danger"}}
|
{{/each}}
{{else}}
{{i18n 'search.no_results'}}
{{/if}}
{{/conditional-loading-spinner}}