Display plugin name on market and manage page
This commit is contained in:
parent
6a3e567010
commit
971f2142d4
@ -19,7 +19,7 @@ const marketTableColumnDefs = [
|
||||
targets: 0,
|
||||
title: trans('admin.pluginTitle'),
|
||||
data: 'title',
|
||||
render: title => `<strong>${ title }</strong>`
|
||||
render: (title, type, row) => `<strong>${ title }</strong><div class="plugin-name">${ row.name }</div>`
|
||||
},
|
||||
{
|
||||
targets: 1,
|
||||
|
@ -51,7 +51,8 @@ const pluginsTableColumnDefs = [
|
||||
<div class="plugin-description"><p>${ description }</p></div>
|
||||
<div class="plugin-version-author">
|
||||
${ trans('admin.pluginVersion') } <span class="text-primary">${ row.version }</span> |
|
||||
${ trans('admin.pluginAuthor') } <a href="${ row.url }">${ row.author }</a>
|
||||
${ trans('admin.pluginAuthor') } <a href="${ row.url }">${ row.author }</a> |
|
||||
${ trans('admin.pluginName') } <span>${ row.name }</span>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
@ -87,4 +87,9 @@ td {
|
||||
td:first-child {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.plugin-name {
|
||||
color: #777;
|
||||
font-size: small;
|
||||
}
|
||||
}
|
||||
|
@ -181,6 +181,7 @@
|
||||
pluginTitle: 'Plugin',
|
||||
pluginAuthor: 'Author',
|
||||
pluginVersion: 'Version',
|
||||
pluginName: 'Name',
|
||||
pluginOperations: 'Operations',
|
||||
pluginDescription: 'Description',
|
||||
pluginDependencies: 'Dependencies',
|
||||
|
@ -183,6 +183,7 @@
|
||||
pluginTitle: '插件',
|
||||
pluginAuthor: '作者',
|
||||
pluginVersion: '版本',
|
||||
pluginName: '插件标识',
|
||||
pluginOperations: '操作',
|
||||
pluginDescription: '描述',
|
||||
pluginDependencies: '依赖关系',
|
||||
|
Loading…
Reference in New Issue
Block a user