From 2fd049c4aad1c238c4ca670f74539a3f664f21a6 Mon Sep 17 00:00:00 2001 From: Yuriy Volkov Date: Thu, 15 Apr 2010 23:22:15 +0300 Subject: [PATCH] remove whitespace --- appoyo/app/helpers/fbpage_helper.rb | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/appoyo/app/helpers/fbpage_helper.rb b/appoyo/app/helpers/fbpage_helper.rb index 6ba1c0a..c8119c2 100644 --- a/appoyo/app/helpers/fbpage_helper.rb +++ b/appoyo/app/helpers/fbpage_helper.rb @@ -4,11 +4,11 @@ module FbpageHelper if (tab==current_action) html << " class='current' " end - + end def stars (rating) html ="" - + if rating >= 1 html <<"" elsif (rating >= 0.5) && (rating <1) @@ -32,7 +32,7 @@ module FbpageHelper else html <<"" end - + if rating >= 4 html <<"" elsif (rating >= 3.5) && (rating <4) @@ -40,7 +40,7 @@ module FbpageHelper else html <<"" end - + if rating >= 5 html <<"" elsif (rating >= 4.5) && (rating <5) @@ -52,20 +52,20 @@ module FbpageHelper def right_order(order,galleries_type, real, sorted_by, is_user = false) html ="" - + if (real != sorted_by) || order == 1 html << "&order=1" elsif order == 0 html << "&order=0" end - + if is_user == true if galleries_type == 1 html << "&user_type=1" elsif galleries_type == 0 html << "&user_type=0" end - + else if galleries_type == 1 html << "&gallery_type=1" @@ -74,7 +74,7 @@ module FbpageHelper end end end - + def arrow(order,real,sorted_by) if real== sorted_by if order == 1 @@ -91,7 +91,7 @@ module FbpageHelper else special_gradient = "2" end - + html = "" html << %{ @@ -107,7 +107,7 @@ module FbpageHelper
#{username}} end - + html << %{

@@ -117,7 +117,7 @@ module FbpageHelper
#{t :galleries} #{galleries_size}
- + #{ my_index == 4 ? "" :"
 
"} } end @@ -128,7 +128,7 @@ module FbpageHelper else special_gradient = "2" end - + html = "" html = %{ @@ -146,10 +146,10 @@ module FbpageHelper #{when_was_added}
#{t :views} #{was_viewed} - +
- + #{ index == 4 ? "" :"
 
"} } end -- 2.11.4.GIT