summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-06 06:57:25 -0400
committerUnknwon <u@gogs.io>2015-09-06 06:57:25 -0400
commit24658fcbdd507bd66cd76b6ca96e1ef5e1c15af5 (patch)
tree4ef2ec4e48a2732f5ec3d47293f592c676413a53 /templates
parent705224353b10ea4166ca3dde2ed0044357aae78b (diff)
downloadgitea-24658fcbdd507bd66cd76b6ca96e1ef5e1c15af5.tar.gz
gitea-24658fcbdd507bd66cd76b6ca96e1ef5e1c15af5.zip
#633 dix suburl
Diffstat (limited to 'templates')
-rw-r--r--templates/base/head.tmpl1
-rw-r--r--templates/repo/issue/view_content.tmpl6
2 files changed, 4 insertions, 3 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index 17c26ea248..2a5e8789b6 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -8,6 +8,7 @@
<meta name="keywords" content="go, git, self-hosted, gogs">
<meta name="referrer" content="no-referrer" />
<meta name="_csrf" content="{{.CsrfToken}}" />
+ <meta name="_suburl" content="{{AppSubUrl}}" />
{{if .GoGetImport}}
<meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}">
{{end}}
diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl
index c15b82a01a..41b46c5844 100644
--- a/templates/repo/issue/view_content.tmpl
+++ b/templates/repo/issue/view_content.tmpl
@@ -25,7 +25,7 @@
</div>
</div>
<div class="ui attached segment">
- <div class="render-content markdown">
+ <div class="render-content markdown emojify">
{{if .Issue.RenderedContent}}
{{.Issue.RenderedContent|Str2html}}
{{else}}
@@ -77,7 +77,7 @@
</div>
</div>
<div class="ui attached segment">
- <div class="render-content markdown">
+ <div class="render-content markdown emojify">
{{if .RenderedContent}}
{{.RenderedContent|Str2html}}
{{else}}
@@ -317,7 +317,7 @@
<div class="ui bottom attached active write tab segment">
<textarea id="content" name="content"></textarea>
</div>
- <div class="ui bottom attached tab preview segment markdown">
+ <div class="ui bottom attached tab preview segment markdown emojify">
{{$.i18n.Tr "repo.release.loading"}}
</div>
<div class="text right edit buttons">