]> source.dussan.org Git - gitea.git/commitdiff
Remove empty lines (#9232)
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>
Tue, 3 Dec 2019 00:33:25 +0000 (18:33 -0600)
committerLunny Xiao <xiaolunwen@gmail.com>
Tue, 3 Dec 2019 00:33:25 +0000 (08:33 +0800)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
templates/user/dashboard/issues.tmpl

index e4d09c066c5a52e1821c075e1bbb46d021285e86..0310f5fafe39da6bf86d23cddee9f9b819222d2d 100644 (file)
@@ -86,8 +86,8 @@
                                        {{range .Issues}}
 
                                                {{ $timeStr:= TimeSinceUnix .CreatedUnix $.Lang }}
+                                               {{if .Repo}}
                                                <li class="item">
-                                                       {{if .Repo}}
                                                        <div class="ui label">{{.Repo.FullName}}#{{.Index}}</div>
                                                        <a class="title has-emoji" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}/issues/{{.Index}}">{{.Title}}</a>