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/base
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
..
alert.tmpl Rename Str2html to SanitizeHTML and clarify its behavior (#29516) 11 months ago
alert_details.tmpl Rename Str2html to SanitizeHTML and clarify its behavior (#29516) 11 months ago
disable_form_autofill.tmpl Disable form autofill (#17291) 3 years ago
footer.tmpl Remove DataRaceCheck (#29258) 12 months ago
footer_content.tmpl Add `[other].SHOW_FOOTER_POWERED_BY` setting to hide `Powered by` (#30253) 10 months ago
head.tmpl Initial support for colorblindness-friendly themes (#30625) 9 months ago
head_navbar.tmpl Refactor repo unit "disabled" check (#31389) 8 months ago
head_opengraph.tmpl Avoid unnecessary 500 panic when a commit doesn't exist (#28719) 1 year ago
head_script.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
head_style.tmpl Initial support for colorblindness-friendly themes (#30625) 9 months ago
markup_codepreview.tmpl Fix code block style for code preview (#30298) 10 months ago
modal_actions_confirm.tmpl Remove fomantic button module (#30475) 10 months ago
paginate.tmpl Migrate margin and padding helpers to tailwind (#30043) 10 months ago