mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
* UX: Apply admin table classes for consistent mobile styling on custom flags * UX: Apply admin table classes for consistent mobile styling on custom flags * UX: Apply admin table classes for consistent mobile styling on backups * UX: Apply admin table classes for consistent mobile styling on plugins list * DEV: tweaks on admin table * UX: Apply admin table classes for consistent mobile styling on chat plugin * apply prettier * apply lint * DEV: removed commented out code * DEV: removed unnecessary div element * scroll to the element * remove the workaround * revert * add an extra assertion * add enabled check * improve switching * rm --------- Co-authored-by: Jarek Radosz <jradosz@gmail.com>
23 lines
601 B
Plaintext
23 lines
601 B
Plaintext
import i18n from "discourse-common/helpers/i18n";
|
|
import AdminPluginsListItem from "./admin-plugins-list-item";
|
|
|
|
const AdminPluginsList = <template>
|
|
<table class="d-admin-table admin-plugins-list">
|
|
<thead>
|
|
<tr>
|
|
<th>{{i18n "admin.plugins.name"}}</th>
|
|
<th>{{i18n "admin.plugins.version"}}</th>
|
|
<th>{{i18n "admin.plugins.enabled"}}</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{#each @plugins as |plugin|}}
|
|
<AdminPluginsListItem @plugin={{plugin}} />
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</template>;
|
|
|
|
export default AdminPluginsList;
|