forked from forgejo/forgejo
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:
parent
de5b368bca
commit
73b4010fcd
3 changed files with 19 additions and 39 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue