On Lunes, 9 de Agosto de 2010 17:10:19 gs84 escribió:
> On 9 août, 12:14, "Sergio Cambra .:: entreCables S.L. ::."
>
> <[email protected]> wrote:
> > On Lunes, 9 de Agosto de 2010 11:54:42 gs84 escribió:
> >
> >
> > If you want to patch your active_scaffold copy you will have to change
> > pagination_ajax_links method in
> > lib/active_scaffold/helpers/pagination_helpers and change the line:
> > html << num
>
> Thanks it works!
> But if i wanted to set the CSS style to the current, i only have to
> update my Active_scaffold version? or i have some other modifications
> to do?

You have to update ActiveScaffold version, because I changed "html << num" to 
"html << content_tag(:span, num)". Then you can set in your styles:
.active-scaffold-footer .active-scaffold-pagination span {
  background: ...
}

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to