Commit 93a94df506fad037af2247a0ee5b762522845646
Exists in
master
and in
22 other branches
Merge branch 'ai3016' into 'stable'
Don't show p tag on ProfileImageBlock? if there is no title http://noosfero.org/Development/ActionItem3016
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
app/views/blocks/profile_image.rhtml
| 1 | <div class="vcard"> | 1 | <div class="vcard"> |
| 2 | 2 | ||
| 3 | -<p><%= block.title %></p> | 3 | +<% if block.title.present? %> |
| 4 | + <p><%= block.title %></p> | ||
| 5 | +<% end %> | ||
| 4 | 6 | ||
| 5 | <div class="profile-big-image"> | 7 | <div class="profile-big-image"> |
| 6 | <div class="profile-big-image-inner1"> | 8 | <div class="profile-big-image-inner1"> |