OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/views/repositories/_checkout_instructions.html...

33 lines
1.2 KiB

<div id="repository--checkout-instructions" class="notification-box -info">
<% unless embedded %>
<a href="javscript:" class="notification-box--close">&times;</a>
<% end %>
<div class="notification-box--content">
<p>
<%= simple_format instructions.instructions %>
<% if instructions.manages_permissions? %>
<br/>
<span><%= l('repositories.checkout.access_permission') %>:</span>
<strong><%= l("repositories.checkout.access.#{instructions.permission}") %></strong>
<% end %>
</p>
<% if embedded %>
<div class="repository--checkout-instructions--url">
<form class="form">
<div class="form--field">
<div class="form--field-container">
<div class="form--field-affix">
<%= instructions.checkout_command %>
</div>
<div class="form--text-field-container -xwide">
<input type="text" class="form--text-field -clickable"
onclick="this.focus(); this.select()"
readonly="readonly" value="<%= instructions.checkout_url %>">
</div>
</div>
</div>
</form>
</div>
<% end %>
</div>
</div>