##// END OF EJS Templates
Merged r3897 from trunk....
Merged r3897 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@3900 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3620:0fa124a92ca7
r3786:59f98693ae47
Show More
_boards.rhtml
32 lines | 1.2 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Application layout refactored....
r736 <% if @project.boards.any? %>
Jean-Philippe Lang
Per project forums added....
r526 <table class="list">
Jean-Philippe Lang
Adds missing thead tags (#5440)....
r3620 <thead><tr>
Jean-Philippe Lang
Cleaning edit/delete links style....
r2988 <th><%= l(:label_board) %></th>
<th><%= l(:field_description) %></th>
<th></th>
<th></th>
Jean-Philippe Lang
Adds missing thead tags (#5440)....
r3620 </tr></thead>
Jean-Philippe Lang
Per project forums added....
r526 <tbody>
<% @project.boards.each do |board|
next if board.new_record? %>
<tr class="<%= cycle 'odd', 'even' %>">
<td><%=h board.name %></td>
<td><%=h board.description %></td>
<td align="center">
<% if authorize_for("boards", "edit") %>
Jean-Philippe Lang
Reorder links refactoring (follows r2526)....
r2478 <%= reorder_links('board', {:controller => 'boards', :action => 'edit', :project_id => @project, :id => board}) %>
Jean-Philippe Lang
Per project forums added....
r526 <% end %>
Jean-Philippe Lang
Cleaning edit/delete links style....
r2988 </td>
<td class="buttons">
<%= link_to_if_authorized l(:button_edit), {:controller => 'boards', :action => 'edit', :project_id => @project, :id => board}, :class => 'icon icon-edit' %>
<%= link_to_if_authorized l(:button_delete), {:controller => 'boards', :action => 'destroy', :project_id => @project, :id => board}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
</td>
Jean-Philippe Lang
Per project forums added....
r526 </tr>
<% end %>
Jean-Philippe Lang
Cleaning edit/delete links style....
r2988 </tbody>
Jean-Philippe Lang
Per project forums added....
r526 </table>
Jean-Philippe Lang
Application layout refactored....
r736 <% else %>
<p class="nodata"><%= l(:label_no_data) %></p>
<% end %>
Jean-Philippe Lang
Per project forums added....
r526 <p><%= link_to_if_authorized l(:label_board_new), {:controller => 'boards', :action => 'new', :project_id => @project} %></p>