|
47 | 47 | <td class="lines-type-marker lines-type-marker-old del-code"><span class="gt-mono" data-type-marker="{{$line.GetLineTypeMarker}}"></span></td>
|
48 | 48 | <td class="lines-code lines-code-old del-code">{{/*
|
49 | 49 | */}}{{if and $.root.SignedUserID $.root.PageIsPullFiles}}{{/*
|
50 |
| - */}}<button type="button" aria-label="{{ctx.Locale.Tr "repo.diff.comment.add_line_comment"}}" class="ui primary button add-code-comment add-code-comment-left{{if (not $line.CanComment)}} gt-invisible{{end}}" data-side="left" data-idx="{{$line.LeftIdx}}">{{/* |
| 50 | + */}}<button type="button" aria-label="{{ctx.Locale.Tr "repo.diff.comment.add_line_comment"}}" class="ui primary button add-code-comment add-code-comment-left{{if (not $line.CanComment)}} tw-invisible{{end}}" data-side="left" data-idx="{{$line.LeftIdx}}">{{/* |
51 | 51 | */}}{{svg "octicon-plus"}}{{/*
|
52 | 52 | */}}</button>{{/*
|
53 | 53 | */}}{{end}}{{/*
|
|
62 | 62 | <td class="lines-type-marker lines-type-marker-new add-code">{{if $match.RightIdx}}<span class="gt-mono" data-type-marker="{{$match.GetLineTypeMarker}}"></span>{{end}}</td>
|
63 | 63 | <td class="lines-code lines-code-new add-code">{{/*
|
64 | 64 | */}}{{if and $.root.SignedUserID $.root.PageIsPullFiles}}{{/*
|
65 |
| - */}}<button type="button" aria-label="{{ctx.Locale.Tr "repo.diff.comment.add_line_comment"}}" class="ui primary button add-code-comment add-code-comment-right{{if (not $match.CanComment)}} gt-invisible{{end}}" data-side="right" data-idx="{{$match.RightIdx}}">{{/* |
| 65 | + */}}<button type="button" aria-label="{{ctx.Locale.Tr "repo.diff.comment.add_line_comment"}}" class="ui primary button add-code-comment add-code-comment-right{{if (not $match.CanComment)}} tw-invisible{{end}}" data-side="right" data-idx="{{$match.RightIdx}}">{{/* |
66 | 66 | */}}{{svg "octicon-plus"}}{{/*
|
67 | 67 | */}}</button>{{/*
|
68 | 68 | */}}{{end}}{{/*
|
|
79 | 79 | <td class="lines-type-marker lines-type-marker-old">{{if $line.LeftIdx}}<span class="gt-mono" data-type-marker="{{$line.GetLineTypeMarker}}"></span>{{end}}</td>
|
80 | 80 | <td class="lines-code lines-code-old">{{/*
|
81 | 81 | */}}{{if and $.root.SignedUserID $.root.PageIsPullFiles (not (eq .GetType 2))}}{{/*
|
82 |
| - */}}<button type="button" aria-label="{{ctx.Locale.Tr "repo.diff.comment.add_line_comment"}}" class="ui primary button add-code-comment add-code-comment-left{{if (not $line.CanComment)}} gt-invisible{{end}}" data-side="left" data-idx="{{$line.LeftIdx}}">{{/* |
| 82 | + */}}<button type="button" aria-label="{{ctx.Locale.Tr "repo.diff.comment.add_line_comment"}}" class="ui primary button add-code-comment add-code-comment-left{{if (not $line.CanComment)}} tw-invisible{{end}}" data-side="left" data-idx="{{$line.LeftIdx}}">{{/* |
83 | 83 | */}}{{svg "octicon-plus"}}{{/*
|
84 | 84 | */}}</button>{{/*
|
85 | 85 | */}}{{end}}{{/*
|
|
94 | 94 | <td class="lines-type-marker lines-type-marker-new">{{if $line.RightIdx}}<span class="gt-mono" data-type-marker="{{$line.GetLineTypeMarker}}"></span>{{end}}</td>
|
95 | 95 | <td class="lines-code lines-code-new">{{/*
|
96 | 96 | */}}{{if and $.root.SignedUserID $.root.PageIsPullFiles (not (eq .GetType 3))}}{{/*
|
97 |
| - */}}<button type="button" aria-label="{{ctx.Locale.Tr "repo.diff.comment.add_line_comment"}}" class="ui primary button add-code-comment add-code-comment-right{{if (not $line.CanComment)}} gt-invisible{{end}}" data-side="right" data-idx="{{$line.RightIdx}}">{{/* |
| 97 | + */}}<button type="button" aria-label="{{ctx.Locale.Tr "repo.diff.comment.add_line_comment"}}" class="ui primary button add-code-comment add-code-comment-right{{if (not $line.CanComment)}} tw-invisible{{end}}" data-side="right" data-idx="{{$line.RightIdx}}">{{/* |
98 | 98 | */}}{{svg "octicon-plus"}}{{/*
|
99 | 99 | */}}</button>{{/*
|
100 | 100 | */}}{{end}}{{/*
|
|
0 commit comments