mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-01 11:05:56 +01:00
added more navicons
This commit is contained in:
@@ -15,7 +15,7 @@ class EditNavLink extends React.Component<Props> {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
const { editUrl, t } = this.props;
|
const { editUrl, t } = this.props;
|
||||||
return <NavLink to={editUrl} label={t("edit-nav-link.label")} />;
|
return <NavLink to={editUrl} icon="fas fa-cog" label={t("edit-nav-link.label")} />;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ class PermissionsNavLink extends React.Component<Props> {
|
|||||||
}
|
}
|
||||||
const { permissionUrl, t } = this.props;
|
const { permissionUrl, t } = this.props;
|
||||||
return (
|
return (
|
||||||
<NavLink to={permissionUrl} label={t("repository-root.permissions")} />
|
<NavLink icon="fas fa-lock" to={permissionUrl} label={t("repository-root.permissions")} />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -182,11 +182,12 @@ class RepositoryRoot extends React.Component<Props> {
|
|||||||
<div className="column">
|
<div className="column">
|
||||||
<Navigation>
|
<Navigation>
|
||||||
<Section label={t("repository-root.navigation-label")}>
|
<Section label={t("repository-root.navigation-label")}>
|
||||||
<NavLink to={url} label={t("repository-root.information")} />
|
<NavLink icon="fas fa-info-circle" to={url} label={t("repository-root.information")} />
|
||||||
<RepositoryNavLink
|
<RepositoryNavLink
|
||||||
repository={repository}
|
repository={repository}
|
||||||
linkName="changesets"
|
linkName="changesets"
|
||||||
to={`${url}/changesets/`}
|
to={`${url}/changesets/`}
|
||||||
|
icon="fas fa-code-branch"
|
||||||
label={t("repository-root.history")}
|
label={t("repository-root.history")}
|
||||||
activeWhenMatch={this.matches}
|
activeWhenMatch={this.matches}
|
||||||
activeOnlyWhenExact={false}
|
activeOnlyWhenExact={false}
|
||||||
@@ -195,6 +196,7 @@ class RepositoryRoot extends React.Component<Props> {
|
|||||||
repository={repository}
|
repository={repository}
|
||||||
linkName="sources"
|
linkName="sources"
|
||||||
to={`${url}/sources`}
|
to={`${url}/sources`}
|
||||||
|
icon="fas fa-code"
|
||||||
label={t("repository-root.sources")}
|
label={t("repository-root.sources")}
|
||||||
activeOnlyWhenExact={false}
|
activeOnlyWhenExact={false}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user