forgejo/web_src/less
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
..
chroma Improve Light Chroma style (#15699) 2021-05-02 22:43:08 -04:00
code Fix and restyle menu on code line (#15913) 2021-05-18 23:16:02 -04:00
features Use a generic markup class to display externally rendered files and diffs (#15735) 2021-05-07 10:43:41 +02:00
markup Use a generic markup class to display externally rendered files and diffs (#15735) 2021-05-07 10:43:41 +02:00
shared Issue list alignment tweaks (#15483) 2021-05-05 12:57:59 -04:00
standalone
themes Link to previous blames in file blame page (#16259) 2021-06-28 01:13:20 +02:00
_admin.less
_base.less Link to previous blames in file blame page (#16259) 2021-06-28 01:13:20 +02:00
_dashboard.less
_editor.less Issue sidebar and misc css fixes (#15524) 2021-05-16 22:18:18 +02:00
_explore.less
_font_i18n.less
_form.less
_home.less
_install.less
_organization.less
_repository.less Remove fomantic accordion module (#15951) 2021-05-23 08:45:39 +08:00
_review.less Add scroll-margin-top to account for sticky header (#16269) 2021-06-27 15:36:49 +01:00
_svg.less
_tribute.less
_user.less Remove remaining fontawesome usage in templates (#15952) 2021-05-22 23:29:46 +02:00
helpers.less Issue sidebar and misc css fixes (#15524) 2021-05-16 22:18:18 +02:00
index.less Fix and restyle menu on code line (#15913) 2021-05-18 23:16:02 -04:00
misc.css Raw file view tweaks (#15520) 2021-04-22 23:43:44 +02:00
variables.less