summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-08 09:09:40 -0400
committerUnknwon <u@gogs.io>2015-09-08 09:09:40 -0400
commit6f6f38e7c34baed7f0f6c5d9caf339ff8896dc6d (patch)
tree04cc0325ec0a800652d20686eed0a36d1112d620 /templates
parent49e120a67c2d27597764eb260cdec07b5fd67fbb (diff)
downloadgitea-6f6f38e7c34baed7f0f6c5d9caf339ff8896dc6d.tar.gz
gitea-6f6f38e7c34baed7f0f6c5d9caf339ff8896dc6d.zip
#1603 suburl for comment attachments
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue/view_content.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl
index 41b46c5844..d258d3d0a9 100644
--- a/templates/repo/issue/view_content.tmpl
+++ b/templates/repo/issue/view_content.tmpl
@@ -91,7 +91,7 @@
<div class="ui bottom attached segment">
<div class="ui small images">
{{range .Attachments}}
- <a target="_blank" href="/attachments/{{.UUID}}"><img class="ui image" src="/attachments/{{.UUID}}"></a>
+ <a target="_blank" href="{{AppSubUrl}}/attachments/{{.UUID}}"><img class="ui image" src="{{AppSubUrl}}/attachments/{{.UUID}}"></a>
{{end}}
</div>
</div>