mirror of
1
Fork 0
Commit Graph

4 Commits

Author SHA1 Message Date
wxiaoguang 597b04fe2f
Backport ctx locale refactoring manually () () ()
Backport   manually

---------

Co-authored-by: delvh <dev.lh@web.de>
2023-09-25 13:15:51 +00:00
wxiaoguang 5914a2f8c0
Fix template bugs in recently_pushed_new_branches.tmpl ()
Fix some bugs from , fix 

1. `$.locale.Tr ... Safe` needs `Escape`, but not `PathEscapeSegments`
2. The attribute should be `role`
3. The `ComposeBranchCompareURL` already does escaping correctly
2023-08-27 08:16:02 +08:00
Zettat123 9a65d011f6
Some fixes of the prompt of new branches ()
Related to 

This PR makes some fixes:
- do not show the prompt for mirror repos and repos with pull request
units disabled
- use `commit_time` instead of `updated_unix`, as `commit_time` is the
real time when the branch was pushed
2023-08-01 07:25:11 +00:00
Lunny Xiao 6375419468
Newly pushed branches hints on repository home page ()
This PR will display a pull request creation hint on the repository home
page when there are newly created branches with no pull request. Only
the recent 6 hours and 2 updated branches will be displayed.

Inspired by  
Replace  
Resolves 
Resolves 
Resolves 

co-authored by @kolaente
2023-07-08 05:19:00 +02:00