diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2024-05-27 10:59:54 +0200 |
---|---|---|
committer | Earl Warren <contact@earl-warren.org> | 2024-06-02 09:42:39 +0200 |
commit | a7591f9738dbefb2dcddeb2d45175abee3d03c1f (patch) | |
tree | 122de4fc445da74cfe27957437198ea7e78b7c70 /templates/repo/header.tmpl | |
parent | Improve the handling of `jobs.<job_id>.if` (#31070) (diff) | |
download | forgejo-a7591f9738dbefb2dcddeb2d45175abee3d03c1f.tar.xz forgejo-a7591f9738dbefb2dcddeb2d45175abee3d03c1f.zip |
Rename project board -> column to make the UI less confusing (#30170)
This PR split the `Board` into two parts. One is the struct has been
renamed to `Column` and the second we have a `Template Type`.
But to make it easier to review, this PR will not change the database
schemas, they are just renames. The database schema changes could be in
future PRs.
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: yp05327 <576951401@qq.com>
(cherry picked from commit 98751108b11dc748cc99230ca0fc1acfdf2c8929)
Conflicts:
docs/content/administration/config-cheat-sheet.en-us.md
docs/content/index.en-us.md
docs/content/installation/comparison.en-us.md
docs/content/usage/permissions.en-us.md
non existent files
options/locale/locale_en-US.ini
routers/web/web.go
templates/repo/header.tmpl
templates/repo/settings/options.tmpl
trivial context conflicts
Diffstat (limited to 'templates/repo/header.tmpl')
-rw-r--r-- | templates/repo/header.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 21017415c1..82e7679cd2 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -131,7 +131,7 @@ {{if and (not .UnitProjectsGlobalDisabled) (.Permission.CanRead $.UnitTypeProjects)}} <a href="{{.RepoLink}}/projects" class="{{if .IsProjectsPage}}active {{end}}item"> - {{svg "octicon-project"}} {{ctx.Locale.Tr "repo.project_board"}} + {{svg "octicon-project"}} {{ctx.Locale.Tr "repo.project"}} {{if .Repository.NumOpenProjects}} <span class="ui small label">{{CountFmt .Repository.NumOpenProjects}}</span> {{end}} |