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.
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>
3 years ago
..
chroma Improve Light Chroma style (#15699) 3 years ago
code Fix and restyle menu on code line (#15913) 3 years ago
features Use a generic markup class to display externally rendered files and diffs (#15735) 3 years ago
markup Use a generic markup class to display externally rendered files and diffs (#15735) 3 years ago
shared Issue list alignment tweaks (#15483) 3 years ago
standalone Fix tooltips and issue dependency styles (#13458) 4 years ago
themes Link to previous blames in file blame page (#16259) 3 years ago
_admin.less Fix webhook list styling (#14001) 4 years ago
_base.less Link to previous blames in file blame page (#16259) 3 years ago
_dashboard.less Fix dashboard UI bugs and more (#14767) 3 years ago
_editor.less Issue sidebar and misc css fixes (#15524) 3 years ago
_explore.less Branch page and misc css improvements (#15208) 3 years ago
_font_i18n.less Fix CJK fonts again and misc. font issues (#14575) 3 years ago
_form.less Branch page and misc css improvements (#15208) 3 years ago
_home.less fix media query edge case (#13546) 4 years ago
_install.less Reindent Less to 2-space (#12602) 4 years ago
_organization.less Fix margin between avatars on org pages (#15194) 3 years ago
_repository.less Remove fomantic accordion module (#15951) 3 years ago
_review.less Add scroll-margin-top to account for sticky header (#16269) 3 years ago
_svg.less Reindent Less to 2-space (#12602) 4 years ago
_tribute.less Update JS dependencies (#15033) 3 years ago
_user.less Remove remaining fontawesome usage in templates (#15952) 3 years ago
helpers.less Issue sidebar and misc css fixes (#15524) 3 years ago
index.less Fix and restyle menu on code line (#15913) 3 years ago
misc.css Raw file view tweaks (#15520) 3 years ago
variables.less fix media query edge case (#13546) 4 years ago