diff --git a/app/views/repositories/_checkout_instructions.html.erb b/app/views/repositories/_checkout_instructions.html.erb index bcd49ba5cb..6b2e3b3268 100644 --- a/app/views/repositories/_checkout_instructions.html.erb +++ b/app/views/repositories/_checkout_instructions.html.erb @@ -27,9 +27,7 @@ See doc/COPYRIGHT.rdoc for more details. ++#%>
- <% unless embedded %> - - <% end %> +

<%= simple_format instructions.instructions %> @@ -39,23 +37,5 @@ See doc/COPYRIGHT.rdoc for more details. <%= l("repositories.checkout.access.#{instructions.permission}") %> <% end %>

- <% if embedded %> -
-
-
-
-
- <%= instructions.checkout_command %> -
-
- -
-
-
-
-
- <% end %>
diff --git a/app/views/repositories/_repository_header.html.erb b/app/views/repositories/_repository_header.html.erb index ca136902a8..1d6f2f753e 100644 --- a/app/views/repositories/_repository_header.html.erb +++ b/app/views/repositories/_repository_header.html.erb @@ -80,7 +80,7 @@ See doc/COPYRIGHT.rdoc for more details. <% if @instructions && @instructions.available? %> <%= render partial: 'checkout_instructions', - locals: { repository: @repository, instructions: @instructions, embedded: false } %> + locals: { repository: @repository, instructions: @instructions } %> <% end %>