forgejo/templates/repo/diff
zokki 64193310ee fix(ui): compare branches even with pull requests disabled (#8496)
Resolves #8428

Its currently showing the diff of two branches, even if the PR-unit is disabled. But the POST to create the PR is still returning an error when the unit is disabled, so its only a change for UI.

Preview:
https://codeberg.org/attachments/610d6b81-a50f-4c43-91c2-db4c38e7b701

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8496
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: zokki <zokki.softwareschmiede@gmail.com>
Co-committed-by: zokki <zokki.softwareschmiede@gmail.com>
2025-08-03 06:19:45 +02:00
..
blob_excerpt.tmpl
box.tmpl Implement single-commit PR review flow (#7155) 2025-06-17 09:31:50 +02:00
comment_form.tmpl fix: no notification for replies to pending comments (#7167) 2025-03-09 15:07:12 +00:00
comment_form_datahandler.tmpl
comments.tmpl
compare.tmpl fix(ui): compare branches even with pull requests disabled (#8496) 2025-08-03 06:19:45 +02:00
conversation.tmpl
conversations.tmpl
csv_diff.tmpl
escape_title.tmpl
image_diff.tmpl
new_comment.tmpl
new_review.tmpl Implement single-commit PR review flow (#7155) 2025-06-17 09:31:50 +02:00
options_dropdown.tmpl
section_code.tmpl
section_split.tmpl
section_unified.tmpl
stats.tmpl
whitespace_dropdown.tmpl