mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 05:39:21 +02:00
When marking notifications read the results may be returned out of order or be delayed. This PR sends a sequence number to gitea so that the browser can ensure that only the results of the latest notification change are shown. Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
1 parent
0f11c5f592
commit
7f6019e492
3 files changed
+15
-5
No files matched your search
@@ -1,4 +1,4 @@
|
||||
<div class="page-content user notification" id="notification_div" data-params="{{.Page.GetParams}}">
|
||||
<div class="page-content user notification" id="notification_div" data-params="{{.Page.GetParams}}" data-sequence-number="{{.SequenceNumber}}">
|
||||
<div class="ui container">
|
||||
<h1 class="ui dividing header">{{.i18n.Tr "notification.notifications"}}</h1>
|
||||
<div class="ui top attached tabular menu">
|
||||
|
||||
Reference in new issue
Block a user