]> source.dussan.org Git - gitea.git/commit
Support view individual commit for wiki pages (#11415)
authormrsdizzie <info@mrsdizzie.com>
Sat, 16 May 2020 16:38:40 +0000 (12:38 -0400)
committerGitHub <noreply@github.com>
Sat, 16 May 2020 16:38:40 +0000 (19:38 +0300)
commitb2b86ea8701cab901cd9e6a02c918aa5c61748d6
tree14b590e7681a107ba6f5cf2cabcea8a4a4b4aaa4
parent6603045476e42d24606c82d5a6d740f8c06aa059
Support view individual commit for wiki pages (#11415)

Currently you can see a list of commit history for wiki pages but aren't able to view the commit diff itself. This adds the feature to view an individual commit to a wiki repo.

Closes #8999

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
routers/repo/commit.go
routers/repo/wiki.go
routers/routes/routes.go
templates/repo/commit_page.tmpl
templates/repo/commits_list.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/options_dropdown.tmpl