##// END OF EJS Templates
Less strict textile links parsing (#2582)....
Less strict textile links parsing (#2582). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2344 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2114:5d2899ee1b3e
r2342:2ca4eea24442
Show More
show.rhtml
61 lines | 3.1 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Add breadcrumb nav for the forums (#892)....
r1284 <%= breadcrumb link_to(l(:label_board_plural), {:controller => 'boards', :action => 'index', :project_id => @project}),
link_to(h(@board.name), {:controller => 'boards', :action => 'show', :project_id => @project, :id => @board}) %>
Jean-Philippe Lang
Forums enhancements:...
r913 <div class="contextual">
Jean-Philippe Lang
Adds watch/unwatch functionality at forum topic level (#1912)....
r1876 <%= watcher_tag(@topic, User.current) %>
Jean-Philippe Lang
Adds posts quoting functionality (#1825)....
r1771 <%= link_to_remote_if_authorized l(:button_quote), { :url => {:action => 'quote', :id => @topic} }, :class => 'icon icon-comment' %>
Jean-Philippe Lang
Adds permissions to let users edit and/or delete their messages (#854, patch by Markus Knittig with slight changes)....
r2017 <%= link_to(l(:button_edit), {:action => 'edit', :id => @topic}, :class => 'icon icon-edit') if @message.editable_by?(User.current) %>
<%= link_to(l(:button_delete), {:action => 'destroy', :id => @topic}, :method => :post, :confirm => l(:text_are_you_sure), :class => 'icon icon-del') if @message.destroyable_by?(User.current) %>
Jean-Philippe Lang
Forums enhancements:...
r913 </div>
Jean-Philippe Lang
Add breadcrumb nav for the forums (#892)....
r1284 <h2><%=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
AttachmentsController now handles attachments deletion....
r2114 <%= link_to_attachments @topic, :author => false %>
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
Hides the "Replies" heading below a message if there is no reply (#1350)....
r1481 <% unless @replies.empty? %>
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
Adds posts quoting functionality (#1825)....
r1771 <%= link_to_remote_if_authorized image_tag('comment.png'), { :url => {:action => 'quote', :id => message} }, :title => l(:button_quote) %>
Jean-Philippe Lang
Adds permissions to let users edit and/or delete their messages (#854, patch by Markus Knittig with slight changes)....
r2017 <%= link_to(image_tag('edit.png'), {:action => 'edit', :id => message}, :title => l(:button_edit)) if message.editable_by?(User.current) %>
<%= link_to(image_tag('delete.png'), {:action => 'destroy', :id => message}, :method => :post, :confirm => l(:text_are_you_sure), :title => l(:button_delete)) if message.destroyable_by?(User.current) %>
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
Fixed: can not display attached images inline in message replies....
r1293 <div class="wiki"><%= textilizable message, :content, :attachments => message.attachments %></div>
Jean-Philippe Lang
AttachmentsController now handles attachments deletion....
r2114 <%= link_to_attachments message, :author => false %>
Jean-Philippe Lang
Forums enhancements:...
r913 </div>
Jean-Philippe Lang
Per project forums added....
r526 <% end %>
Jean-Philippe Lang
Hides the "Replies" heading below a message if there is no reply (#1350)....
r1481 <% end %>
Jean-Philippe Lang
Per project forums added....
r526
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 %>
Jean-Philippe Lang
Enable syntax highlight on issues, messages and news (#1473, #1466)....
r1548
<% content_for :header_tags do %>
<%= stylesheet_link_tag 'scm' %>
<% end %>
Jean-Philippe Lang
Adds HTML titles to forums related views....
r1584
<% html_title h(@topic.subject) %>