Commit b8cb371d2d178dc5470db1c5ef2ed993fbfa9db1
1 parent
6119509f
Exists in
master
and in
28 other branches
ActionItem154: adding default icon for communities
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1374 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
5 additions
and
1 deletions
Show diff stats
app/helpers/application_helper.rb
| ... | ... | @@ -373,7 +373,11 @@ module ApplicationHelper |
| 373 | 373 | image_tag(profile.image.public_filename(:thumb)) |
| 374 | 374 | else |
| 375 | 375 | if profile.organization? |
| 376 | - image_tag('organization-default.png') | |
| 376 | + if profile.kind_of?(Community) | |
| 377 | + image_tag('community-default.png') | |
| 378 | + else | |
| 379 | + image_tag('organization-default.png') | |
| 380 | + end | |
| 377 | 381 | else |
| 378 | 382 | image_tag('person-default.png') |
| 379 | 383 | end | ... | ... |
6.62 KB