File tree 1 file changed +6
-2
lines changed
templates/user/notification
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 46
46
</div>
47
47
<a class="notifications-link gt-df gt-f1 gt-fc silenced" href="{{.Link}}">
48
48
<div class="notifications-top-row gt-font-13">
49
- {{.Repository.FullName}} <span class="text light-3">#{{.Issue.Index}}</span>
49
+ {{.Repository.FullName}} {{if .Issue}} <span class="text light-3">#{{.Issue.Index}}</span>{{end}}
50
50
{{if eq .Status 3}}
51
51
{{svg "octicon-pin" 13 "text blue gt-mt-1 gt-ml-2"}}
52
52
{{end}}
62
62
</div>
63
63
</a>
64
64
<div class="notifications-updated gt-ac gt-mr-3">
65
- {{TimeSinceUnix .Issue.UpdatedUnix $locale}}
65
+ {{if .Issue}}
66
+ {{TimeSinceUnix .Issue.UpdatedUnix $locale}}
67
+ {{else}}
68
+ {{TimeSinceUnix .UpdatedUnix $locale}}
69
+ {{end}}
66
70
</div>
67
71
<div class="notifications-buttons gt-ac gt-je gt-gap-2 gt-px-2">
68
72
{{if ne .Status 3}}
You can’t perform that action at this time.
0 commit comments