##// END OF EJS Templates
Applied 'register notice' patch by Matt Jones....
Applied 'register notice' patch by Matt Jones. The user is now redirected to the login screen after having registered. git-svn-id: http://redmine.rubyforge.org/svn/trunk@601 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r538:f8ef65e8f641
r598:acebceb1d74b
Show More
show.rhtml
26 lines | 1.2 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Per project forums added....
r526 <h2><%= link_to h(@board.name), :controller => 'boards', :action => 'show', :project_id => @project, :id => @board %> &#187; <%=h @message.subject %></h2>
<p><em><%= @message.author.name %>, <%= format_time(@message.created_on) %></em></p>
<div class="wiki">
Jean-Philippe Lang
Attachments can now be added to wiki pages (original patch by Pavol Murin). Only authorized users can add/delete attachments....
r538 <%= textilizable(@message.content, :attachments => @message.attachments) %>
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 <%= link_to_attachments @message.attachments, :no_author => true %>
Jean-Philippe Lang
Per project forums added....
r526 <h3 class="icon22 icon22-comment"><%= l(:label_reply_plural) %></h3>
<% @message.children.each do |message| %>
<a name="<%= "message-#{message.id}" %>"></a>
<h4><%=h message.subject %> - <%= message.author.name %>, <%= format_time(message.created_on) %></h4>
<div class="wiki"><p><%= textilizable message.content %></p></div>
<% end %>
Jean-Philippe Lang
Reply form on the message view is displayed only if user is logged in....
r529 <% if @logged_in_user %>
Jean-Philippe Lang
Per project forums added....
r526 <p><%= toggle_link l(:button_reply), "reply", :focus => "reply_content" %></p>
<div id="reply" style="display:none;">
<%= error_messages_for 'message' %>
<% form_for :reply, @reply, :url => {:action => 'reply', :id => @message} do |f| %>
<p><%= f.text_field :subject, :required => true, :size => 60 %></p>
<p><%= f.text_area :content, :required => true, :cols => 80, :rows => 10 %></p>
<p><%= submit_tag l(:button_submit) %></p>
<% 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 %>