comparison app/views/versions/show.rhtml @ 441:cbce1fd3b1b7 redmine-1.2

Update to Redmine 1.2-stable branch (Redmine SVN rev 6000)
author Chris Cannam
date Mon, 06 Jun 2011 14:24:13 +0100
parents 94944d00e43c
children
comparison
equal deleted inserted replaced
245:051f544170fe 441:cbce1fd3b1b7
3 <%= link_to_if_authorized(l(:button_edit_associated_wikipage, :page_title => @version.wiki_page_title), {:controller => 'wiki', :action => 'edit', :project_id => @version.project, :id => Wiki.titleize(@version.wiki_page_title)}, :class => 'icon icon-edit') unless @version.wiki_page_title.blank? || @version.project.wiki.nil? %> 3 <%= link_to_if_authorized(l(:button_edit_associated_wikipage, :page_title => @version.wiki_page_title), {:controller => 'wiki', :action => 'edit', :project_id => @version.project, :id => Wiki.titleize(@version.wiki_page_title)}, :class => 'icon icon-edit') unless @version.wiki_page_title.blank? || @version.project.wiki.nil? %>
4 <%= call_hook(:view_versions_show_contextual, { :version => @version, :project => @project }) %> 4 <%= call_hook(:view_versions_show_contextual, { :version => @version, :project => @project }) %>
5 </div> 5 </div>
6 6
7 <h2><%= h(@version.name) %></h2> 7 <h2><%= h(@version.name) %></h2>
8
9 <div id="roadmap">
10 <%= render :partial => 'versions/overview', :locals => {:version => @version} %>
11 <%= render(:partial => "wiki/content", :locals => {:content => @version.wiki_page.content}) if @version.wiki_page %>
8 12
9 <div id="version-summary"> 13 <div id="version-summary">
10 <% if @version.estimated_hours > 0 || User.current.allowed_to?(:view_time_entries, @project) %> 14 <% if @version.estimated_hours > 0 || User.current.allowed_to?(:view_time_entries, @project) %>
11 <fieldset><legend><%= l(:label_time_tracking) %></legend> 15 <fieldset><legend><%= l(:label_time_tracking) %></legend>
12 <table> 16 <table>
27 <div id="status_by"> 31 <div id="status_by">
28 <%= render_issue_status_by(@version, params[:status_by]) if @version.fixed_issues.count > 0 %> 32 <%= render_issue_status_by(@version, params[:status_by]) if @version.fixed_issues.count > 0 %>
29 </div> 33 </div>
30 </div> 34 </div>
31 35
32 <div id="roadmap">
33 <%= render :partial => 'versions/overview', :locals => {:version => @version} %>
34 <%= render(:partial => "wiki/content", :locals => {:content => @version.wiki_page.content}) if @version.wiki_page %>
35
36 <% if @issues.present? %> 36 <% if @issues.present? %>
37 <fieldset class="related-issues"><legend><%= l(:label_related_issues) %></legend> 37 <% form_tag({}) do -%>
38 <ul> 38 <table class="list related-issues">
39 <% @issues.each do |issue| -%> 39 <caption><%= l(:label_related_issues) %></caption>
40 <li><%= link_to_issue(issue) %></li> 40 <%- @issues.each do |issue| -%>
41 <% end -%> 41 <tr class="hascontextmenu">
42 </ul> 42 <td class="checkbox"><%= check_box_tag 'ids[]', issue.id %></td>
43 </fieldset> 43 <td><%= link_to_issue(issue, :project => (@project != issue.project)) %></td>
44 </tr>
45 <% end %>
46 </table>
47 <% end %>
48 <%= context_menu issues_context_menu_path %>
44 <% end %> 49 <% end %>
45 </div> 50 </div>
46 51
47 <%= call_hook :view_versions_show_bottom, :version => @version %> 52 <%= call_hook :view_versions_show_bottom, :version => @version %>
48 53