File tree 5 files changed +7
-7
lines changed 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 63
63
<div id="issuecomment-{{.ID}}-raw" class="raw-content gt-hidden">{{.Content}}</div>
64
64
<div class="edit-content-zone gt-hidden" data-update-url="{{$.root.RepoLink}}/comments/{{.ID}}" data-context="{{$.root.RepoLink}}" data-attachment-url="{{$.root.RepoLink}}/comments/{{.ID}}/attachments"></div>
65
65
{{if .Attachments}}
66
- {{template "repo/issue/view_content/attachments" dict "ctxData" $ "Attachments" .Attachments "Content " .RenderedContent}}
66
+ {{template "repo/issue/view_content/attachments" dict "ctxData" $ "Attachments" .Attachments "RenderedContent " .RenderedContent}}
67
67
{{end}}
68
68
</div>
69
69
{{$reactions := .Reactions.GroupByType}}
Original file line number Diff line number Diff line change 62
62
<div id="issue-{{.Issue.ID}}-raw" class="raw-content gt-hidden">{{.Issue.Content}}</div>
63
63
<div class="edit-content-zone gt-hidden" data-update-url="{{$.RepoLink}}/issues/{{.Issue.Index}}/content" data-context="{{.RepoLink}}" data-attachment-url="{{$.RepoLink}}/issues/{{.Issue.Index}}/attachments" data-view-attachment-url="{{$.RepoLink}}/issues/{{.Issue.Index}}/view-attachments"></div>
64
64
{{if .Issue.Attachments}}
65
- {{template "repo/issue/view_content/attachments" dict "ctxData" $ "Attachments" .Issue.Attachments "Content " .Issue.RenderedContent}}
65
+ {{template "repo/issue/view_content/attachments" dict "ctxData" $ "Attachments" .Issue.Attachments "RenderedContent " .Issue.RenderedContent}}
66
66
{{end}}
67
67
</div>
68
68
{{$reactions := .Issue.Reactions.GroupByType}}
Original file line number Diff line number Diff line change 8
8
<div class="gt-f1 gt-p-3">
9
9
<a target="_blank" rel="noopener noreferrer" href="{{.DownloadURL}}" title="{{ctx.Locale.Tr "repo.issues.attachment.open_tab" .Name}}">
10
10
{{if FilenameIsImage .Name}}
11
- {{if not (StringUtils.Contains (StringUtils.ToString $.Content ) .UUID)}}
11
+ {{if not (StringUtils.Contains (StringUtils.ToString $.RenderedContent ) .UUID)}}
12
12
{{$hasThumbnails = true}}
13
13
{{end}}
14
14
{{svg "octicon-file"}}
29
29
<div class="ui small thumbnails">
30
30
{{- range .Attachments -}}
31
31
{{if FilenameIsImage .Name}}
32
- {{if not (StringUtils.Contains (StringUtils.ToString $.Content ) .UUID)}}
32
+ {{if not (StringUtils.Contains (StringUtils.ToString $.RenderedContent ) .UUID)}}
33
33
<a target="_blank" rel="noopener noreferrer" href="{{.DownloadURL}}">
34
34
<img alt="{{.Name}}" src="{{.DownloadURL}}" title="{{ctx.Locale.Tr "repo.issues.attachment.open_tab" .Name}}">
35
35
</a>
Original file line number Diff line number Diff line change 69
69
<div id="issuecomment-{{.ID}}-raw" class="raw-content gt-hidden">{{.Content}}</div>
70
70
<div class="edit-content-zone gt-hidden" data-update-url="{{$.RepoLink}}/comments/{{.ID}}" data-context="{{$.RepoLink}}" data-attachment-url="{{$.RepoLink}}/comments/{{.ID}}/attachments"></div>
71
71
{{if .Attachments}}
72
- {{template "repo/issue/view_content/attachments" dict "ctxData" $ "Attachments" .Attachments "Content " .RenderedContent}}
72
+ {{template "repo/issue/view_content/attachments" dict "ctxData" $ "Attachments" .Attachments "RenderedContent " .RenderedContent}}
73
73
{{end}}
74
74
</div>
75
75
{{$reactions := .Reactions.GroupByType}}
440
440
<div id="issuecomment-{{.ID}}-raw" class="raw-content gt-hidden">{{.Content}}</div>
441
441
<div class="edit-content-zone gt-hidden" data-update-url="{{$.RepoLink}}/comments/{{.ID}}" data-context="{{$.RepoLink}}" data-attachment-url="{{$.RepoLink}}/comments/{{.ID}}/attachments"></div>
442
442
{{if .Attachments}}
443
- {{template "repo/issue/view_content/attachments" dict "ctxData" $ "Attachments" .Attachments "Content " .RenderedContent}}
443
+ {{template "repo/issue/view_content/attachments" dict "ctxData" $ "Attachments" .Attachments "RenderedContent " .RenderedContent}}
444
444
{{end}}
445
445
</div>
446
446
{{$reactions := .Reactions.GroupByType}}
Original file line number Diff line number Diff line change 95
95
<div id="issuecomment-{{.ID}}-raw" class="raw-content gt-hidden">{{.Content}}</div>
96
96
<div class="edit-content-zone gt-hidden" data-update-url="{{$.RepoLink}}/comments/{{.ID}}" data-context="{{$.RepoLink}}" data-attachment-url="{{$.RepoLink}}/comments/{{.ID}}/attachments"></div>
97
97
{{if .Attachments}}
98
- {{template "repo/issue/view_content/attachments" dict "ctxData" $ "Attachments" .Attachments "Content " .RenderedContent}}
98
+ {{template "repo/issue/view_content/attachments" dict "ctxData" $ "Attachments" .Attachments "RenderedContent " .RenderedContent}}
99
99
{{end}}
100
100
</div>
101
101
{{$reactions := .Reactions.GroupByType}}
You can’t perform that action at this time.
0 commit comments