From 4c2bdf93944eeef1775937e287227dedb382cd0b Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Tue, 26 May 2009 18:11:00 -0300 Subject: [PATCH] ActionItem1041: only show the title if there is data --- app/views/profile/_person.rhtml | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/app/views/profile/_person.rhtml b/app/views/profile/_person.rhtml index faf638d..2ba2410 100644 --- a/app/views/profile/_person.rhtml +++ b/app/views/profile/_person.rhtml @@ -16,9 +16,11 @@ <% end %> <%= display_field(_('Location:'), profile, :location) %> +<% if !(profile.organization.blank? && profile.organization_website.blank?) %> <%= _('Work')%> +<% end %> <%= display_field(_('Organization:'), profile, :organization) %> <%= display_field(_('Organization website:'), profile, :organization_website) { |url| link_to(url, url) }%> -- libgit2 0.21.2