summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-13 12:11:45 -0500
committerUnknwon <u@gogs.io>2015-11-13 12:11:45 -0500
commit6a664e88c77f1ddd9c5bff4898e21a8271a5da9a (patch)
treefbdb9e24ea39be10fe59ec6bfeddda90be45b1b1 /templates
parent0f438ef0b3fe641df102212becb32cdfb4dd3305 (diff)
downloadgitea-6a664e88c77f1ddd9c5bff4898e21a8271a5da9a.tar.gz
gitea-6a664e88c77f1ddd9c5bff4898e21a8271a5da9a.zip
#1854 show issue content
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue/new_form.tmpl2
-rw-r--r--templates/user/dashboard/feeds.tmpl3
2 files changed, 3 insertions, 2 deletions
diff --git a/templates/repo/issue/new_form.tmpl b/templates/repo/issue/new_form.tmpl
index b3cf99257b..8576d7db8d 100644
--- a/templates/repo/issue/new_form.tmpl
+++ b/templates/repo/issue/new_form.tmpl
@@ -13,7 +13,7 @@
</a>
<div class="ui segment content">
<div class="field">
- <input name="title" placeholder="{{.i18n.Tr "repo.milestones.title"}}" value="{{.title}}" autofocus required>
+ <input name="title" placeholder="{{.i18n.Tr "repo.milestones.title"}}" value="{{.title}}" tabindex="3" autofocus required>
</div>
{{template "repo/issue/comment_tab" .}}
<div class="text right">
diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl
index 57c2e85982..c814a283ca 100644
--- a/templates/user/dashboard/feeds.tmpl
+++ b/templates/user/dashboard/feeds.tmpl
@@ -46,7 +46,8 @@
</ul>
</div>
{{else if eq .GetOpType 6}}
- <p class="text light grey">{{index .GetIssueInfos 1}}</p>
+ <span class="text truncate issue title">{{index .GetIssueInfos 1}}</span>
+ <p class="text light grey">{{.GetIssueContent}}</p>
{{else if eq .GetOpType 7}}
<p class="text light grey">{{index .GetIssueInfos 1}}</p>
{{else if eq .GetOpType 10}}