Adds a 'New version' link on the roadmap.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6169 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2011-07-03 12:56:27 +00:00
1 parent f2af44b6fe
commit 7d658e1477
4 files changed
+10 -3

No files matched your search

+4
View File
@@ -1,3 +1,7 @@
<div class="contextual">
<%= link_to l(:label_version_new), {:controller => 'versions', :action => 'new'}, :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %>
</div>
<h2><%=l(:label_roadmap)%></h2>
<% if @versions.empty? %>