Feature #5005 » patch-5005.diff
app/views/versions/index.html.erb (working copy) | ||
---|---|---|
10 | 10 |
<% else %> |
11 | 11 |
<div id="roadmap"> |
12 | 12 |
<% @versions.each do |version| %> |
13 |
<% if version.open? %> |
|
14 |
<div class="contextual"> |
|
15 |
<%= link_to_if_authorized l(:label_issue_new), |
|
16 |
{:controller => 'issues', :action => 'new', :project_id => @project, 'issue[fixed_version_id]' => version}, |
|
17 |
:class => 'icon icon-add' %> |
|
18 |
</div> |
|
19 |
<% end %> |
|
20 | ||
13 | 21 |
<h3 class="version"><%= link_to_version version, :name => version_anchor(version) %></h3> |
14 | 22 |
<%= render :partial => 'versions/overview', :locals => {:version => version} %> |
15 | 23 |
<%= render(:partial => "wiki/content", |