We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f835c6 commit 95ce946Copy full SHA for 95ce946
templates/user/notification/notification_div.tmpl
@@ -38,7 +38,11 @@
38
{{range $notification := .Notifications}}
39
<div class="notifications-item gt-df gt-ac gt-fw gt-gap-3 gt-p-3" id="notification_{{.ID}}" data-status="{{.Status}}">
40
<div class="notifications-icon gt-ml-3 gt-mr-2 gt-self-start gt-mt-2">
41
- {{template "shared/issueicon" .Issue}}
+ {{if .Issue}}
42
+ {{template "shared/issueicon" .Issue}}
43
+ {{else}}
44
+ {{svg "octicon-repo" 16 "text grey"}}
45
+ {{end}}
46
</div>
47
<a class="notifications-link gt-df gt-f1 gt-fc silenced" href="{{.Link}}">
48
<div class="notifications-top-row gt-font-13">
0 commit comments