Chris@909: <%= breadcrumb link_to(l(:label_board_plural), {:controller => 'boards', :action => 'index', :project_id => @project}), Chris@909: link_to(h(@board.name), {:controller => 'boards', :action => 'show', :project_id => @project, :id => @board}) %> Chris@909: Chris@909:
Chris@909: <%= watcher_tag(@topic, User.current) %> Chris@909: <%= link_to_remote_if_authorized(l(:button_quote), { :url => {:action => 'quote', :id => @topic} }, :class => 'icon icon-comment') unless @topic.locked? %> Chris@909: <%= link_to(l(:button_edit), {:action => 'edit', :id => @topic}, :class => 'icon icon-edit') if @message.editable_by?(User.current) %> Chris@909: <%= 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) %> Chris@909:
Chris@909: Chris@909:

<%= avatar(@topic.author, :size => "24") %><%=h @topic.subject %>

Chris@909: Chris@909:
Chris@909:

<%= authoring @topic.created_on, @topic.author %>

Chris@909:
Chris@909: <%= textilizable(@topic.content, :attachments => @topic.attachments) %> Chris@909:
Chris@909: <%= link_to_attachments @topic, :author => false %> Chris@909:
Chris@909:
Chris@909: Chris@909: <% unless @replies.empty? %> Chris@909:

<%= l(:label_reply_plural) %> (<%= @reply_count %>)

Chris@909: <% @replies.each do |message| %> Chris@909:
"> Chris@909:
Chris@909: <%= link_to_remote_if_authorized(image_tag('comment.png'), { :url => {:action => 'quote', :id => message} }, :title => l(:button_quote)) unless @topic.locked? %> Chris@909: <%= link_to(image_tag('edit.png'), {:action => 'edit', :id => message}, :title => l(:button_edit)) if message.editable_by?(User.current) %> Chris@909: <%= 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) %> Chris@909:
Chris@909:

Chris@909: <%= avatar(message.author, :size => "24") %> Chris@909: <%= link_to h(message.subject), { :controller => 'messages', :action => 'show', :board_id => @board, :id => @topic, :r => message, :anchor => "message-#{message.id}" } %> Chris@909: - Chris@909: <%= authoring message.created_on, message.author %> Chris@909:

Chris@909:
<%= textilizable message, :content, :attachments => message.attachments %>
Chris@909: <%= link_to_attachments message, :author => false %> Chris@909:
Chris@909: <% end %> Chris@909:

<%= pagination_links_full @reply_pages, @reply_count, :per_page_links => false %>

Chris@909: <% end %> Chris@909: Chris@909: <% if !@topic.locked? && authorize_for('messages', 'reply') %> Chris@909:

<%= toggle_link l(:button_reply), "reply", :focus => 'message_content' %>

Chris@909: Chris@909: <% end %> Chris@909: Chris@909: <% content_for :header_tags do %> Chris@909: <%= stylesheet_link_tag 'scm' %> Chris@909: <% end %> Chris@909: Chris@909: <% html_title @topic.subject %>