summaryrefslogtreecommitdiffstats
path: root/templates/repo/code
Commit message (Collapse)AuthorAgeFilesLines
* Backport ctx locale refactoring manually (#27231) (#27259) (#27260)wxiaoguang2023-09-251-3/+3
| | | | | | | Backport #27231 #27259 manually --------- Co-authored-by: delvh <dev.lh@web.de>
* Fix template bugs in recently_pushed_new_branches.tmpl (#26744)wxiaoguang2023-08-271-2/+2
| | | | | | | Fix some bugs from #25715, fix #25830 1. `$.locale.Tr ... Safe` needs `Escape`, but not `PathEscapeSegments` 2. The attribute should be `role` 3. The `ComposeBranchCompareURL` already does escaping correctly
* Some fixes of the prompt of new branches (#26257)Zettat1232023-08-011-1/+1
| | | | | | | | | Related to #26239 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
* Newly pushed branches hints on repository home page (#25715)Lunny Xiao2023-07-081-0/+11
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 #14003 Replace #14003 Resolves #311 Resolves #13196 Resolves #23743 co-authored by @kolaente