Commit fe253123299d130add1067af44ce1b72e4e84d89
1 parent
62913003
Exists in
master
and in
29 other branches
ActionItem85: restaured the class of the ul item
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@800 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
6 additions
and
4 deletions
Show diff stats
app/models/enterprises_block.rb
... | ... | @@ -8,9 +8,10 @@ class EnterprisesBlock < Design::Block |
8 | 8 | Enterprise.find(:all).map do |p| |
9 | 9 | content_tag( |
10 | 10 | 'li', |
11 | - link_to_homepage(content_tag('span', p.name, :class => 'people_list_block'), p.identifier) | |
11 | + link_to_homepage(content_tag('span', p.name), p.identifier) | |
12 | 12 | ) |
13 | - end.join("\n") | |
13 | + end.join("\n"), | |
14 | + :class => 'enterprises_list_block' | |
14 | 15 | ) |
15 | 16 | end |
16 | 17 | ... | ... |
app/models/list_block.rb
... | ... | @@ -8,9 +8,10 @@ class ListBlock < Design::Block |
8 | 8 | Person.find(:all).map do |p| |
9 | 9 | content_tag( |
10 | 10 | 'li', |
11 | - link_to_homepage(content_tag('span', p.name, :class => 'people_list_block'), p.identifier) | |
11 | + link_to_homepage(content_tag('span', p.name), p.identifier) | |
12 | 12 | ) |
13 | - end.join("\n") | |
13 | + end.join("\n"), | |
14 | + :class => 'people_list_block' | |
14 | 15 | ) |
15 | 16 | end |
16 | 17 | ... | ... |