mirror of
https://gitee.com/gitea/gitea.git
synced 2024-12-02 11:47:49 +08:00
Fix new release from tags list UI (#19670)
This commit is contained in:
parent
65ccff54ef
commit
64a40962cc
@ -279,7 +279,9 @@ func NewRelease(ctx *context.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ctx.Data["tag_name"] = rel.TagName
|
ctx.Data["tag_name"] = rel.TagName
|
||||||
|
if rel.Target != "" {
|
||||||
ctx.Data["tag_target"] = rel.Target
|
ctx.Data["tag_target"] = rel.Target
|
||||||
|
}
|
||||||
ctx.Data["title"] = rel.Title
|
ctx.Data["title"] = rel.Title
|
||||||
ctx.Data["content"] = rel.Note
|
ctx.Data["content"] = rel.Note
|
||||||
ctx.Data["attachments"] = rel.Attachments
|
ctx.Data["attachments"] = rel.Attachments
|
||||||
|
Loading…
Reference in New Issue
Block a user