summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2023-03-25 14:37:34 -0500
committerGitHub <noreply@github.com>2023-03-25 14:37:34 -0500
commit73b4010fcd93e921b626a6f51de7a148de276283 (patch)
tree174de0120d013823b67d25736f1acce2cf2fa13b /templates
parentde5b368bca20122e374a81efcdf81caae5e33f2c (diff)
downloadgitea-73b4010fcd93e921b626a6f51de7a148de276283.tar.gz
gitea-73b4010fcd93e921b626a6f51de7a148de276283.zip
Remove row clicking from notification table (#22695)
Resolves #22692 I don't think there's a need for this entire row to be clickable (and even different links depending on which segment you click) The links still point to the same spot, so no information is lost here. --------- Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/user/notification/notification_div.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/user/notification/notification_div.tmpl b/templates/user/notification/notification_div.tmpl
index 9a4fbe786e..101e4d24e4 100644
--- a/templates/user/notification/notification_div.tmpl
+++ b/templates/user/notification/notification_div.tmpl
@@ -35,7 +35,7 @@
{{$issue := .Issue}}
{{$repo := .Repository}}
<tr id="notification_{{.ID}}">
- <td class="collapsing gt-pl-4" data-href="{{.Link}}">
+ <td class="collapsing gt-pl-4">
{{if eq .Status 3}}
{{svg "octicon-pin" 16 "text blue"}}
{{else if not $issue}}
@@ -58,7 +58,7 @@
{{end}}
{{end}}
</td>
- <td class="eleven wide" data-href="{{.Link}}">
+ <td class="eleven wide">
<a class="item" href="{{.Link}}">
{{if $issue}}
#{{$issue.Index}} - {{$issue.Title}}
@@ -67,7 +67,7 @@
{{end}}
</a>
</td>
- <td data-href="{{$repo.Link}}">
+ <td>
<a class="item" href="{{$repo.Link}}">{{$repo.FullName}}</a>
</td>
<td class="collapsing">