mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-02 20:07:52 -05:00
18 lines
546 B
Handlebars
18 lines
546 B
Handlebars
{{#if urls}}
|
|
<div class='urls'>
|
|
{{#each url in urls}}
|
|
<div class='url'>
|
|
{{d-button action="removeUrl"
|
|
actionParam=url
|
|
icon="times"
|
|
class="btn-small no-text"}}
|
|
<a href="{{unbound url}}" target="_blank">{{url}}</a>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|
|
|
|
<div class='input'>
|
|
{{text-field value=newUrl placeholderKey="admin.site_settings.add_url"}}
|
|
{{d-button action="addUrl" icon="plus" class="btn-primary btn-small no-text" disabled=urlInvalid}}
|
|
</div>
|