##// END OF EJS Templates
Safer assertion....
Safer assertion. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4598 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3763:91f7cbb79db0
r4478:92d34234b01f
Show More
show.rhtml
66 lines | 3.5 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
Do not show 'Quote' links on locked topics (#4749)....
r3263 <%= link_to_remote_if_authorized(l(:button_quote), { :url => {:action => 'quote', :id => @topic} }, :class => 'icon icon-comment') unless @topic.locked? %>
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
Avatars added in news (#3941) and forums (#4468) + cleanup....
r3170 <h2><%= avatar(@topic.author, :size => "24") %><%=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
Adds pagination to forum messages (#4664)....
r3259 <h3 class="comments"><%= l(:label_reply_plural) %> (<%= @reply_count %>)</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
Adds permalinks to message replies (#3587)....
r2710 <div class="message reply" id="<%= "message-#{message.id}" %>">
Jean-Philippe Lang
Fixed: Contextual divs after attachments are placed incorrectly in FireFox (#2633)....
r2343 <div class="contextual">
Jean-Philippe Lang
Do not show 'Quote' links on locked topics (#4749)....
r3263 <%= link_to_remote_if_authorized(image_tag('comment.png'), { :url => {:action => 'quote', :id => message} }, :title => l(:button_quote)) unless @topic.locked? %>
Jean-Philippe Lang
Fixed: Contextual divs after attachments are placed incorrectly in FireFox (#2633)....
r2343 <%= 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) %>
</div>
Jean-Philippe Lang
Adds permalinks to message replies (#3587)....
r2710 <h4>
Jean-Philippe Lang
Avatars added in news (#3941) and forums (#4468) + cleanup....
r3170 <%= avatar(message.author, :size => "24") %>
Jean-Philippe Lang
Fixed: Forum message permalinks don't take pagination into account (#5945)....
r3763 <%= link_to h(message.subject), { :controller => 'messages', :action => 'show', :board_id => @board, :id => @topic, :r => message, :anchor => "message-#{message.id}" } %>
Jean-Philippe Lang
Adds permalinks to message replies (#3587)....
r2710 -
<%= 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
Adds pagination to forum messages (#4664)....
r3259 <p class="pagination"><%= pagination_links_full @reply_pages, @reply_count, :per_page_links => false %></p>
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) %>