Commit 4c2bdf93944eeef1775937e287227dedb382cd0b
1 parent
7ff533ad
Exists in
master
and in
29 other branches
ActionItem1041: only show the title if there is data
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
app/views/profile/_person.rhtml
@@ -16,9 +16,11 @@ | @@ -16,9 +16,11 @@ | ||
16 | <% end %> | 16 | <% end %> |
17 | <%= display_field(_('Location:'), profile, :location) %> | 17 | <%= display_field(_('Location:'), profile, :location) %> |
18 | 18 | ||
19 | +<% if !(profile.organization.blank? && profile.organization_website.blank?) %> | ||
19 | <tr> | 20 | <tr> |
20 | <th colspan='2'><%= _('Work')%></th> | 21 | <th colspan='2'><%= _('Work')%></th> |
21 | </tr> | 22 | </tr> |
23 | +<% end %> | ||
22 | <%= display_field(_('Organization:'), profile, :organization) %> | 24 | <%= display_field(_('Organization:'), profile, :organization) %> |
23 | <%= display_field(_('Organization website:'), profile, :organization_website) { |url| link_to(url, url) }%> | 25 | <%= display_field(_('Organization website:'), profile, :organization_website) { |url| link_to(url, url) }%> |
24 | 26 |