diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-03-28 00:05:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 18:05:51 +0200 |
commit | 31ab331b233d09568d47ffa25ea5516282d8e71b (patch) | |
tree | b973b2cbb4864676242415d89851468f577a8662 /templates/user/notification | |
parent | ec261b63e14f84da3e2d9a6e27c8b831a7750677 (diff) | |
download | gitea-31ab331b233d09568d47ffa25ea5516282d8e71b.tar.gz gitea-31ab331b233d09568d47ffa25ea5516282d8e71b.zip |
Remove incorrect HTML self close tag (#23748)
HTML is not XML.
Diffstat (limited to 'templates/user/notification')
-rw-r--r-- | templates/user/notification/notification_div.tmpl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/user/notification/notification_div.tmpl b/templates/user/notification/notification_div.tmpl index 101e4d24e4..1ea34fe2a6 100644 --- a/templates/user/notification/notification_div.tmpl +++ b/templates/user/notification/notification_div.tmpl @@ -74,8 +74,8 @@ {{if ne .Status 3}} <form action="{{AppSubUrl}}/notifications/status" method="POST"> {{$.CsrfTokenHtml}} - <input type="hidden" name="notification_id" value="{{.ID}}" /> - <input type="hidden" name="status" value="pinned" /> + <input type="hidden" name="notification_id" value="{{.ID}}"> + <input type="hidden" name="status" value="pinned"> <button class="ui mini button" title='{{$.locale.Tr "notification.pin"}}' data-url="{{AppSubUrl}}/notifications/status" data-status="pinned" @@ -91,9 +91,9 @@ {{if or (eq .Status 1) (eq .Status 3)}} <form action="{{AppSubUrl}}/notifications/status" method="POST"> {{$.CsrfTokenHtml}} - <input type="hidden" name="notification_id" value="{{.ID}}" /> - <input type="hidden" name="status" value="read" /> - <input type="hidden" name="page" value="{{$.Page.Paginater.Current}}" /> + <input type="hidden" name="notification_id" value="{{.ID}}"> + <input type="hidden" name="status" value="read"> + <input type="hidden" name="page" value="{{$.Page.Paginater.Current}}"> <button class="ui mini button" title='{{$.locale.Tr "notification.mark_as_read"}}' data-url="{{AppSubUrl}}/notifications/status" data-status="read" @@ -106,9 +106,9 @@ {{else if eq .Status 2}} <form action="{{AppSubUrl}}/notifications/status" method="POST"> {{$.CsrfTokenHtml}} - <input type="hidden" name="notification_id" value="{{.ID}}" /> - <input type="hidden" name="status" value="unread" /> - <input type="hidden" name="page" value="{{$.Page.Paginater.Current}}" /> + <input type="hidden" name="notification_id" value="{{.ID}}"> + <input type="hidden" name="status" value="unread"> + <input type="hidden" name="page" value="{{$.Page.Paginater.Current}}"> <button class="ui mini button" title='{{$.locale.Tr "notification.mark_as_unread"}}' data-url="{{AppSubUrl}}/notifications/status" data-status="unread" |