Skip to content

Commit

Permalink
handle case of 'repo notification'
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed May 22, 2023
1 parent 3f835c6 commit 95ce946
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/user/notification/notification_div.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@
{{range $notification := .Notifications}}
<div class="notifications-item gt-df gt-ac gt-fw gt-gap-3 gt-p-3" id="notification_{{.ID}}" data-status="{{.Status}}">
<div class="notifications-icon gt-ml-3 gt-mr-2 gt-self-start gt-mt-2">
{{template "shared/issueicon" .Issue}}
{{if .Issue}}
{{template "shared/issueicon" .Issue}}
{{else}}
{{svg "octicon-repo" 16 "text grey"}}
{{end}}
</div>
<a class="notifications-link gt-df gt-f1 gt-fc silenced" href="{{.Link}}">
<div class="notifications-top-row gt-font-13">
Expand Down

0 comments on commit 95ce946

Please sign in to comment.