Commit 73a75da0d1766220d35c9b76b080ab7e2c194ade
Committed by
Daniela Feitosa
1 parent
61abd4ff
Exists in
master
and in
28 other branches
Adding CommunitiesBlock, EnterprisesBlock, FriendsBlock and PeopleBlock to acceptable blocks
Showing
3 changed files
with
20 additions
and
1 deletions
Show diff stats
app/models/box.rb
... | ... | @@ -11,8 +11,12 @@ class Box < ActiveRecord::Base |
11 | 11 | |
12 | 12 | def acceptable_center_blocks |
13 | 13 | %w{ |
14 | - MainBlock | |
14 | + CommunitiesBlock | |
15 | + EnterprisesBlock | |
16 | + FriendsBlock | |
15 | 17 | LinkListBlock |
18 | + MainBlock | |
19 | + PeopleBlock | |
16 | 20 | } |
17 | 21 | end |
18 | 22 | |
... | ... | @@ -25,6 +29,7 @@ class Box < ActiveRecord::Base |
25 | 29 | EnvironmentStatisticsBlock |
26 | 30 | FeaturedProductsBlock |
27 | 31 | FeedReaderBlock |
32 | + FriendsBlock | |
28 | 33 | HighlightsBlock |
29 | 34 | LinkListBlock |
30 | 35 | LocationBlock | ... | ... |
public/designs/themes/base/style.css
... | ... | @@ -483,6 +483,17 @@ div#notice { |
483 | 483 | padding: 0px; |
484 | 484 | } |
485 | 485 | |
486 | +#content .box-1 .people-block ul, | |
487 | +#content .box-1 .profile-list-block ul, | |
488 | +#content .box-1 .enterprises-block ul, | |
489 | +#content .box-1 .members-block ul, | |
490 | +#content .box-1 .communities-block ul, | |
491 | +#content .box-1 .friends-block ul, | |
492 | +#content .box-1 .fans-block ul { | |
493 | + width: auto; | |
494 | + display: block; | |
495 | +} | |
496 | + | |
486 | 497 | #content .tags-block .block-footer-content a, |
487 | 498 | #content .people-block .block-footer-content a, |
488 | 499 | #content .profile-list-block .block-footer-content a, | ... | ... |
public/stylesheets/application.css
... | ... | @@ -1772,6 +1772,9 @@ input.disabled { |
1772 | 1772 | width: 92px; |
1773 | 1773 | overflow: hidden; |
1774 | 1774 | } |
1775 | +.box-1 .common-profile-list-block span { | |
1776 | + width: 102px; | |
1777 | +} | |
1775 | 1778 | .common-profile-list-block .profile-image { |
1776 | 1779 | width: 92px; |
1777 | 1780 | display: table-cell; | ... | ... |