]> source.dussan.org Git - gitea.git/commit
Add project type descriptions in issue badge and improve project icons (#23437)
authoryp05327 <576951401@qq.com>
Fri, 21 Apr 2023 21:15:17 +0000 (06:15 +0900)
committerGitHub <noreply@github.com>
Fri, 21 Apr 2023 21:15:17 +0000 (17:15 -0400)
commit20b6ae0e5399cfc22c6a0989d8e520194e920bdd
tree8ba34ab9d59aac454e4d03dff2aa469af9168e62
parent911975059a50e71632d33567da7000a97aa28f22
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>
options/locale/locale_en-US.ini
templates/repo/issue/view_content/comments.tmpl