You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates
Norwin 9c6aeb47f7
Link to previous blames in file blame page (#16259)
Adds a link to each blame hunk, to view the blame of an earlier version of the file, similar to GitHub. Also refactors the blame render from fmtstring based to template based.

* Fix blame bottom line and add blame prior button

* Jump to previous parent commit from the commit.

* Fix previous commit link

* Fix previous blame link

* Fix the given file not exist in the previous commit.

* Fix blameRow struct not export

* fix theming issues, rename template var

* remove unused LastCommit fetch

* fix location of blame-hunk divider

* rewrite previous commit checks

* remove duplicate commit lookup

its already resolved and stored in ctx.Repo.Commit!

* split out blamePart processing into function

Co-authored-by: rogerluo410 <rogerluo410@gmail.com>
4 years ago
..
admin Make allowed Visiblity modes configurable for Users (#16271) 4 years ago
base Fix typo and add TODO notice (#16064) 4 years ago
custom Add footer extra links template (#9576) 5 years ago
explore Issue sidebar and misc css fixes (#15524) 4 years ago
mail Fix Nits (#16234) 4 years ago
org Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago
repo Link to previous blames in file blame page (#16259) 4 years ago
shared Remove branch URL before IssueRefURL (#15968) 4 years ago
status Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago
swagger Add Visible modes function from Organisation to Users too (#16069) 4 years ago
user Make allowed Visiblity modes configurable for Users (#16271) 4 years ago
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago
install.tmpl Remove utf8 option from installation page (#16126) 4 years ago
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 4 years ago