diff --git a/app/views/projects/settings/_versions.html.erb b/app/views/projects/settings/_versions.html.erb index 719d6a1d45..47c59fa9f3 100644 --- a/app/views/projects/settings/_versions.html.erb +++ b/app/views/projects/settings/_versions.html.erb @@ -154,15 +154,13 @@ See doc/COPYRIGHT.rdoc for more details.
- <% if @project.versions.any? %> - - <% end %> + <% else %> <%= no_results_box(action_url: new_project_version_path(@project), display_action: authorize_for('versions', 'new')) %> <% end %>