Commit 9624e79cbb53ca2c2defa85b4e24e9c9188d0e24
1 parent
f9e55386
Exists in
master
and in
29 other branches
rails3: fix stylesheet tag on old application layout
Showing
5 changed files
with
5 additions
and
5 deletions
Show diff stats
app/helpers/users_helper.rb
app/models/change_password.rb
@@ -2,7 +2,7 @@ class ChangePassword < Task | @@ -2,7 +2,7 @@ class ChangePassword < Task | ||
2 | 2 | ||
3 | attr_accessor :password, :password_confirmation | 3 | attr_accessor :password, :password_confirmation |
4 | 4 | ||
5 | - def self.human_attribute_name(attrib) | 5 | + def self.human_attribute_name(attrib, options = {}) |
6 | case attrib.to_sym | 6 | case attrib.to_sym |
7 | when :password | 7 | when :password |
8 | _('Password') | 8 | _('Password') |
app/models/feed_reader_block.rb
@@ -2,7 +2,7 @@ class FeedReaderBlock < Block | @@ -2,7 +2,7 @@ class FeedReaderBlock < Block | ||
2 | 2 | ||
3 | attr_accessible :address, :update_errors | 3 | attr_accessible :address, :update_errors |
4 | 4 | ||
5 | - def initialize(attributes = nil) | 5 | + def initialize(attributes = nil, options = {}) |
6 | data = attributes || {} | 6 | data = attributes || {} |
7 | super(data) | 7 | super(data) |
8 | self.enabled= !data[:address].blank? | 8 | self.enabled= !data[:address].blank? |
app/views/layouts/application.html.erb
@@ -10,10 +10,10 @@ | @@ -10,10 +10,10 @@ | ||
10 | 10 | ||
11 | <%= noosfero_javascript %> | 11 | <%= noosfero_javascript %> |
12 | <%= theme_javascript %> | 12 | <%= theme_javascript %> |
13 | + <%= noosfero_stylesheets %> | ||
13 | 14 | ||
14 | <%= | 15 | <%= |
15 | # Load the principal css files: | 16 | # Load the principal css files: |
16 | - stylesheet_link_tag(noosfero_stylesheets, :cache => 'cache') + | ||
17 | stylesheet_import( %w( common help menu article button search blocks forms login-box ), | 17 | stylesheet_import( %w( common help menu article button search blocks forms login-box ), |
18 | :themed_source => true ) + "\n" + | 18 | :themed_source => true ) + "\n" + |
19 | import_blocks_stylesheets(:themed_source => true) + "\n" + | 19 | import_blocks_stylesheets(:themed_source => true) + "\n" + |
app/views/users/_users_list.html.erb
1 | <div class="environment-users-results-header"> | 1 | <div class="environment-users-results-header"> |
2 | - <div id='environment-users-filter-title'><%= filter_title(@filter) %></div> | 2 | + <div id='environment-users-filter-title'><%= users_filter_title(@filter) %></div> |
3 | <%= filter_selector(@filter) %> | 3 | <%= filter_selector(@filter) %> |
4 | <div style="clear: both"></div> | 4 | <div style="clear: both"></div> |
5 | </div> | 5 | </div> |