##// END OF EJS Templates
Code cleanup, use named routes....
Code cleanup, use named routes. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11071 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9959:bc153cb61df3
r10841:ad246e81ad52
Show More
show.html.erb
66 lines | 2.8 KiB | text/plain | TextLexer
Jean-Philippe Lang
Support for subforums (#3831)....
r9959 <%= board_breadcrumb(@board) %>
Jean-Philippe Lang
Add breadcrumb nav for the forums (#892)....
r1284
Jean-Philippe Lang
Per project forums added....
r526 <div class="contextual">
Jean-Philippe Lang
Boards: new message form displayed with no additional request....
r752 <%= link_to_if_authorized l(:label_message_new),
{:controller => 'messages', :action => 'new', :board_id => @board},
:class => 'icon icon-add',
Jean-Philippe Lang
JQuery in, Prototype/Scriptaculous out (#11445)....
r9885 :onclick => 'showAndScrollTo("add-message", "message_subject"); return false;' %>
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 <%= watcher_tag(@board, User.current) %>
Jean-Philippe Lang
Per project forums added....
r526 </div>
Jean-Philippe Lang
Boards: new message form displayed with no additional request....
r752 <div id="add-message" style="display:none;">
Jean-Philippe Lang
Render new message form if needed....
r2668 <% if authorize_for('messages', 'new') %>
Jean-Philippe Lang
Boards: new message form displayed with no additional request....
r752 <h2><%= link_to h(@board.name), :controller => 'boards', :action => 'show', :project_id => @project, :id => @board %> &#187; <%= l(:label_message_new) %></h2>
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 <%= form_for @message, :url => {:controller => 'messages', :action => 'new', :board_id => @board}, :html => {:multipart => true, :id => 'message-form'} do |f| %>
Jean-Philippe Lang
Boards: new message form displayed with no additional request....
r752 <%= render :partial => 'messages/form', :locals => {:f => f} %>
<p><%= submit_tag l(:button_create) %>
Jean-Philippe Lang
Adds a helper for preview links....
r9848 <%= preview_link({:controller => 'messages', :action => 'preview', :board_id => @board}, 'message-form') %> |
Jean-Philippe Lang
JQuery in, Prototype/Scriptaculous out (#11445)....
r9885 <%= link_to l(:button_cancel), "#", :onclick => '$("#add-message").hide(); return false;' %></p>
Jean-Philippe Lang
Boards: new message form displayed with no additional request....
r752 <% end %>
Jean-Philippe Lang
Added preview for forum messages....
r1191 <div id="preview" class="wiki"></div>
Jean-Philippe Lang
Render new message form if needed....
r2668 <% end %>
Jean-Philippe Lang
Boards: new message form displayed with no additional request....
r752 </div>
Jean-Philippe Lang
Per project forums added....
r526 <h2><%=h @board.name %></h2>
Eric Davis
Added the board's description below the board's name....
r1948 <p class="subtitle"><%=h @board.description %></p>
Jean-Philippe Lang
Per project forums added....
r526
Jean-Philippe Lang
Application layout refactored....
r736 <% if @topics.any? %>
Jean-Philippe Lang
Forums enhancements:...
r913 <table class="list messages">
Jean-Philippe Lang
Per project forums added....
r526 <thead><tr>
<th><%= l(:field_subject) %></th>
<th><%= l(:field_author) %></th>
Jean-Philippe Lang
Validates sort_key and sort_order params (#2378)....
r2169 <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %>
<%= sort_header_tag('replies', :caption => l(:label_reply_plural)) %>
<%= sort_header_tag('updated_on', :caption => l(:label_message_last)) %>
Toshi MARUYAMA
remove trailing white-spaces app/views/boards/show.html.erb...
r7159 </tr></thead>
Jean-Philippe Lang
Per project forums added....
r526 <tbody>
<% @topics.each do |topic| %>
Jean-Philippe Lang
Forums enhancements:...
r913 <tr class="message <%= cycle 'odd', 'even' %> <%= topic.sticky? ? 'sticky' : '' %> <%= topic.locked? ? 'locked' : '' %>">
Jean-Philippe Lang
Slight forum styles changes....
r3312 <td class="subject"><%= link_to h(topic.subject), { :controller => 'messages', :action => 'show', :board_id => @board, :id => topic } %></td>
Jean-Philippe Lang
Removed inline styles....
r9935 <td class="author"><%= link_to_user(topic.author) %></td>
<td class="created_on"><%= format_time(topic.created_on) %></td>
<td class="reply-count"><%= topic.replies_count %></td>
Jean-Philippe Lang
Forums enhancements:...
r913 <td class="last_message">
Jean-Philippe Lang
Per project forums added....
r526 <% if topic.last_reply %>
Jean-Philippe Lang
Forums enhancements:...
r913 <%= authoring topic.last_reply.created_on, topic.last_reply.author %><br />
Jean-Philippe Lang
Per project forums added....
r526 <%= link_to_message topic.last_reply %>
<% end %>
</td>
</tr>
<% end %>
</tbody>
</table>
Jean-Philippe Lang
New setting added to specify how many objects should be displayed on most paginated lists....
r1013 <p class="pagination"><%= pagination_links_full @topic_pages, @topic_count %></p>
Jean-Philippe Lang
Application layout refactored....
r736 <% else %>
<p class="nodata"><%= l(:label_no_data) %></p>
<% end %>
Jean-Philippe Lang
Adds HTML titles to forums related views....
r1584
Jean-Philippe Lang
Adds single forum atom feed (#3181)....
r2590 <% other_formats_links do |f| %>
Toshi MARUYAMA
replace tabs to spaces at app/views/boards/show.html.erb...
r7199 <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
Jean-Philippe Lang
Adds single forum atom feed (#3181)....
r2590 <% end %>
Etienne Massip
Remove unecessary page title HTML escaping from views (#9252)....
r7445 <% html_title @board.name %>
Jean-Philippe Lang
Adds single forum atom feed (#3181)....
r2590
<% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom, {:format => 'atom', :key => User.current.rss_key}, :title => "#{@project}: #{@board}") %>
<% end %>