forgejo-federation/options/locale
yp05327 b693611b35
Don't show new pr button when page is not compare pull (#26431)
Before:

![image](https://github.com/go-gitea/gitea/assets/18380374/ba69252f-3582-414a-9d62-b2b78d7035dd)
After:

![image](https://github.com/go-gitea/gitea/assets/18380374/71b8587c-b96e-48fb-b3e5-1a2a8b5d06fa)
(TestOrg:test is a tag not branch)

Problem:
In the template, we will not add `compare pull` class when
`PageIsComparePull` is false.

a370efc13f/templates/repo/diff/compare.tmpl (L2)
But in the js, we are using `.repository.compare.pull` to find the
button:

a370efc13f/web_src/js/features/repo-legacy.js (L552-L563)
So, if `PageIsComparePull` is false, the `New Pull Request` button will
be there, but has no response when we click it.
2024-01-21 15:13:00 +00:00
..
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_el-GR.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_en-US.ini Don't show new pr button when page is not compare pull (#26431) 2024-01-21 15:13:00 +00:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_fa-IR.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2024-01-07 00:27:22 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_is-IS.ini [skip ci] Updated translations via Crowdin 2023-12-12 00:25:05 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2024-01-07 00:27:22 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_pt-PT.ini [skip ci] Updated translations via Crowdin 2024-01-01 00:27:55 +00:00
locale_ru-RU.ini [skip ci] Updated translations via Crowdin 2023-12-27 00:23:45 +00:00
locale_si-LK.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_sk-SK.ini [skip ci] Updated translations via Crowdin 2023-12-12 00:25:05 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2023-12-26 00:24:05 +00:00
TRANSLATORS Fix missing left and right carets in TRANSLATORS (#21397) 2022-10-10 10:36:37 -04:00