Skip to content

Commit 9ce8aa5

Browse files
Gustedearl-warren
authored andcommitted
[GITEA] Add anchor to review types
- The review type '22' is a general comment type that is attached to single codecomments, reviews with multiple comments or to simple approve and request changes comment. This comment can be used to create a link towards this action on an pull request. - Adds an anchor to the review comment type, so that when its getting linked to it, it actually jumps towards that event. - This also now fixes the behavior that after you created a review you will be redirected to that review and because this is an general comment type other mails will also be 'fixed' such as the approved or request changes. - Resolves https://codeberg.org/forgejo/forgejo/issues/1248 (cherry picked from commit b0c3075a794be3ccc768b5018f56ace6f12c11e1) (cherry picked from commit f61505281ced3b19fb76267b81aef0939629bfb4) (cherry picked from commit 1741a5f1fe6adc68bb5f87bdd1c5bdc5bfaa45c7) (cherry picked from commit 5ee4cf2ed952f043cf2d9d5546d7a6c24c6c1ee7) (cherry picked from commit 601f00e5306133fc49488f664ded1b346b5894ff)
1 parent 61d6ae4 commit 9ce8aa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/view_content/comments.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@
364364
{{end}}
365365
</div>
366366
{{else if eq .Type 22}}
367-
<div class="timeline-item-group">
367+
<div class="timeline-item-group" id="{{.HashTag}}">
368368
<div class="timeline-item event">
369369
{{if .OriginalAuthor}}
370370
{{else}}

0 commit comments

Comments
 (0)