You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
8 months ago
..
admin Add cache test for admins (#31265) 8 months ago
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 10 months ago
base Refactor repo unit "disabled" check (#31389) 8 months ago
custom
devtest Fix some URLs whose sub-path is missing (#31289) 8 months ago
explore Refactor web routes (#30519) 10 months ago
mail Remove unnecessary SanitizeHTML from code (#29575) 11 months ago
org Right align the "Settings" menu item in overflow-menu (#30764) 9 months ago
package Extract and display readme and comments for Composer packages (#30927) 8 months ago
projects Replace `gt-word-break` with `tw-break-anywhere` (#31183) 8 months ago
repo Refactor repo unit "disabled" check (#31389) 8 months ago
shared Improve detecting empty files (#31332) 8 months ago
status Initial support for colorblindness-friendly themes (#30625) 9 months ago
swagger Fix missing images in editor preview due to wrong links (#31299) 8 months ago
user Refactor repo unit "disabled" check (#31389) 8 months ago
webhook Fix incorrect tailwind migration (#30007) 10 months ago
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 10 months ago
install.tmpl Fix some UI problems (install/checkbox) (#30854) 9 months ago
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago