mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-16 10:16:16 +01:00
updated group navigation
This commit is contained in:
@@ -12,12 +12,10 @@
|
|||||||
"subtitle": "Create, read, update and delete groups"
|
"subtitle": "Create, read, update and delete groups"
|
||||||
},
|
},
|
||||||
"single-group": {
|
"single-group": {
|
||||||
"error-title": "Error",
|
"navigationLabel": "Group Navigation",
|
||||||
"error-subtitle": "Unknown group error",
|
"informationNavLink": "Information",
|
||||||
"navigation-label": "Navigation",
|
"errorTitle": "Error",
|
||||||
"actions-label": "Actions",
|
"errorSubtitle": "Unknown group error"
|
||||||
"information-label": "Information",
|
|
||||||
"back-label": "Back"
|
|
||||||
},
|
},
|
||||||
"add-group": {
|
"add-group": {
|
||||||
"title": "Create Group",
|
"title": "Create Group",
|
||||||
|
|||||||
@@ -75,8 +75,8 @@ class SingleGroup extends React.Component<Props> {
|
|||||||
if (error) {
|
if (error) {
|
||||||
return (
|
return (
|
||||||
<ErrorPage
|
<ErrorPage
|
||||||
title={t("single-group.error-title")}
|
title={t("single-group.errorTitle")}
|
||||||
subtitle={t("single-group.error-subtitle")}
|
subtitle={t("single-group.errorSubtitle")}
|
||||||
error={error}
|
error={error}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
@@ -105,20 +105,12 @@ class SingleGroup extends React.Component<Props> {
|
|||||||
</div>
|
</div>
|
||||||
<div className="column">
|
<div className="column">
|
||||||
<Navigation>
|
<Navigation>
|
||||||
<Section label={t("single-group.navigation-label")}>
|
<Section label={t("single-group.navigationLabel")}>
|
||||||
<NavLink
|
<NavLink
|
||||||
to={`${url}`}
|
to={`${url}`}
|
||||||
label={t("single-group.information-label")}
|
label={t("single-group.informationNavLink")}
|
||||||
/>
|
/>
|
||||||
</Section>
|
</Section>
|
||||||
<Section label={t("single-group.actions-label")}>
|
|
||||||
<DeleteGroupNavLink
|
|
||||||
group={group}
|
|
||||||
deleteGroup={this.deleteGroup}
|
|
||||||
/>
|
|
||||||
<EditGroupNavLink group={group} editUrl={`${url}/edit`} />
|
|
||||||
<NavLink to="/groups" label={t("single-group.back-label")} />
|
|
||||||
</Section>
|
|
||||||
</Navigation>
|
</Navigation>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user