Project

General

Profile

Patch #2607 » avatars.patch

Brad Beattie, 2009-02-05 07:55

View differences:

app/views/messages/show.rhtml (working copy)
11 11
<h2><%=h @topic.subject %></h2>
12 12

  
13 13
<div class="message">
14
<%= avatar(@topic.author, :size => "64") %>
14 15
<p><span class="author"><%= authoring @topic.created_on, @topic.author %></span></p>
15 16
<div class="wiki">
16 17
<%= textilizable(@topic.content, :attachments => @topic.attachments) %>
......
30 31
      <%= 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) %>
31 32
    </div>
32 33
  <h4><%=h message.subject %> - <%= authoring message.created_on, message.author %></h4>
34
  <%= avatar(message.author, :size => "32") %>
33 35
  <div class="wiki"><%= textilizable message, :content, :attachments => message.attachments %></div>
34 36
  <%= link_to_attachments message, :author => false %>
35 37
  </div>
public/stylesheets/application.css (working copy)
264 264
.pagination {font-size: 90%}
265 265
p.pagination {margin-top:8px;}
266 266

  
267
div.message { clear: left; }
268

  
267 269
/***** Tabular forms ******/
268 270
.tabular p{
269 271
margin: 0;
......
674 676
	margin: 0 0.5em 0 0;
675 677
}
676 678

  
677
#history img.gravatar {
679
#history img.gravatar,
680
.message img.gravatar {
678 681
	padding: 3px;
679 682
	margin: 0 1.5em 1em 0;
680 683
	float: left;
(4-4/4)