Commit 83bf1960238a6bf446de758357f71f9ee2405b9b
1 parent
b1a971db
Exists in
master
and in
29 other branches
Removing whitespaces
(ActionItem2871)
Showing
5 changed files
with
8 additions
and
8 deletions
Show diff stats
plugins/community_block/lib/community_block.rb
plugins/community_block/public/style.css
@@ -88,12 +88,12 @@ | @@ -88,12 +88,12 @@ | ||
88 | #content .box-1 .community-block .community-block-button.icon-remove { | 88 | #content .box-1 .community-block .community-block-button.icon-remove { |
89 | width: 20px; | 89 | width: 20px; |
90 | background-image: url('/designs/icons/default/Tango/16x16/actions/remove.png'); | 90 | background-image: url('/designs/icons/default/Tango/16x16/actions/remove.png'); |
91 | -} | 91 | +} |
92 | 92 | ||
93 | #content .box-1 .community-block .community-block-button.icon-arrow { | 93 | #content .box-1 .community-block .community-block-button.icon-arrow { |
94 | width: 16px; | 94 | width: 16px; |
95 | background-image: url('/images/top-arrow.png'); | 95 | background-image: url('/images/top-arrow.png'); |
96 | -} | 96 | +} |
97 | 97 | ||
98 | #content .box-1 .community-block .community-block-button:hover { | 98 | #content .box-1 .community-block .community-block-button:hover { |
99 | background-color: #DDDDDD; | 99 | background-color: #DDDDDD; |
plugins/community_block/test/functional/commmunity_block_plugin_profile_design_controller_test.rb
@@ -83,5 +83,5 @@ class ProfileControllerTest < ActionController::TestCase | @@ -83,5 +83,5 @@ class ProfileControllerTest < ActionController::TestCase | ||
83 | get :index, :profile => @community.identifier | 83 | get :index, :profile => @community.identifier |
84 | assert_no_tag :span, :attributes => {:class => 'community-block-button icon-arrow'} | 84 | assert_no_tag :span, :attributes => {:class => 'community-block-button icon-arrow'} |
85 | end | 85 | end |
86 | - | 86 | + |
87 | end | 87 | end |
plugins/community_block/test/unit/commmunity_block_plugin_test.rb
@@ -5,7 +5,7 @@ class CommunityBlockPluginTest < ActiveSupport::TestCase | @@ -5,7 +5,7 @@ class CommunityBlockPluginTest < ActiveSupport::TestCase | ||
5 | def setup | 5 | def setup |
6 | @plugin = CommunityBlockPlugin.new | 6 | @plugin = CommunityBlockPlugin.new |
7 | end | 7 | end |
8 | - | 8 | + |
9 | should 'be a noosfero plugin' do | 9 | should 'be a noosfero plugin' do |
10 | assert_kind_of Noosfero::Plugin, @plugin | 10 | assert_kind_of Noosfero::Plugin, @plugin |
11 | end | 11 | end |
@@ -29,5 +29,5 @@ class CommunityBlockPluginTest < ActiveSupport::TestCase | @@ -29,5 +29,5 @@ class CommunityBlockPluginTest < ActiveSupport::TestCase | ||
29 | should "return false for class method has_admin_url?" do | 29 | should "return false for class method has_admin_url?" do |
30 | assert !CommunityBlockPlugin.has_admin_url? | 30 | assert !CommunityBlockPlugin.has_admin_url? |
31 | end | 31 | end |
32 | - | 32 | + |
33 | end | 33 | end |
plugins/community_block/views/community_block.rhtml
@@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
15 | end | 15 | end |
16 | 16 | ||
17 | links.push(_('Report abuse') => {:href => url_for({:controller => 'profile', :action => 'report_abuse', :profile => profile.identifier})}) | 17 | links.push(_('Report abuse') => {:href => url_for({:controller => 'profile', :action => 'report_abuse', :profile => profile.identifier})}) |
18 | - | 18 | + |
19 | if !user.nil? && user.has_permission?('edit_profile', profile) | 19 | if !user.nil? && user.has_permission?('edit_profile', profile) |
20 | links.push(_('Control panel') => {:href => url_for({:controller => 'profile_editor', :profile => profile.identifier})}) | 20 | links.push(_('Control panel') => {:href => url_for({:controller => 'profile_editor', :profile => profile.identifier})}) |
21 | end %> | 21 | end %> |
@@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
27 | :class => 'simplemenu-trigger') %> | 27 | :class => 'simplemenu-trigger') %> |
28 | 28 | ||
29 | <% end %> | 29 | <% end %> |
30 | - | 30 | + |
31 | <% if logged_in? %> | 31 | <% if logged_in? %> |
32 | <% if profile.members.include?(user) || profile.already_request_membership?(user) %> | 32 | <% if profile.members.include?(user) || profile.already_request_membership?(user) %> |
33 | <%= link_to( | 33 | <%= link_to( |