2016-06-03 14:09:45 -04:00
- @no_container = true
2017-08-18 12:19:23 -04:00
- breadcrumb_title "Compare Revisions"
2015-04-30 13:06:18 -04:00
- page_title "Compare"
2012-09-25 23:13:19 -04:00
2016-06-30 09:01:26 -04:00
%div{ class: container_class }
2017-12-19 18:12:26 -05:00
%h3.page-title
= _("Compare Git revisions")
2016-06-21 14:16:28 -04:00
.sub-header-block
2018-01-03 11:43:01 -05:00
- example_master = capture do
2017-09-12 10:56:22 -04:00
%code.ref-name master
2018-01-03 11:43:01 -05:00
- example_sha = capture do
2017-09-12 10:56:22 -04:00
%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
2012-09-25 23:13:19 -04:00
2016-06-03 14:09:45 -04:00
.prepend-top-20
= render "form"