summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/user/notification/notification.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/user/notification/notification.tmpl b/templates/user/notification/notification.tmpl
index 3c30bbe305..5b34604fb7 100644
--- a/templates/user/notification/notification.tmpl
+++ b/templates/user/notification/notification.tmpl
@@ -34,11 +34,11 @@
<table class="ui unstackable striped very compact small selectable table">
<tbody>
{{range $notification := .Notifications}}
- {{$issue := $notification.GetIssue}}
- {{$repo := $notification.GetRepo}}
+ {{$issue := $notification.Issue}}
+ {{$repo := $notification.Repository}}
{{$repoOwner := $repo.MustOwner}}
- <tr data-href="{{AppSubUrl}}/{{$repoOwner.Name}}/{{$repo.Name}}/issues/{{$issue.Index}}">
+ <tr data-href="{{$notification.HTMLURL}}">
<td class="collapsing">
{{if eq $notification.Status 3}}
<i class="blue octicon octicon-pin"></i>
@@ -61,7 +61,7 @@
{{end}}
</td>
<td class="eleven wide">
- <a class="item" href="{{AppSubUrl}}/{{$repoOwner.Name}}/{{$repo.Name}}/issues/{{$issue.Index}}">
+ <a class="item" href="{{$notification.HTMLURL}}">
#{{$issue.Index}} - {{$issue.Title}}
</a>
</td>