Include "View as patch/diff" links on commit page

Labels: webui

Timeline

Amolith opened

These are just links to the current commit with .patch or .diff appended to the URL. Put them next to the "Browse file tree" link.

Relevant files are likely

  • pkg/web/templates/commit.html
  • pkg/web/webui_commit.go
  • pkg/web/webui.go

Amolith added label webui