From 378f439661ff804ec7a8b8546369a0e2729ff25d Mon Sep 17 00:00:00 2001 From: Fabio Teixeira Date: Thu, 11 Dec 2014 10:05:22 -0200 Subject: [PATCH] Remove trailing whitespace --- lib/library_helper.rb | 4 ++-- lib/license_helper.rb | 8 +++----- views/_main_software_editor_extras.html.erb | 4 ++-- views/profile/_software_tab.html.erb | 4 ++-- views/search/search_community_filter.html.erb | 2 +- 5 files changed, 10 insertions(+), 12 deletions(-) diff --git a/lib/library_helper.rb b/lib/library_helper.rb index 0db27eb..1a4bf01 100644 --- a/lib/library_helper.rb +++ b/lib/library_helper.rb @@ -34,10 +34,10 @@ module LibraryHelper ApplicationHelper ) - return library_html_structure({:name=>"", :version=>"", :license=>""}) if list_libraries.nil? + return library_html_structure({:name=>"", :version=>"", :license=>""}) if list_libraries.nil? lambdas_list = [] - + list_libraries.each do |library| lambdas_list << library_html_structure(library) end diff --git a/lib/license_helper.rb b/lib/license_helper.rb index 46e0b84..000c551 100644 --- a/lib/license_helper.rb +++ b/lib/license_helper.rb @@ -1,7 +1,5 @@ -module LicenseHelper - - def self.getListLicenses - LicenseInfo.all +module LicenseHelper + def self.getListLicenses + LicenseInfo.all end - end diff --git a/views/_main_software_editor_extras.html.erb b/views/_main_software_editor_extras.html.erb index c3f1c3c..ed561da 100644 --- a/views/_main_software_editor_extras.html.erb +++ b/views/_main_software_editor_extras.html.erb @@ -6,9 +6,9 @@ <%= context.profile.environment.default_hostname %>/ <%= text_field_tag(:name, context.profile.software_info.community.name) %> - +

<%= _("Finality") %>

-
+
<%= text_field_tag(:finality, context.profile.software_info.finality) %>
diff --git a/views/profile/_software_tab.html.erb b/views/profile/_software_tab.html.erb index 1fe15f2..07d4631 100644 --- a/views/profile/_software_tab.html.erb +++ b/views/profile/_software_tab.html.erb @@ -66,7 +66,7 @@ - + <%= content_tag('tr', content_tag('td', _("Programming Language")) + content_tag('td', '')) %> @@ -85,7 +85,7 @@ - +
<%= content_tag('tr', content_tag('td', _("Operating System")) + content_tag('td', '')) %> diff --git a/views/search/search_community_filter.html.erb b/views/search/search_community_filter.html.erb index 4596057..faefb28 100644 --- a/views/search/search_community_filter.html.erb +++ b/views/search/search_community_filter.html.erb @@ -4,7 +4,7 @@
-
+ <%= label_tag("type_Community", _("Community")) %> <%= radio_button_tag(:type, "Community", (true if @active_type == "community")) %> <%= label_tag("type_Software", _("Software")) %> -- libgit2 0.21.2