aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-14 23:43:13 -0700
committerUnknwon <u@gogs.io>2016-08-14 23:43:13 -0700
commit7e7613cdecf6ceaf97ac280ae98bb9541679963f (patch)
tree0bef1bee3eedaa8b9d6e4f5fe2642e0707baa4a1
parenta5b88c4d0cd7ff7e167fe1c62a40ff8c103909f3 (diff)
downloadgitea-7e7613cdecf6ceaf97ac280ae98bb9541679963f.tar.gz
gitea-7e7613cdecf6ceaf97ac280ae98bb9541679963f.zip
Fix template nil error
-rw-r--r--templates/user/dashboard/issues.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl
index 38ead6127f..5aae8b4fa5 100644
--- a/templates/user/dashboard/issues.tmpl
+++ b/templates/user/dashboard/issues.tmpl
@@ -62,7 +62,7 @@
{{ $timeStr:= TimeSince .Created $.Lang }}
<li class="item">
<div class="ui label">{{if not $.RepoID}}{{.Repo.Name}}{{end}}#{{.Index}}</div>
- <a class="title has-emoji" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}/issues/{{.Index}}">{{.Name}}</a>
+ <a class="title has-emoji" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}/issues/{{.Index}}">{{.Title}}</a>
{{if .NumComments}}
<span class="comment ui right"><i class="octicon octicon-comment"></i> {{.NumComments}}</span>