File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
templates/user/notification Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 4646 </div>
4747 <a class="notifications-link gt-df gt-f1 gt-fc silenced" href="{{.Link}}">
4848 <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}}
5050 {{if eq .Status 3}}
5151 {{svg "octicon-pin" 13 "text blue gt-mt-1 gt-ml-2"}}
5252 {{end}}
6262 </div>
6363 </a>
6464 <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}}
6670 </div>
6771 <div class="notifications-buttons gt-ac gt-je gt-gap-2 gt-px-2">
6872 {{if ne .Status 3}}
You can’t perform that action at this time.
0 commit comments