mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
add url field for plugins' package.json
This commit is contained in:
parent
3fcb991ac7
commit
ad159c7f20
@ -81,6 +81,9 @@ class PluginController extends Controller
|
||||
->editColumn('description', function ($plugin) {
|
||||
return trans($plugin->description);
|
||||
})
|
||||
->editColumn('author', function ($plugin) {
|
||||
return "<a href='{$plugin->url}' target='_blank'>".trans($plugin->author)."</a>";
|
||||
})
|
||||
->addColumn('status', function ($plugin) {
|
||||
return trans('admin.plugins.status.'.($plugin->isEnabled() ? 'enabled' : 'disabled'));
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user