mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
* move existing methods from ApplicationHelper to a new helper file (AvatarsHelper) * change default avatar size from 50 to 24 because most of the avatars are using the size 24 * class 'gravatar' is always added and all custom classes are appended * added user name as default title for avatar images * added two new methods: @assignee_avatar@ and @author_avatar@ Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18175 e93f8b46-1217-0410-a6f0-8f06a7374b81
16 lines
506 B
Plaintext
16 lines
506 B
Plaintext
<%= board_breadcrumb(@message) %>
|
|
|
|
<h2><%= avatar(@topic.author) %><%= @topic.subject %></h2>
|
|
|
|
<%= form_for @message, {
|
|
:as => :message,
|
|
:url => {:action => 'edit'},
|
|
:html => {:multipart => true,
|
|
:id => 'message-form',
|
|
:method => :post}
|
|
} do |f| %>
|
|
<%= render :partial => 'form',
|
|
:locals => {:f => f, :replying => !@message.parent.nil?} %>
|
|
<%= submit_tag l(:button_save) %>
|
|
<% end %>
|