debian-mirror-gitlab/app/views/projects/compare/index.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
827 B
Text
Raw Normal View History

2020-07-28 23:09:34 +05:30
- breadcrumb_title _("Compare Revisions")
- page_title _("Compare")
2014-09-02 18:07:02 +05:30
2022-07-23 23:45:48 +05:30
%h1.page-title.gl-font-size-h-display
2019-12-04 20:38:33 +05:30
= _("Compare Git revisions")
2022-07-23 23:45:48 +05:30
%div
2021-06-08 01:23:25 +05:30
- example_branch = capture do
%code.ref-name= @project.default_branch_or_main
2019-12-04 20:38:33 +05:30
- example_sha = capture do
%code.ref-name 4eedf23
2022-01-26 12:08:38 +05:30
= html_escape(_("To see what's changed or create a merge request, choose a branch or tag (like %{branch}), or enter a commit (like %{sha}).")) % { branch: example_branch.html_safe, sha: example_sha.html_safe }
2019-12-04 20:38:33 +05:30
%br
2020-10-24 23:57:45 +05:30
= html_escape(_("Changes are shown as if the %{b_open}source%{b_close} revision was being merged into the %{b_open}target%{b_close} revision.")) % { b_open: '<b>'.html_safe, b_close: '</b>'.html_safe }
2014-09-02 18:07:02 +05:30
2019-12-04 20:38:33 +05:30
.prepend-top-20
2022-04-04 11:22:00 +05:30
#js-compare-selector{ data: project_compare_selector_data(@project, @merge_request, @compare_params) }