aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/issue
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2016-03-02 21:18:58 -0300
committerAndrey Nering <andrey.nering@gmail.com>2016-03-02 21:54:05 -0300
commit13e71acadf538124724c24b6332e4fa8a59baadb (patch)
treef49edfe271408ae5cc6cd3275e64512a2312d780 /templates/repo/issue
parent37ac743da7ba2931dfaaa947bf73ed55534e6f29 (diff)
downloadgitea-13e71acadf538124724c24b6332e4fa8a59baadb.tar.gz
gitea-13e71acadf538124724c24b6332e4fa8a59baadb.zip
Render emojis in more places.
Diffstat (limited to 'templates/repo/issue')
-rw-r--r--templates/repo/issue/list.tmpl2
-rw-r--r--templates/repo/issue/view.tmpl6
-rw-r--r--templates/repo/issue/view_title.tmpl2
3 files changed, 6 insertions, 4 deletions
diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl
index e9a833925d..790a6572e4 100644
--- a/templates/repo/issue/list.tmpl
+++ b/templates/repo/issue/list.tmpl
@@ -102,7 +102,7 @@
{{ $timeStr:= TimeSince .Created $.Lang }}
<li class="item">
<div class="ui {{if .IsRead}}black{{else}}green{{end}} label">#{{.Index}}</div>
- <a class="title" href="{{$.Link}}/{{.Index}}">{{.Name}}</a>
+ <a class="title has-emoji" href="{{$.Link}}/{{.Index}}">{{.Name}}</a>
{{range .Labels}}
<a class="ui label" href="{{$.Link}}?type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}">{{.Name}}</a>
diff --git a/templates/repo/issue/view.tmpl b/templates/repo/issue/view.tmpl
index 1f25f1535b..4e2e69bbeb 100644
--- a/templates/repo/issue/view.tmpl
+++ b/templates/repo/issue/view.tmpl
@@ -16,11 +16,13 @@
{{if .Issue.IsPull}}
{{template "repo/issue/view_title" .}}
{{template "repo/pulls/tab_menu" .}}
- <div class="ui bottom attached tab pull segment active" data-tab="request-{{.ID}}">
+ <div class="ui bottom attached tab pull segment active has-emoji" data-tab="request-{{.ID}}">
{{template "repo/issue/view_content" .}}
</div>
{{else}}
- {{template "repo/issue/view_content" .}}
+ <div class="has-emoji">
+ {{template "repo/issue/view_content" .}}
+ </div>
{{end}}
</div>
</div>
diff --git a/templates/repo/issue/view_title.tmpl b/templates/repo/issue/view_title.tmpl
index f8d93a0bc0..a1b4405486 100644
--- a/templates/repo/issue/view_title.tmpl
+++ b/templates/repo/issue/view_title.tmpl
@@ -1,7 +1,7 @@
<div class="sixteen wide column title">
<div class="ui grid">
<h1 class="twelve wide column">
- <span class="index">#{{.Issue.Index}}</span> <span id="issue-title">{{.Issue.Name}}</span>
+ <span class="index">#{{.Issue.Index}}</span> <span id="issue-title" class="has-emoji">{{.Issue.Name}}</span>
<div id="edit-title-input" class="ui input" style="display: none">
<input value="{{.Issue.Name}}">
</div>