Feature #5005 » roadmap.rhtml.diff
app/views/projects/roadmap.rhtml (working copy) | ||
---|---|---|
5 | 5 |
<% else %> |
6 | 6 |
<div id="roadmap"> |
7 | 7 |
<% @versions.each do |version| %> |
8 |
<% if version.open? %> |
|
9 |
<div class="contextual"> |
|
10 |
<%= link_to_if_authorized l(:label_issue_new), |
|
11 |
{:controller => 'issues', :action => 'new', :project_id => @project, 'issue[fixed_version_id]' => version}, |
|
12 |
:class => 'icon icon-add' %> |
|
13 |
</div> |
|
14 |
<% end %> |
|
8 | 15 |
<h3 class="version"><%= tag 'a', :name => version.name %><%= link_to_version version %></h3> |
9 | 16 |
<%= render :partial => 'versions/overview', :locals => {:version => version} %> |
10 | 17 |
<%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %> |