mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-06 20:30:52 +01:00
Add programmatic label to the namespace links
Pushed-by: Florian Scholdei<florian.scholdei@cloudogu.com> Co-authored-by: Florian Scholdei<florian.scholdei@cloudogu.com>
This commit is contained in:
2
gradle/changelog/repository_list.yaml
Normal file
2
gradle/changelog/repository_list.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
- type: added
|
||||
description: Programmatic label to the namespace links
|
||||
@@ -32,7 +32,12 @@ const DefaultGroupHeader: FC<{ group: RepositoryGroup }> = ({ group }) => {
|
||||
return (
|
||||
<>
|
||||
<Link to={`/repos/${group.name}/`} className="has-text-inherit">
|
||||
<h3 className="has-text-weight-bold">{group.name}</h3>
|
||||
<h3 className="has-text-weight-bold">
|
||||
<span className="is-sr-only" lang="en">
|
||||
{t("repositoryOverview.namespace")}
|
||||
</span>
|
||||
{group.name}
|
||||
</h3>
|
||||
</Link>{" "}
|
||||
<Link to={`/namespace/${group.name}/info`} aria-label={t("repositoryOverview.settings.tooltip")}>
|
||||
<Icon color="inherit" name="cog" title={t("repositoryOverview.settings.tooltip")} className="is-size-6 ml-2" />
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
}
|
||||
},
|
||||
"repositoryOverview": {
|
||||
"namespace": "Namespace",
|
||||
"settings": {
|
||||
"tooltip": "Einstellungen für den Namespace"
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
}
|
||||
},
|
||||
"repositoryOverview": {
|
||||
"namespace": "Namespace",
|
||||
"settings": {
|
||||
"tooltip": "Namespace related settings"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user