1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
gitea/templates
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
..
admin Add cache test for admins (#31265) 2024-06-17 21:22:39 +02:00
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Refactor repo unit "disabled" check (#31389) 2024-06-18 00:51:13 +00:00
custom
devtest Fix some URLs whose sub-path is missing (#31289) 2024-06-07 15:15:17 +00:00
explore Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Right align the "Settings" menu item in overflow-menu (#30764) 2024-04-30 04:26:13 +00:00
package Extract and display readme and comments for Composer packages (#30927) 2024-06-14 04:45:52 +00:00
projects Replace gt-word-break with tw-break-anywhere (#31183) 2024-06-04 13:57:11 +00:00
repo Refactor repo unit "disabled" check (#31389) 2024-06-18 00:51:13 +00:00
shared Improve detecting empty files (#31332) 2024-06-13 01:06:46 +00:00
status Initial support for colorblindness-friendly themes (#30625) 2024-04-24 00:18:41 +08:00
swagger Fix missing images in editor preview due to wrong links (#31299) 2024-06-17 14:16:14 +08:00
user Refactor repo unit "disabled" check (#31389) 2024-06-18 00:51:13 +00:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
install.tmpl Fix some UI problems (install/checkbox) (#30854) 2024-05-06 06:32:05 +00:00
post-install.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00