discourse-chat-integration/assets/javascripts/discourse/templates/admin/plugins-chat.hbs

27 lines
659 B
Handlebars

<div id="admin-plugin-chat">
<div class="admin-controls">
<div class="span15">
<ul class="nav nav-pills">
{{#each model as |provider|}}
{{nav-item route='adminPlugins.chat.provider' routeParam=provider.name label=(concat 'chat_integration.provider.' provider.name '.title')}}
{{/each}}
</ul>
</div>
<div class="pull-right">
{{#d-button
action="showSettings"
icon="gear"
title="chat_integration.settings"
label="chat_integration.settings"}}
{{/d-button}}
</div>
</div>
{{#if model.totalRows}}
{{else}}
{{i18n "chat_integration.no_providers"}}
{{/if}}
{{outlet}}
</div>