##// END OF EJS Templates
code layout clean up of test/functional/wiki_controller_test.rb...
code layout clean up of test/functional/wiki_controller_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7738 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r7262:887a4cc80d0c
r7618:fe386fe50d4d
Show More
_boards.html.erb
32 lines | 1.2 KiB | text/plain | TextLexer
Jean-Philippe Lang
Application layout refactored....
r736 <% if @project.boards.any? %>
Jean-Philippe Lang
Per project forums added....
r526 <table class="list">
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/settings/_boards.html.erb...
r7262 <thead><tr>
<th><%= l(:label_board) %></th>
<th><%= l(:field_description) %></th>
<th></th>
<th></th>
</tr></thead>
<tbody>
Jean-Philippe Lang
Per project forums added....
r526 <% @project.boards.each do |board|
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/settings/_boards.html.erb...
r7262 next if board.new_record? %>
<tr class="<%= cycle 'odd', 'even' %>">
Jean-Philippe Lang
Per project forums added....
r526 <td><%=h board.name %></td>
<td><%=h board.description %></td>
<td align="center">
<% if authorize_for("boards", "edit") %>
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/settings/_boards.html.erb...
r7262 <%= 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">
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/settings/_boards.html.erb...
r7262 <%= 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' %>
Jean-Philippe Lang
Cleaning edit/delete links style....
r2988 </td>
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/settings/_boards.html.erb...
r7262 </tr>
Jean-Philippe Lang
Per project forums added....
r526 <% end %>
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/settings/_boards.html.erb...
r7262 </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>