mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
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>
This commit is contained in:
@@ -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">
|
||||
|
Reference in New Issue
Block a user