|
21 | 21 | {{end}} |
22 | 22 | <div class="content"> |
23 | 23 | <div class="ui top attached header"> |
24 | | - {{if .Issue.OriginalAuthor }} |
25 | | - <span class="text black"> |
26 | | - <i class="fa {{MigrationIcon .Repository.GetOriginalURLHostname}}" aria-hidden="true"></i> |
27 | | - {{ .Issue.OriginalAuthor }} |
28 | | - </span> |
29 | | - <span class="text grey"> |
30 | | - {{ .i18n.Tr "repo.issues.commented_at" .Issue.HashTag $createdStr | Safe }} |
31 | | - </span> |
32 | | - <span class="text migrate"> |
33 | | - {{if .Repository.OriginalURL}} ({{$.i18n.Tr "repo.migrated_from" .Repository.OriginalURL .Repository.GetOriginalURLHostname | Safe }}){{end}} |
34 | | - </span> |
35 | | - {{else}} |
36 | | - <span class="text grey"> |
37 | | - <a class="author"{{if gt .Issue.Poster.ID 0}} href="{{.Issue.Poster.HomeLink}}"{{end}}>{{.Issue.Poster.GetDisplayName}}</a> |
38 | | - {{.i18n.Tr "repo.issues.commented_at" .Issue.HashTag $createdStr | Safe}} |
39 | | - </span> |
40 | | - {{end}} |
41 | | - {{if not $.Repository.IsArchived}} |
42 | | - <div class="ui right actions"> |
| 24 | + <div class="header-left df ac"> |
| 25 | + {{if .Issue.OriginalAuthor }} |
| 26 | + <span class="text black"> |
| 27 | + <i class="fa {{MigrationIcon .Repository.GetOriginalURLHostname}}" aria-hidden="true"></i> |
| 28 | + {{ .Issue.OriginalAuthor }} |
| 29 | + </span> |
| 30 | + <span class="text grey"> |
| 31 | + {{ .i18n.Tr "repo.issues.commented_at" .Issue.HashTag $createdStr | Safe }} |
| 32 | + </span> |
| 33 | + <span class="text migrate"> |
| 34 | + {{if .Repository.OriginalURL}} ({{$.i18n.Tr "repo.migrated_from" .Repository.OriginalURL .Repository.GetOriginalURLHostname | Safe }}){{end}} |
| 35 | + </span> |
| 36 | + {{else}} |
| 37 | + <span class="text grey"> |
| 38 | + <a class="author"{{if gt .Issue.Poster.ID 0}} href="{{.Issue.Poster.HomeLink}}"{{end}}>{{.Issue.Poster.GetDisplayName}}</a> |
| 39 | + {{.i18n.Tr "repo.issues.commented_at" .Issue.HashTag $createdStr | Safe}} |
| 40 | + </span> |
| 41 | + {{end}} |
| 42 | + </div> |
| 43 | + <div class="header-right actions df ac"> |
| 44 | + {{if not $.Repository.IsArchived}} |
43 | 45 | {{if gt .Issue.ShowTag 0}} |
44 | 46 | <div class="item tag"> |
45 | 47 | {{if eq .Issue.ShowTag 2}} |
|
51 | 53 | {{end}} |
52 | 54 | {{template "repo/issue/view_content/add_reaction" Dict "ctx" $ "ActionURL" (Printf "%s/issues/%d/reactions" $.RepoLink .Issue.Index)}} |
53 | 55 | {{template "repo/issue/view_content/context_menu" Dict "ctx" $ "item" .Issue "delete" false "diff" false "IsCommentPoster" $.IsIssuePoster}} |
54 | | - </div> |
55 | | - {{end}} |
| 56 | + {{end}} |
| 57 | + </div> |
56 | 58 | </div> |
57 | 59 | <div class="ui attached segment"> |
58 | 60 | <div class="render-content markdown"> |
|
0 commit comments