Commit 8fff632e15f3fa464ff006c9c60ad7013e4ecc72

Authored by AurelioAHeckert
1 parent 3c74c169

ActionItem323: pequena arrumada...

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1739 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/controllers/public/search_controller.rb
... ... @@ -73,7 +73,7 @@ class SearchController < ApplicationController
73 73 [ :recent_people, _('Recently registered people'), @finder.recent('people') ],
74 74 [ :recent_communities, _('Recently created communities'), @finder.recent('communities') ],
75 75 [ :recent_articles, _('Recent articles'), @finder.recent('articles') ],
76   - [ :recent_comments, _('Recent comments'), @finder.recent('comments') ],
  76 + [ :comments, _('Recent comments'), @finder.recent('comments') ],
77 77 [ :most_commented_articles, _('Most commented articles'), @finder.most_commented_articles ]
78 78 ].each do |key, name, list|
79 79 @results[key] = list
... ...
public/designs/themes/default/stylesheets/controller_search.css
... ... @@ -123,8 +123,8 @@ body.category4 .search-results-type-profile.common-profile-list-block li a {
123 123  
124 124 /* * * Category Page * * * * * * * * * * * * */
125 125  
126   -#view-category h2 {
127   - font-size: 16px;
  126 +#view-category h3 {
  127 + font-size: 14px;
128 128 line-height: 20px;
129 129 margin: 0px;
130 130 padding: 20px 0px 0px 20px;
... ...
public/javascripts/application.js
... ... @@ -47,11 +47,12 @@ function resizePrincipalTemplateBox() {
47 47 var otherBoxSum = 10;
48 48 var i = 2;
49 49 var b = $$( "div.box-" + i++ )[0];
50   - while ( b.nodeName ) {
  50 + while ( b && b.nodeName ) {
51 51 otherBoxSum += b.clientWidth;
52 52 b = $$( "div.box-" + i++ )[0] || false;
53 53 }
54   - box1.style.width = ( $("boxes").clientWidth - otherBoxSum ) +"px"
  54 + if ( box1 )
  55 + box1.style.width = ( $("boxes").clientWidth - otherBoxSum ) +"px"
55 56 }
56 57  
57 58 if ( window.addEventListener ) {
... ...