mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-21 07:35:47 +08:00
template-lint ignores added to workaround bug. Fix is pending release in https://github.com/ember-template-lint/ember-template-lint/pull/3248
23 lines
480 B
Text
Vendored
23 lines
480 B
Text
Vendored
import DModal from "discourse/components/d-modal";
|
|
import { i18n } from "discourse-i18n";
|
|
|
|
const ApiKeyUrls = <template>
|
|
<DModal
|
|
@title={{i18n "admin.api.scopes.allowed_urls"}}
|
|
@closeModal={{@closeModal}}
|
|
>
|
|
<:body>
|
|
<div>
|
|
<ul>
|
|
{{#each @model.urls as |url|}}
|
|
<li>
|
|
<code>{{url}}</code>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
</:body>
|
|
</DModal>
|
|
</template>;
|
|
|
|
export default ApiKeyUrls;
|