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 | 88 | #content .box-1 .community-block .community-block-button.icon-remove { |
89 | 89 | width: 20px; |
90 | 90 | background-image: url('/designs/icons/default/Tango/16x16/actions/remove.png'); |
91 | -} | |
91 | +} | |
92 | 92 | |
93 | 93 | #content .box-1 .community-block .community-block-button.icon-arrow { |
94 | 94 | width: 16px; |
95 | 95 | background-image: url('/images/top-arrow.png'); |
96 | -} | |
96 | +} | |
97 | 97 | |
98 | 98 | #content .box-1 .community-block .community-block-button:hover { |
99 | 99 | background-color: #DDDDDD; | ... | ... |
plugins/community_block/test/functional/commmunity_block_plugin_profile_design_controller_test.rb
plugins/community_block/test/unit/commmunity_block_plugin_test.rb
... | ... | @@ -5,7 +5,7 @@ class CommunityBlockPluginTest < ActiveSupport::TestCase |
5 | 5 | def setup |
6 | 6 | @plugin = CommunityBlockPlugin.new |
7 | 7 | end |
8 | - | |
8 | + | |
9 | 9 | should 'be a noosfero plugin' do |
10 | 10 | assert_kind_of Noosfero::Plugin, @plugin |
11 | 11 | end |
... | ... | @@ -29,5 +29,5 @@ class CommunityBlockPluginTest < ActiveSupport::TestCase |
29 | 29 | should "return false for class method has_admin_url?" do |
30 | 30 | assert !CommunityBlockPlugin.has_admin_url? |
31 | 31 | end |
32 | - | |
32 | + | |
33 | 33 | end | ... | ... |
plugins/community_block/views/community_block.rhtml
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | end |
16 | 16 | |
17 | 17 | links.push(_('Report abuse') => {:href => url_for({:controller => 'profile', :action => 'report_abuse', :profile => profile.identifier})}) |
18 | - | |
18 | + | |
19 | 19 | if !user.nil? && user.has_permission?('edit_profile', profile) |
20 | 20 | links.push(_('Control panel') => {:href => url_for({:controller => 'profile_editor', :profile => profile.identifier})}) |
21 | 21 | end %> |
... | ... | @@ -27,7 +27,7 @@ |
27 | 27 | :class => 'simplemenu-trigger') %> |
28 | 28 | |
29 | 29 | <% end %> |
30 | - | |
30 | + | |
31 | 31 | <% if logged_in? %> |
32 | 32 | <% if profile.members.include?(user) || profile.already_request_membership?(user) %> |
33 | 33 | <%= link_to( | ... | ... |