瀏覽代碼

Fix template nil error

tags/v0.9.99
Unknwon 7 年之前
父節點
當前提交
7e7613cdec
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      templates/user/dashboard/issues.tmpl

+ 1
- 1
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>

Loading…
取消
儲存