|
|
@ -21,25 +21,27 @@ |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
<div class="content"> |
|
|
|
<div class="content"> |
|
|
|
<div class="ui top attached header"> |
|
|
|
<div class="ui top attached header"> |
|
|
|
{{if .Issue.OriginalAuthor }} |
|
|
|
<div class="header-left df ac"> |
|
|
|
<span class="text black"> |
|
|
|
{{if .Issue.OriginalAuthor }} |
|
|
|
<i class="fa {{MigrationIcon .Repository.GetOriginalURLHostname}}" aria-hidden="true"></i> |
|
|
|
<span class="text black"> |
|
|
|
{{ .Issue.OriginalAuthor }} |
|
|
|
<i class="fa {{MigrationIcon .Repository.GetOriginalURLHostname}}" aria-hidden="true"></i> |
|
|
|
</span> |
|
|
|
{{ .Issue.OriginalAuthor }} |
|
|
|
<span class="text grey"> |
|
|
|
</span> |
|
|
|
{{ .i18n.Tr "repo.issues.commented_at" .Issue.HashTag $createdStr | Safe }} |
|
|
|
<span class="text grey"> |
|
|
|
</span> |
|
|
|
{{ .i18n.Tr "repo.issues.commented_at" .Issue.HashTag $createdStr | Safe }} |
|
|
|
<span class="text migrate"> |
|
|
|
</span> |
|
|
|
{{if .Repository.OriginalURL}} ({{$.i18n.Tr "repo.migrated_from" .Repository.OriginalURL .Repository.GetOriginalURLHostname | Safe }}){{end}} |
|
|
|
<span class="text migrate"> |
|
|
|
</span> |
|
|
|
{{if .Repository.OriginalURL}} ({{$.i18n.Tr "repo.migrated_from" .Repository.OriginalURL .Repository.GetOriginalURLHostname | Safe }}){{end}} |
|
|
|
{{else}} |
|
|
|
</span> |
|
|
|
<span class="text grey"> |
|
|
|
{{else}} |
|
|
|
<a class="author"{{if gt .Issue.Poster.ID 0}} href="{{.Issue.Poster.HomeLink}}"{{end}}>{{.Issue.Poster.GetDisplayName}}</a> |
|
|
|
<span class="text grey"> |
|
|
|
{{.i18n.Tr "repo.issues.commented_at" .Issue.HashTag $createdStr | Safe}} |
|
|
|
<a class="author"{{if gt .Issue.Poster.ID 0}} href="{{.Issue.Poster.HomeLink}}"{{end}}>{{.Issue.Poster.GetDisplayName}}</a> |
|
|
|
</span> |
|
|
|
{{.i18n.Tr "repo.issues.commented_at" .Issue.HashTag $createdStr | Safe}} |
|
|
|
{{end}} |
|
|
|
</span> |
|
|
|
{{if not $.Repository.IsArchived}} |
|
|
|
{{end}} |
|
|
|
<div class="ui right actions"> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="header-right actions df ac"> |
|
|
|
|
|
|
|
{{if not $.Repository.IsArchived}} |
|
|
|
{{if gt .Issue.ShowTag 0}} |
|
|
|
{{if gt .Issue.ShowTag 0}} |
|
|
|
<div class="ui basic label"> |
|
|
|
<div class="ui basic label"> |
|
|
|
{{if eq .Issue.ShowTag 2}} |
|
|
|
{{if eq .Issue.ShowTag 2}} |
|
|
@ -51,8 +53,8 @@ |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{template "repo/issue/view_content/add_reaction" Dict "ctx" $ "ActionURL" (Printf "%s/issues/%d/reactions" $.RepoLink .Issue.Index)}} |
|
|
|
{{template "repo/issue/view_content/add_reaction" Dict "ctx" $ "ActionURL" (Printf "%s/issues/%d/reactions" $.RepoLink .Issue.Index)}} |
|
|
|
{{template "repo/issue/view_content/context_menu" Dict "ctx" $ "item" .Issue "delete" false "diff" false "IsCommentPoster" $.IsIssuePoster}} |
|
|
|
{{template "repo/issue/view_content/context_menu" Dict "ctx" $ "item" .Issue "delete" false "diff" false "IsCommentPoster" $.IsIssuePoster}} |
|
|
|
</div> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="ui attached segment"> |
|
|
|
<div class="ui attached segment"> |
|
|
|
<div class="render-content markdown"> |
|
|
|
<div class="render-content markdown"> |
|
|
|