##// END OF EJS Templates
New setting added to specify how many objects should be displayed on most paginated lists....
New setting added to specify how many objects should be displayed on most paginated lists. Default is: 25, 50, 100 (users can choose one of these values). If one value only is entered in this setting (eg. 25), the 'per page' links are not displayed (prior behaviour). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1026 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r913:29b3614bcb75
r1013:9a1b46fe4287
Show More
show.rhtml
39 lines | 1.9 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Forums enhancements:...
r913 <div class="contextual">
<%= link_to_if_authorized l(:button_edit), {:action => 'edit', :id => @topic}, :class => 'icon icon-edit' %>
<%= link_to_if_authorized l(:button_delete), {:action => 'destroy', :id => @topic}, :method => :post, :confirm => l(:text_are_you_sure), :class => 'icon icon-del' %>
</div>
<h2><%= link_to h(@board.name), :controller => 'boards', :action => 'show', :project_id => @project, :id => @board %> &#187; <%=h @topic.subject %></h2>
Jean-Philippe Lang
Per project forums added....
r526
Jean-Philippe Lang
Forums: attachments can now be added to replies....
r910 <div class="message">
Jean-Philippe Lang
Forums enhancements:...
r913 <p><span class="author"><%= authoring @topic.created_on, @topic.author %></span></p>
Jean-Philippe Lang
Per project forums added....
r526 <div class="wiki">
Jean-Philippe Lang
Forums enhancements:...
r913 <%= textilizable(@topic.content, :attachments => @topic.attachments) %>
Jean-Philippe Lang
Per project forums added....
r526 </div>
Jean-Philippe Lang
Forums enhancements:...
r913 <%= link_to_attachments @topic.attachments, :no_author => true %>
Jean-Philippe Lang
Forums: attachments can now be added to replies....
r910 </div>
Jean-Philippe Lang
Boards: new message form displayed with no additional request....
r752 <br />
Jean-Philippe Lang
Attachments can now be added to wiki pages (original patch by Pavol Murin). Only authorized users can add/delete attachments....
r538
Jean-Philippe Lang
Per project forums added....
r526 <h3 class="icon22 icon22-comment"><%= l(:label_reply_plural) %></h3>
Jean-Philippe Lang
Forums enhancements:...
r913 <% @topic.children.each do |message| %>
Jean-Philippe Lang
Per project forums added....
r526 <a name="<%= "message-#{message.id}" %>"></a>
Jean-Philippe Lang
Forums enhancements:...
r913 <div class="contextual">
<%= link_to_if_authorized l(:button_edit), {:action => 'edit', :id => message}, :class => 'icon icon-edit' %>
<%= link_to_if_authorized l(:button_delete), {:action => 'destroy', :id => message}, :method => :post, :confirm => l(:text_are_you_sure), :class => 'icon icon-del' %>
</div>
<div class="message reply">
Jean-Philippe Lang
Forums: attachments can now be added to replies....
r910 <h4><%=h message.subject %> - <%= authoring message.created_on, message.author %></h4>
Jean-Philippe Lang
Boards: new message form displayed with no additional request....
r752 <div class="wiki"><%= textilizable message.content %></div>
Jean-Philippe Lang
Forums: attachments can now be added to replies....
r910 <%= link_to_attachments message.attachments, :no_author => true %>
Jean-Philippe Lang
Forums enhancements:...
r913 </div>
Jean-Philippe Lang
Per project forums added....
r526 <% end %>
Jean-Philippe Lang
Forums enhancements:...
r913 <% if !@topic.locked? && authorize_for('messages', 'reply') %>
Jean-Philippe Lang
Forums: attachments can now be added to replies....
r910 <p><%= toggle_link l(:button_reply), "reply", :focus => 'message_content' %></p>
Jean-Philippe Lang
Per project forums added....
r526 <div id="reply" style="display:none;">
Jean-Philippe Lang
Forums enhancements:...
r913 <% form_for :reply, @reply, :url => {:action => 'reply', :id => @topic}, :html => {:multipart => true} do |f| %>
Jean-Philippe Lang
Forums: attachments can now be added to replies....
r910 <%= render :partial => 'form', :locals => {:f => f} %>
<%= submit_tag l(:button_submit) %>
Jean-Philippe Lang
Per project forums added....
r526 <% end %>
</div>
Jean-Philippe Lang
Attachments can now be added to wiki pages (original patch by Pavol Murin). Only authorized users can add/delete attachments....
r538 <% end %>