Patch #2607 » avatars.patch
| app/views/messages/show.rhtml (working copy) | ||
|---|---|---|
|
<h2><%=h @topic.subject %></h2>
|
||
|
<div class="message">
|
||
|
<%= avatar(@topic.author, :size => "64") %>
|
||
|
<p><span class="author"><%= authoring @topic.created_on, @topic.author %></span></p>
|
||
|
<div class="wiki">
|
||
|
<%= textilizable(@topic.content, :attachments => @topic.attachments) %>
|
||
| ... | ... | |
|
<%= 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>
|
||
|
<h4><%=h message.subject %> - <%= authoring message.created_on, message.author %></h4>
|
||
|
<%= avatar(message.author, :size => "32") %>
|
||
|
<div class="wiki"><%= textilizable message, :content, :attachments => message.attachments %></div>
|
||
|
<%= link_to_attachments message, :author => false %>
|
||
|
</div>
|
||
| public/stylesheets/application.css (working copy) | ||
|---|---|---|
|
.pagination {font-size: 90%}
|
||
|
p.pagination {margin-top:8px;}
|
||
|
div.message { clear: left; }
|
||
|
/***** Tabular forms ******/
|
||
|
.tabular p{
|
||
|
margin: 0;
|
||
| ... | ... | |
|
margin: 0 0.5em 0 0;
|
||
|
}
|
||
|
#history img.gravatar {
|
||
|
#history img.gravatar,
|
||
|
.message img.gravatar {
|
||
|
padding: 3px;
|
||
|
margin: 0 1.5em 1em 0;
|
||
|
float: left;
|
||
- « Previous
- 1
- 2
- 3
- 4
- Next »