mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 20:34:52 +00:00
* Remove checkmark for official plugins * Add author for plugin, which is By Discourse for all discourse and discourse-org github plugins * Link to meta topic instead of github repo * Add experimental flag for plugin metadata and show this as a badge on the plugin list if present --------- Co-authored-by: chapoi <101828855+chapoi@users.noreply.github.com>
24 lines
670 B
JavaScript
24 lines
670 B
JavaScript
import Component from "@glimmer/component";
|
|
import i18n from "discourse-common/helpers/i18n";
|
|
import AdminPluginsListItem from "./admin-plugins-list-item";
|
|
|
|
export default class AdminPluginsList extends Component {
|
|
<template>
|
|
<table class="admin-plugins-list grid">
|
|
<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>
|
|
}
|