Commit 25623a6a0e5d9e2b5a52e6471f6f899ff046d874
1 parent
1909f5e4
Exists in
master
and in
28 other branches
ActionItem154: differentiating people from organizations
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1358 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
app/helpers/application_helper.rb
... | ... | @@ -372,7 +372,11 @@ module ApplicationHelper |
372 | 372 | if profile.image |
373 | 373 | image_tag(profile.image.public_filename(:thumb)) |
374 | 374 | else |
375 | - image_tag('peopleblock.png') | |
375 | + if profile.organization? | |
376 | + image_tag('organization-default.png') | |
377 | + else | |
378 | + image_tag('person-default.png') | |
379 | + end | |
376 | 380 | end |
377 | 381 | end |
378 | 382 | ... | ... |