0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 05:04:29 +01:00
gitea/templates
Jason Song d3f850cc0e
Support comma-delimited string as labels in issue template (#21831)
The [labels in issue YAML
templates](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms#top-level-syntax)
can be a string array or a comma-delimited string, so a single string
should be valid labels.

The old codes committed in #20987 ignore this, that's why the warning is
displayed:

<img width="618" alt="image"
src="https://user-images.githubusercontent.com/9418365/202112642-93dc72d0-71c3-40a2-9720-30fc2d48c97c.png">

Fixes #17877.
2022-11-19 15:22:15 +00:00
..
admin
api/packages/pypi
base
code
custom
explore Timeline and color tweaks (#21799) 2022-11-19 12:02:30 +08:00
mail
org Timeline and color tweaks (#21799) 2022-11-19 12:02:30 +08:00
package
repo Show syntax lexer name in file view/blame (#21814) 2022-11-19 13:08:06 +02:00
shared Timeline and color tweaks (#21799) 2022-11-19 12:02:30 +08:00
status
swagger Support comma-delimited string as labels in issue template (#21831) 2022-11-19 15:22:15 +00:00
user Add context.Context to more methods (#21546) 2022-11-19 16:12:33 +08:00
home.tmpl
install.tmpl
post-install.tmpl