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
silverwind 2ab5f05f40
Add svg linter and fix incorrect svgs (#30086)
Fixes https://github.com/go-gitea/gitea/issues/30082.

Adds a new linter that searches for non-existant SVG images in
templates. Output before the fix was:

```
$ make lint-templates
SVG "octicon-warning" not found, used in templates/devtest/flex-list.tmpl
SVG "octicon-warning" not found, used in templates/devtest/flex-list.tmpl
SVG "octicon-markup" not found, used in templates/repo/diff/comment_form.tmpl
make: *** [Makefile:438: lint-templates] Error 1
```

<img width="306" alt="Screenshot 2024-03-25 at 23 31 05"
src="https://github.com/go-gitea/gitea/assets/115237/1052d1a9-bfec-4d5a-9cae-f895f78f7c93">
1 year ago
..
admin Migrate `gt-hidden` to `tw-hidden` (#30046) 1 year ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Migrate `gt-hidden` to `tw-hidden` (#30046) 1 year ago
custom Add footer extra links template (#9576) 5 years ago
devtest Add svg linter and fix incorrect svgs (#30086) 1 year ago
explore Migrate margin and padding helpers to tailwind (#30043) 1 year ago
mail Remove unnecessary SanitizeHTML from code (#29575) 1 year ago
org Migrate `gt-hidden` to `tw-hidden` (#30046) 1 year ago
package Migrate margin and padding helpers to tailwind (#30043) 1 year ago
projects Migrate margin and padding helpers to tailwind (#30043) 1 year ago
repo Add svg linter and fix incorrect svgs (#30086) 1 year ago
shared Migrate margin and padding helpers to tailwind (#30043) 1 year ago
status Migrate margin and padding helpers to tailwind (#30043) 1 year ago
swagger Fix lint-swagger warning (#29787) 1 year ago
user Migrate `gt-hidden` to `tw-hidden` (#30046) 1 year ago
webhook Fix incorrect tailwind migration (#30007) 1 year ago
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 1 year ago
install.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 1 year ago
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2 years ago