Tweaking of the CSS for the gravatars. #1776

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1970 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis 2008-10-31 00:09:36 +00:00
parent 41dba2db86
commit 3bc2a5cf2f
3 changed files with 5 additions and 5 deletions

View File

@ -1,10 +1,10 @@
<% reply_links = authorize_for('issues', 'edit') -%> <% reply_links = authorize_for('issues', 'edit') -%>
<% for journal in journals %> <% for journal in journals %>
<div id="change-<%= journal.id %>" class="journal"> <div id="change-<%= journal.id %>" class="journal">
<%= gravatar(journal.user.mail.blank? ? "" : journal.user.mail, :size => "32") %>
<h4><div style="float:right;"><%= link_to "##{journal.indice}", :anchor => "note-#{journal.indice}" %></div> <h4><div style="float:right;"><%= link_to "##{journal.indice}", :anchor => "note-#{journal.indice}" %></div>
<%= content_tag('a', '', :name => "note-#{journal.indice}")%> <%= content_tag('a', '', :name => "note-#{journal.indice}")%>
<%= format_time(journal.created_on) %> - <%= journal.user.name %></h4> <%= format_time(journal.created_on) %> - <%= journal.user.name %></h4>
<%= gravatar(journal.user.mail.blank? ? "" : journal.user.mail, :size => "32") %>
<ul> <ul>
<% for detail in journal.details %> <% for detail in journal.details %>
<li><%= show_detail(detail) %></li> <li><%= show_detail(detail) %></li>

View File

@ -10,7 +10,7 @@
<h2><%= @issue.tracker.name %> #<%= @issue.id %></h2> <h2><%= @issue.tracker.name %> #<%= @issue.id %></h2>
<div class="issue <%= "status-#{@issue.status.position} priority-#{@issue.priority.position}" %>"> <div class="issue <%= "status-#{@issue.status.position} priority-#{@issue.priority.position}" %>">
<%= gravatar(@issue.author.mail, :size => "64") rescue nil %> <%= gravatar(@issue.author.mail, :size => "14") rescue nil %>
<h3><%=h @issue.subject %></h3> <h3><%=h @issue.subject %></h3>
<p class="author"> <p class="author">
<%= authoring @issue.created_on, @issue.author %>. <%= authoring @issue.created_on, @issue.author %>.

View File

@ -628,8 +628,8 @@ div.issue img.gravatar {
} }
div.issue table img.gravatar { div.issue table img.gravatar {
height: 24px; height: 16px;
width: 24px; width: 16px;
padding: 2px; padding: 2px;
float: left; float: left;
margin: 0 1em 0 0; margin: 0 1em 0 0;
@ -637,7 +637,7 @@ div.issue table img.gravatar {
#history img.gravatar { #history img.gravatar {
padding: 3px; padding: 3px;
margin: 0 1em 1em 0; margin: 0 1.5em 1em 0;
float: left; float: left;
} }