|
|
@ -15,7 +15,7 @@ |
|
|
|
<form action="{{AppSubUrl}}/notifications/purge" method="post"> |
|
|
|
<form action="{{AppSubUrl}}/notifications/purge" method="post"> |
|
|
|
{{$.CsrfTokenHtml}} |
|
|
|
{{$.CsrfTokenHtml}} |
|
|
|
<div class="{{if not $notificationUnreadCount}}gt-hidden{{end}}"> |
|
|
|
<div class="{{if not $notificationUnreadCount}}gt-hidden{{end}}"> |
|
|
|
<button class="ui mini button primary gt-mr-0" title='{{$.locale.Tr "notification.mark_all_as_read"}}'> |
|
|
|
<button class="ui mini button primary gt-mr-0" title="{{$.locale.Tr "notification.mark_all_as_read"}}"> |
|
|
|
{{svg "octicon-checklist"}} |
|
|
|
{{svg "octicon-checklist"}} |
|
|
|
</button> |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -74,7 +74,7 @@ |
|
|
|
{{$.CsrfTokenHtml}} |
|
|
|
{{$.CsrfTokenHtml}} |
|
|
|
<input type="hidden" name="notification_id" value="{{.ID}}"> |
|
|
|
<input type="hidden" name="notification_id" value="{{.ID}}"> |
|
|
|
<input type="hidden" name="status" value="pinned"> |
|
|
|
<input type="hidden" name="status" value="pinned"> |
|
|
|
<button class="btn interact-bg gt-p-3" title='{{$.locale.Tr "notification.pin"}}' |
|
|
|
<button class="btn interact-bg gt-p-3" title="{{$.locale.Tr "notification.pin"}}" |
|
|
|
data-url="{{AppSubUrl}}/notifications/status" |
|
|
|
data-url="{{AppSubUrl}}/notifications/status" |
|
|
|
data-status="pinned" |
|
|
|
data-status="pinned" |
|
|
|
data-page="{{$.Page.Paginater.Current}}" |
|
|
|
data-page="{{$.Page.Paginater.Current}}" |
|
|
@ -90,7 +90,7 @@ |
|
|
|
<input type="hidden" name="notification_id" value="{{.ID}}"> |
|
|
|
<input type="hidden" name="notification_id" value="{{.ID}}"> |
|
|
|
<input type="hidden" name="status" value="read"> |
|
|
|
<input type="hidden" name="status" value="read"> |
|
|
|
<input type="hidden" name="page" value="{{$.Page.Paginater.Current}}"> |
|
|
|
<input type="hidden" name="page" value="{{$.Page.Paginater.Current}}"> |
|
|
|
<button class="btn interact-bg gt-p-3" title='{{$.locale.Tr "notification.mark_as_read"}}' |
|
|
|
<button class="btn interact-bg gt-p-3" title="{{$.locale.Tr "notification.mark_as_read"}}" |
|
|
|
data-url="{{AppSubUrl}}/notifications/status" |
|
|
|
data-url="{{AppSubUrl}}/notifications/status" |
|
|
|
data-status="read" |
|
|
|
data-status="read" |
|
|
|
data-page="{{$.Page.Paginater.Current}}" |
|
|
|
data-page="{{$.Page.Paginater.Current}}" |
|
|
@ -105,7 +105,7 @@ |
|
|
|
<input type="hidden" name="notification_id" value="{{.ID}}"> |
|
|
|
<input type="hidden" name="notification_id" value="{{.ID}}"> |
|
|
|
<input type="hidden" name="status" value="unread"> |
|
|
|
<input type="hidden" name="status" value="unread"> |
|
|
|
<input type="hidden" name="page" value="{{$.Page.Paginater.Current}}"> |
|
|
|
<input type="hidden" name="page" value="{{$.Page.Paginater.Current}}"> |
|
|
|
<button class="btn interact-bg gt-p-3" title='{{$.locale.Tr "notification.mark_as_unread"}}' |
|
|
|
<button class="btn interact-bg gt-p-3" title="{{$.locale.Tr "notification.mark_as_unread"}}" |
|
|
|
data-url="{{AppSubUrl}}/notifications/status" |
|
|
|
data-url="{{AppSubUrl}}/notifications/status" |
|
|
|
data-status="unread" |
|
|
|
data-status="unread" |
|
|
|
data-page="{{$.Page.Paginater.Current}}" |
|
|
|
data-page="{{$.Page.Paginater.Current}}" |
|
|
|