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>
2021-06-28 01:13:20 +02:00
..
admin Make allowed Visiblity modes configurable for Users (#16271) 2021-06-27 19:47:35 +01:00
base
custom
explore
mail Fix Nits (#16234) 2021-06-23 19:43:33 +02:00
org
repo Link to previous blames in file blame page (#16259) 2021-06-28 01:13:20 +02:00
shared
status
swagger Add Visible modes function from Organisation to Users too (#16069) 2021-06-26 20:53:14 +01:00
user Make allowed Visiblity modes configurable for Users (#16271) 2021-06-27 19:47:35 +01:00
home.tmpl
install.tmpl
post-install.tmpl