updated user navigation

This commit is contained in:
Florian Scholdei
2019-01-18 09:51:27 +01:00
parent 68302fef92
commit af164d31f4
4 changed files with 8 additions and 18 deletions

View File

@@ -109,10 +109,10 @@ class SingleUser extends React.Component<Props> {
</div>
<div className="column">
<Navigation>
<Section label={t("single-user.navigation-label")}>
<Section label={t("single-user.navigationLabel")}>
<NavLink
to={`${url}`}
label={t("single-user.information-label")}
label={t("single-user.informationNavLink")}
/>
<EditUserNavLink user={user} editUrl={`${url}/edit`} />
<SetPasswordNavLink
@@ -120,10 +120,6 @@ class SingleUser extends React.Component<Props> {
passwordUrl={`${url}/password`}
/>
</Section>
<Section label={t("single-user.actions-label")}>
<DeleteUserNavLink user={user} deleteUser={this.deleteUser} />
<NavLink to="/users" label={t("single-user.back-label")} />
</Section>
</Navigation>
</div>
</div>