gitea/services
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
..
2024-04-30 14:34:40 +02:00
2024-06-05 09:22:38 +08:00
2024-04-07 19:17:06 +08:00
2023-12-25 21:25:29 +01:00
2024-05-20 00:56:45 +00:00
2024-05-19 12:58:39 +08:00
2024-06-11 18:47:45 +00:00