mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-17 02:34:40 +08:00
Follow up to https://github.com/discourse/discourse/pull/33253 Switches to the generic `d-table` class instead of using the admin stylesheet. No visual changes, except the badge/status for the API key. | Before | After | |--------|--------| |  |  |
22 lines
767 B
Text
22 lines
767 B
Text
import { i18n } from "discourse-i18n";
|
|
import AdminPluginsListItem from "./admin-plugins-list-item";
|
|
|
|
const AdminPluginsList = <template>
|
|
<table class="d-table admin-plugins-list">
|
|
<thead class="d-table__header">
|
|
<tr class="d-table__row">
|
|
<th class="d-table__header-cell">{{i18n "admin.plugins.name"}}</th>
|
|
<th class="d-table__header-cell">{{i18n "admin.plugins.version"}}</th>
|
|
<th class="d-table__header-cell">{{i18n "admin.plugins.enabled"}}</th>
|
|
<th class="d-table__header-cell"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="d-table__body">
|
|
{{#each @plugins as |plugin|}}
|
|
<AdminPluginsListItem @plugin={{plugin}} />
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</template>;
|
|
|
|
export default AdminPluginsList;
|