mirror of
1
Fork 0
forgejo/public/less
Mario Lubenka 311ce2d1d0 Compare branches, commits and tags with each other (#6991)
* Supports tags when comparing commits or branches

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Hide headline when only comparing and don't load unused data

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Merges compare logics to allow comparing branches, commits and tags with eachother

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Display branch or tag instead of commit when used for comparing

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Show pull request form after click on button

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Transfers relevant pull.go changes from master to compare.go

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Fixes error when comparing forks against a commit or tag

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Removes console.log from JavaScript file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Show icon next to commit reference when comparing branch or tag

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Updates css file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Fixes import order

* Renames template variable

* Update routers/repo/compare.go

Co-Authored-By: zeripath <art27@cantab.net>

* Update from master

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Allow short-shas in compare

* Renames prInfo to compareInfo

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Check PR permissions only if compare is pull request

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adjusts comment

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Use compareInfo instead of prInfo
2019-06-07 16:29:29 -04:00
..
themes Add less linter via npx (#6936) 2019-05-14 08:54:23 +08:00
_admin.less Fix code overflow (#6914) 2019-05-14 12:02:59 -04:00
_base.less Add less linter via npx (#6936) 2019-05-14 08:54:23 +08:00
_dashboard.less Add less linter via npx (#6936) 2019-05-14 08:54:23 +08:00
_editor.less Add less linter via npx (#6936) 2019-05-14 08:54:23 +08:00
_emojify.less Allow labels to contain emoji (#6063) 2019-02-16 19:33:09 +02:00
_explore.less Repository avatars (#6986) 2019-05-29 22:22:26 -04:00
_form.less Add less linter via npx (#6936) 2019-05-14 08:54:23 +08:00
_home.less Add less linter via npx (#6936) 2019-05-14 08:54:23 +08:00
_install.less Clean less files (#6921) 2019-05-13 07:26:32 +01:00
_markdown.less Add less linter via npx (#6936) 2019-05-14 08:54:23 +08:00
_organization.less Add less linter via npx (#6936) 2019-05-14 08:54:23 +08:00
_repository.less Compare branches, commits and tags with each other (#6991) 2019-06-07 16:29:29 -04:00
_review.less Add less linter via npx (#6936) 2019-05-14 08:54:23 +08:00
_tribute.less Add less linter via npx (#6936) 2019-05-14 08:54:23 +08:00
_user.less Style orgs list in user profile (#6911) 2019-05-13 23:52:58 +03:00
index.less Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00