##// END OF EJS Templates
Doc update before 0.7-rc1 release....
Doc update before 0.7-rc1 release. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1284 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1191:a4c6c62c8b13
r1269:60c12ca3ab75
Show More
show.rhtml
47 lines | 2.4 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
Add a user preference to choose how comments/replies are displayed: in chronological or reverse chronological order (#589, #776)....
r1183 <% @replies.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">
Jean-Philippe Lang
Add a user preference to choose how comments/replies are displayed: in chronological or reverse chronological order (#589, #776)....
r1183 <%= link_to_if_authorized image_tag('edit.png'), {:action => 'edit', :id => message}, :title => l(:button_edit) %>
<%= link_to_if_authorized image_tag('delete.png'), {:action => 'destroy', :id => message}, :method => :post, :confirm => l(:text_are_you_sure), :title => l(:button_delete) %>
Jean-Philippe Lang
Forums enhancements:...
r913 </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
Added preview for forum messages....
r1191 <% form_for :reply, @reply, :url => {:action => 'reply', :id => @topic}, :html => {:multipart => true, :id => 'message-form'} do |f| %>
<%= render :partial => 'form', :locals => {:f => f, :replying => true} %>
<%= submit_tag l(:button_submit) %>
<%= link_to_remote l(:label_preview),
{ :url => { :controller => 'messages', :action => 'preview', :board_id => @board },
:method => 'post',
:update => 'preview',
:with => "Form.serialize('message-form')",
:complete => "Element.scrollTo('preview')"
}, :accesskey => accesskey(:preview) %>
Jean-Philippe Lang
Per project forums added....
r526 <% end %>
Jean-Philippe Lang
Added preview for forum messages....
r1191 <div id="preview" class="wiki"></div>
Jean-Philippe Lang
Per project forums added....
r526 </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 %>