1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-22 17:34:03 +03:00
gitea/templates/user
wxiaoguang 37a4b233a0
Refactor repo unit "disabled" check (#31389)
1. There are already global "unit consts", no need to use context data, which is fragile
2. Remove the "String()" method from "unit", it would only cause rendering problems in templates

---------

Co-authored-by: silverwind <me@silverwind.io>
2024-06-18 00:51:13 +00:00
..
auth Return access_denied error when an OAuth2 request is denied (#30974) 2024-05-20 07:17:00 +00:00
dashboard Refactor repo unit "disabled" check (#31389) 2024-06-18 00:51:13 +00:00
notification Fix overflow on notifications (#31178) 2024-06-04 06:10:04 +00:00
overview Fix the spacing issue in the Project view (#30415) 2024-04-12 02:08:58 +00:00
settings Fix some URLs whose sub-path is missing (#31289) 2024-06-07 15:15:17 +00:00
code.tmpl Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
heatmap.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
profile.tmpl Fix the spacing issue in the Project view (#30415) 2024-04-12 02:08:58 +00:00