I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

0001-Hide-new-repository-button-when-disabled.patch

Elektritter Messinger, 06 May 2014 12:12

Download (1.08 KB)

View differences:

app/views/repositories/_form.html.erb
24 24
</div>
25 25

  
26 26
<p>
27
  <%= submit_tag(@repository.new_record? ? l(:button_create) : l(:button_save), :id => 'repository_save', :disabled => button_disabled) %>
28
    <%= link_to l(:button_cancel), settings_project_path(@project, :tab => 'repositories') %>
27
  <% unless button_disabled %>
28
    <%= submit_tag(@repository.new_record? ? l(:button_create) : l(:button_save), :id => 'repository_save', :disabled => button_disabled) %>
29
  <% end %>
30
  <%= link_to l(:button_cancel), settings_project_path(@project, :tab => 'repositories') %>
29 31
</p>
30
- 
Terms of use | Privacy policy