diff options
author | yp05327 <576951401@qq.com> | 2023-04-22 06:15:17 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-21 17:15:17 -0400 |
commit | 20b6ae0e5399cfc22c6a0989d8e520194e920bdd (patch) | |
tree | 8ba34ab9d59aac454e4d03dff2aa469af9168e62 /options | |
parent | 911975059a50e71632d33567da7000a97aa28f22 (diff) | |
download | gitea-20b6ae0e5399cfc22c6a0989d8e520194e920bdd.tar.gz gitea-20b6ae0e5399cfc22c6a0989d8e520194e920bdd.zip |
Add project type descriptions in issue badge and improve project icons (#23437)
Changes:
- ~~Add project icons to issue badge~~
~~After:~~
![image](https://user-images.githubusercontent.com/18380374/224633165-9d899176-03dc-4c36-94f8-b2fd9583856c.png)
Use `tooltip` to add a description of project type to the project name.
![image](https://user-images.githubusercontent.com/18380374/224923685-77201b5a-1c1f-4d37-b867-23299649df3f.png)
- improve project icons
we can use `project.icon` to get the svg name, which looks better and is
easy to change all of them in templates.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'options')
-rw-r--r-- | options/locale/locale_en-US.ini | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index d1ea8f8ed6..c0e94d3b87 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -3414,3 +3414,8 @@ runs.invalid_workflow_helper = Workflow config file is invalid. Please check you runs.no_matching_runner_helper = No matching runner: %s need_approval_desc = Need approval to run workflows for fork pull request. + +[projects] +type-1.display_name = Individual Project +type-2.display_name = Repository Project +type-3.display_name = Organization Project |