diff options
author | Francesco Siddi <francesco@blender.org> | 2023-02-03 23:25:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-03 17:25:55 -0500 |
commit | 01f082287d7957ed63a0865b26e04ad23382c715 (patch) | |
tree | 5287450a0767063f6d80b26e5166aa8fabc54080 /templates | |
parent | ce4fd95233b0012fa5510bd3f2d049a0edac7903 (diff) | |
download | gitea-01f082287d7957ed63a0865b26e04ad23382c715.tar.gz gitea-01f082287d7957ed63a0865b26e04ad23382c715.zip |
Remove 'primary' class from tab counter labels (#22687)
Using the primary color for each label counter makes the use of color
redundant, as well as suggesting this is a call to action. Use the base
grey color instead.
![grey_lables](https://user-images.githubusercontent.com/451841/215778889-0d5dddad-353f-4703-a48f-1540080dee26.jpg)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/header.tmpl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 0e50169486..b860c1d26c 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -163,7 +163,7 @@ <a class="{{if .PageIsIssueList}}active {{end}}item" href="{{.RepoLink}}/issues"> {{svg "octicon-issue-opened"}} {{.locale.Tr "repo.issues"}} {{if .Repository.NumOpenIssues}} - <span class="ui primary small label">{{CountFmt .Repository.NumOpenIssues}}</span> + <span class="ui small label">{{CountFmt .Repository.NumOpenIssues}}</span> {{end}} </a> {{end}} @@ -178,7 +178,7 @@ <a class="{{if .PageIsPullList}}active {{end}}item" href="{{.RepoLink}}/pulls"> {{svg "octicon-git-pull-request"}} {{.locale.Tr "repo.pulls"}} {{if .Repository.NumOpenPulls}} - <span class="ui primary small label">{{CountFmt .Repository.NumOpenPulls}}</span> + <span class="ui small label">{{CountFmt .Repository.NumOpenPulls}}</span> {{end}} </a> {{end}} @@ -187,7 +187,7 @@ <a class="{{if .PageIsActions}}active {{end}}item" href="{{.RepoLink}}/actions"> {{svg "octicon-play"}} {{.locale.Tr "actions.actions"}} {{if .Repository.NumOpenActionRuns}} - <span class="ui primary small label">{{CountFmt .Repository.NumOpenActionRuns}}</span> + <span class="ui small label">{{CountFmt .Repository.NumOpenActionRuns}}</span> {{end}} </a> {{end}} @@ -202,7 +202,7 @@ <a href="{{.RepoLink}}/projects" class="{{if .IsProjectsPage}}active {{end}}item"> {{svg "octicon-project"}} {{.locale.Tr "repo.project_board"}} {{if .Repository.NumOpenProjects}} - <span class="ui primary small label">{{CountFmt .Repository.NumOpenProjects}}</span> + <span class="ui small label">{{CountFmt .Repository.NumOpenProjects}}</span> {{end}} </a> {{end}} @@ -211,7 +211,7 @@ <a class="{{if .PageIsReleaseList}}active {{end}}item" href="{{.RepoLink}}/releases"> {{svg "octicon-tag"}} {{.locale.Tr "repo.releases"}} {{if .NumReleases}} - <span class="ui primary small label">{{CountFmt .NumReleases}}</span> + <span class="ui small label">{{CountFmt .NumReleases}}</span> {{end}} </a> {{end}} |