Commit ee96319346a3aa00ef6a24db51e9f9ab7b21e480
1 parent
d250d007
Exists in
master
and in
29 other branches
ActionItem1078: ProfileImageBlock was not displaying block title
Showing
3 changed files
with
4 additions
and
7 deletions
Show diff stats
app/models/profile_image_block.rb
app/views/blocks/profile_image.rhtml
1 | 1 | <div class="vcard"> |
2 | 2 | |
3 | +<p><%= block.title %></p> | |
4 | + | |
3 | 5 | <div class="profile-big-image"> |
4 | 6 | <div class="profile-big-image-inner1"> |
5 | 7 | <span class="profile-big-image-inner2"> |
... | ... | @@ -11,7 +13,7 @@ |
11 | 13 | </div> |
12 | 14 | |
13 | 15 | <% if show_name %> |
14 | - <p><%= block.owner.name %></p> | |
16 | + <p><%= block.owner.short_name %></p> | |
15 | 17 | <% end %> |
16 | 18 | |
17 | 19 | <% if !user.nil? and user.has_permission?('edit_profile', profile) %> | ... | ... |
test/unit/profile_image_block_test.rb