gitlab-org--gitlab-foss/app/views/projects/compare/index.html.haml

19 lines
671 B
Text
Raw Normal View History

2016-06-03 14:09:45 -04:00
- @no_container = true
- breadcrumb_title "Compare Revisions"
2015-04-30 13:06:18 -04:00
- page_title "Compare"
2016-06-30 09:01:26 -04:00
%div{ class: container_class }
%h3.page-title
= _("Compare Git revisions")
.sub-header-block
- example_master = capture do
%code.ref-name master
- example_sha = capture do
%code.ref-name 4eedf23
2018-01-03 08:46:06 -05:00
= (_("Choose a branch/tag (e.g. %{master}) or enter a commit (e.g. %{sha}) to see what's changed or to create a merge request.") % { master: example_master, sha: example_sha }).html_safe
2016-06-03 14:09:45 -04:00
%br
2018-01-03 08:46:06 -05:00
= (_("Changes are shown as if the <b>source</b> revision was being merged into the <b>target</b> revision.")).html_safe
2016-06-03 14:09:45 -04:00
.prepend-top-20
= render "form"