mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 23:05:39 +03:00
9c6aeb47f7
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> |
||
---|---|---|
.. | ||
chroma | ||
code | ||
features | ||
markup | ||
shared | ||
standalone | ||
themes | ||
_admin.less | ||
_base.less | ||
_dashboard.less | ||
_editor.less | ||
_explore.less | ||
_font_i18n.less | ||
_form.less | ||
_home.less | ||
_install.less | ||
_organization.less | ||
_repository.less | ||
_review.less | ||
_svg.less | ||
_tribute.less | ||
_user.less | ||
helpers.less | ||
index.less | ||
misc.css | ||
variables.less |