]> source.dussan.org Git - gitea.git/commit
Show dropdown with all statuses for commit (#13977)
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>
Sun, 20 Dec 2020 03:13:12 +0000 (04:13 +0100)
committerGitHub <noreply@github.com>
Sun, 20 Dec 2020 03:13:12 +0000 (11:13 +0800)
commitf3c4baa84b8fa7afb3eab137b4c5e3544bd9e761
treeb45be56f4fc8a5d1da04649ab2baa7a6a19eefe9
parent029836c34c75a277e1e1309f590905a71e5d312a
Show dropdown with all statuses for commit (#13977)

* Show dropdown with all statuses for commit

* Use popups

* Remove unnecessary change

* Style popup

* Use divided list

* As per @silverwind

* Refactor GetLastCommitStatus

* Missing dropdown on repo home and commit page

* Fix tests

* Make status icon be a part of a link on PR list

* Fix missing translation call

* Indent fix

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
18 files changed:
integrations/repo_commits_test.go
models/commit_status.go
routers/repo/blame.go
routers/repo/commit.go
routers/repo/issue.go
routers/repo/view.go
routers/user/home.go
services/pull/pull.go
templates/repo/commit_page.tmpl
templates/repo/commit_status.tmpl
templates/repo/commit_statuses.tmpl [new file with mode: 0644]
templates/repo/commits_list.tmpl
templates/repo/commits_list_small.tmpl
templates/repo/view_list.tmpl
templates/shared/issuelist.tmpl
web_src/js/index.js
web_src/less/_base.less
web_src/less/_repository.less