gitea/templates
Lunny Xiao 8373f7deb3
improve the compare page (#36261)
- The compare page head title should be `compare` but not `new pull
request`.
- Use `UnstableGuessRefByShortName` instead of duplicated functions
calls.
- Direct-compare, tags, commits compare will not display `New Pull
Request` button any more.

The new screenshot
<img width="1459" height="391" alt="image"
src="https://github.com/user-attachments/assets/64e9b070-9c0b-41d1-b4b8-233b96270e1b"
/>

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-01-01 10:32:19 -08:00
..
admin Add an option to automatically verify SSH keys from LDAP (#35927) 2025-12-27 12:33:08 +00:00
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Replace CSRF cookie with CrossOriginProtection (#36183) 2025-12-25 12:33:34 +02:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Refactor mail template and support preview (#34990) 2025-07-09 10:25:25 +08:00
explore Forks repository list page follow other repositories page (#34784) 2025-06-21 12:27:25 -07:00
mail Fix various bugs (#35684) 2025-10-19 00:37:50 +08:00
org Replace CSRF cookie with CrossOriginProtection (#36183) 2025-12-25 12:33:34 +02:00
package Replace CSRF cookie with CrossOriginProtection (#36183) 2025-12-25 12:33:34 +02:00
projects Replace CSRF cookie with CrossOriginProtection (#36183) 2025-12-25 12:33:34 +02:00
repo improve the compare page (#36261) 2026-01-01 10:32:19 -08:00
shared Replace CSRF cookie with CrossOriginProtection (#36183) 2025-12-25 12:33:34 +02:00
status Convert locale files from ini to json format (#35489) 2025-12-19 09:50:48 -08:00
swagger refactor: extract helper functions from SearchIssues (#36158) 2025-12-20 17:57:41 -08:00
user Replace CSRF cookie with CrossOriginProtection (#36183) 2025-12-25 12:33:34 +02:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Convert locale files from ini to json format (#35489) 2025-12-19 09:50:48 -08:00
install.tmpl Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
post-install.tmpl Add post-installation redirect based on admin account status (#34493) 2025-06-21 18:48:06 +00:00