diff options
author | mrsdizzie <info@mrsdizzie.com> | 2019-11-08 02:01:24 -0500 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-11-08 09:01:24 +0200 |
commit | d9be82bd003d2dfd1c2bd31bf871d49c898b5c6b (patch) | |
tree | b422e577a769ea6545c92086dde61a0073084bc1 | |
parent | b747501337a50b847631efe0041cf2c994f4a7fa (diff) | |
download | gitea-d9be82bd003d2dfd1c2bd31bf871d49c898b5c6b.tar.gz gitea-d9be82bd003d2dfd1c2bd31bf871d49c898b5c6b.zip |
Fix edit content button on migrated issue content (#8877)
Typo on a closing span tag caused edit button not to work properly on
the original issue content for a migrated issue.
Fixes #8876
-rw-r--r-- | templates/repo/issue/view_content.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index 29d48d7089..9599930d71 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -22,7 +22,7 @@ <div class="content"> <div class="ui top attached header"> {{if .Issue.OriginalAuthor }} - <span class="text black"><i class="fa {{MigrationIcon .Repository.GetOriginalURLHostname}}" aria-hidden="true"></i> {{ .Issue.OriginalAuthor }}</span><span class="text grey"> {{.i18n.Tr "repo.issues.commented_at" .Issue.HashTag $createdStr | Safe}}<span> <span class="text migrate">{{if .Repository.OriginalURL}} ({{$.i18n.Tr "repo.migrated_from" .Repository.OriginalURL .Repository.GetOriginalURLHostname | Safe }}){{end}}</span> + <span class="text black"><i class="fa {{MigrationIcon .Repository.GetOriginalURLHostname}}" aria-hidden="true"></i> {{ .Issue.OriginalAuthor }}</span><span class="text grey"> {{.i18n.Tr "repo.issues.commented_at" .Issue.HashTag $createdStr | Safe}}</span> <span class="text migrate">{{if .Repository.OriginalURL}} ({{$.i18n.Tr "repo.migrated_from" .Repository.OriginalURL .Repository.GetOriginalURLHostname | Safe }}){{end}}</span> {{else}} <span class="text grey"><a {{if gt .Issue.Poster.ID 0}}href="{{.Issue.Poster.HomeLink}}"{{end}}>{{.Issue.Poster.GetDisplayName}}</a> {{.i18n.Tr "repo.issues.commented_at" .Issue.HashTag $createdStr | Safe}}</span> {{end}} |