From b3442a7d39f2fe59686e7f11779cd22826cf074b Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Thu, 30 Oct 2008 02:58:10 +0000 Subject: [PATCH] styling tweaks for gravatars git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1963 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/show.rhtml | 2 +- public/stylesheets/application.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index 88fa1df3d..d2b2a3fac 100644 --- a/app/views/issues/show.rhtml +++ b/app/views/issues/show.rhtml @@ -27,7 +27,7 @@ <%=l(:field_due_date)%>:<%= format_date(@issue.due_date) %> - <%=l(:field_assigned_to)%>:<%= gravatar(@issue.assigned_to.mail, :size => "24") %><%= @issue.assigned_to ? link_to_user(@issue.assigned_to) : "-" %> + <%=l(:field_assigned_to)%>:<%= gravatar(@issue.assigned_to.mail, :size => "24") unless @issue.assigned_to.blank?%><%= @issue.assigned_to ? link_to_user(@issue.assigned_to) : "-" %> <%=l(:field_done_ratio)%>:<%= progress_bar @issue.done_ratio, :width => '80px', :legend => "#{@issue.done_ratio}%" %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index f29e9e6fe..a5d3d7f03 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -651,6 +651,10 @@ td.username img.gravatar { margin: 0 1em 1em 0; } +.journal { + clear: both; +} + /***** Media print specific styles *****/ @media print { #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }