diff options
author | Jimmy Praet <jimmy.praet@telenet.be> | 2021-06-27 21:57:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-27 20:57:01 +0100 |
commit | fe66b612b5234142304cd7c6c97a14017bca066c (patch) | |
tree | e97b7c63324e9686edc28375b6dad8494bb34970 /templates/repo/diff | |
parent | 9b1b4b543358c212a3da2b480d361d0c1375b279 (diff) | |
download | gitea-fe66b612b5234142304cd7c6c97a14017bca066c.tar.gz gitea-fe66b612b5234142304cd7c6c97a14017bca066c.zip |
Add previous/next buttons to review comments (#16273)
Co-authored-by: Norwin <noerw@users.noreply.github.com>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates/repo/diff')
-rw-r--r-- | templates/repo/diff/conversation.tmpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/repo/diff/conversation.tmpl b/templates/repo/diff/conversation.tmpl index ea268c5c17..5ae44e600e 100644 --- a/templates/repo/diff/conversation.tmpl +++ b/templates/repo/diff/conversation.tmpl @@ -27,6 +27,14 @@ </ui> </div> <div class="df je ac fw mt-3"> + <div class="ui buttons mr-2"> + <button class="ui icon tiny basic button previous-conversation"> + {{svg "octicon-arrow-up"}} {{$.i18n.Tr "repo.issues.previous"}} + </button> + <button class="ui icon tiny basic button next-conversation"> + {{svg "octicon-arrow-down"}} {{$.i18n.Tr "repo.issues.next"}} + </button> + </div> {{if and $.CanMarkConversation $isNotPending}} <button class="ui icon tiny basic button resolve-conversation" data-origin="diff" data-action="{{if not $resolved}}Resolve{{else}}UnResolve{{end}}" data-comment-id="{{(index .comments 0).ID}}" data-update-url="{{$.RepoLink}}/issues/resolve_conversation"> {{if $resolved}} |