mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 17:05:43 +01:00
deactivate available plugins in navigation
This commit is contained in:
@@ -145,10 +145,11 @@ class Admin extends React.Component<Props> {
|
|||||||
to={`${url}/plugins/installed/`}
|
to={`${url}/plugins/installed/`}
|
||||||
label={t("plugins.menu.installedNavLink")}
|
label={t("plugins.menu.installedNavLink")}
|
||||||
/>
|
/>
|
||||||
<NavLink
|
{/* Activate this again after available plugins page is created */}
|
||||||
to={`${url}/plugins/available/`}
|
{/*<NavLink*/}
|
||||||
label={t("plugins.menu.availableNavLink")}
|
{/* to={`${url}/plugins/available/`}*/}
|
||||||
/>
|
{/* label={t("plugins.menu.availableNavLink")}*/}
|
||||||
|
{/*/>*/}
|
||||||
</SubNavigation>
|
</SubNavigation>
|
||||||
<NavLink
|
<NavLink
|
||||||
to={`${url}/roles/`}
|
to={`${url}/roles/`}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ public class UIPluginDtoMapper {
|
|||||||
UIPluginDto dto = new UIPluginDto();
|
UIPluginDto dto = new UIPluginDto();
|
||||||
dto.setName(plugin.getPlugin().getInformation().getName());
|
dto.setName(plugin.getPlugin().getInformation().getName());
|
||||||
dto.setBundles(getScriptResources(plugin));
|
dto.setBundles(getScriptResources(plugin));
|
||||||
dto.setType(plugin.getPlugin().getInformation().getCategory() != null ? plugin.getPlugin().getInformation().getCategory() : "No Category defined");
|
dto.setType(plugin.getPlugin().getInformation().getCategory() != null ? plugin.getPlugin().getInformation().getCategory() : "Sonstige/Miscellaneous");
|
||||||
dto.setVersion(plugin.getPlugin().getInformation().getVersion());
|
dto.setVersion(plugin.getPlugin().getInformation().getVersion());
|
||||||
dto.setAuthor(plugin.getPlugin().getInformation().getAuthor());
|
dto.setAuthor(plugin.getPlugin().getInformation().getAuthor());
|
||||||
dto.setDescription(plugin.getPlugin().getInformation().getDescription());
|
dto.setDescription(plugin.getPlugin().getInformation().getDescription());
|
||||||
|
|||||||
Reference in New Issue
Block a user