Skip to content

Commit

Permalink
checbox typos everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
ndbroadbent committed Sep 17, 2012
1 parent ba3a258 commit 25f2d98
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion app/helpers/accounts_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module AccountsHelper

# Sidebar checkbox control for filtering accounts by category.
#----------------------------------------------------------------------------
def account_category_checbox(category, count)
def account_category_checkbox(category, count)
checked = (session[:accounts_filter] ? session[:accounts_filter].split(",").include?(category.to_s) : count.to_i > 0)
onclick = remote_function(
:url => { :action => :filter },
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/campaigns_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module CampaignsHelper

# Sidebar checkbox control for filtering campaigns by status.
#----------------------------------------------------------------------------
def campaign_status_checbox(status, count)
def campaign_status_checkbox(status, count)
checked = (session[:campaigns_filter] ? session[:campaigns_filter].split(",").include?(status.to_s) : count.to_i > 0)
onclick = remote_function(
:url => { :action => :filter },
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/leads_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def confirm_reject(lead)

# Sidebar checkbox control for filtering leads by status.
#----------------------------------------------------------------------------
def lead_status_checbox(status, count)
def lead_status_checkbox(status, count)
checked = (session[:leads_filter] ? session[:leads_filter].split(",").include?(status.to_s) : count.to_i > 0)
onclick = remote_function(
:url => { :action => :filter },
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/tasks_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module TasksHelper
# Sidebar checkbox control for filtering tasks by due date -- used for
# pending and assigned views only.
#----------------------------------------------------------------------------
def task_filter_checbox(view, filter, count)
def task_filter_checkbox(view, filter, count)
name = "filter_by_task_#{view}"
checked = (session[name] ? session[name].split(",").include?(filter.to_s) : count > 0)
onclick = remote_function(
Expand Down
4 changes: 2 additions & 2 deletions app/views/accounts/_sidebar_index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
.check_box{:style => "border-bottom: 1px silver dotted;"}
%div{:style => "float:right;"}
= @account_category_total[key]
= account_category_checbox(key, @account_category_total[key])
= account_category_checkbox(key, @account_category_total[key])
= label_tag(key, t(key))

.check_box{:style => "border-bottom: 1px silver dotted;"}
%div{:style => "float:right;"}
= @account_category_total[:other]
= account_category_checbox("other", @account_category_total[:other])
= account_category_checkbox("other", @account_category_total[:other])
= label_tag(:other, t(:other))

.check_box
Expand Down
4 changes: 2 additions & 2 deletions app/views/campaigns/_sidebar_index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
.check_box{:style => "border-bottom: 1px silver dotted;"}
%div{:style => "float:right;"}
= @campaign_status_total[key]
= campaign_status_checbox(key, @campaign_status_total[key])
= campaign_status_checkbox(key, @campaign_status_total[key])
= label_tag(key, t(key))

.check_box{:style => "border-bottom: 1px silver dotted;"}
%div{:style => "float:right;"}
= @campaign_status_total[:other]
= campaign_status_checbox("other", @campaign_status_total[:other])
= campaign_status_checkbox("other", @campaign_status_total[:other])
= label_tag(:other, t(:other))

.check_box
Expand Down
4 changes: 2 additions & 2 deletions app/views/leads/_sidebar_index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
.check_box{:style => "border-bottom: 1px silver dotted;"}
%div{:style => "float:right;"}
= @lead_status_total[key]
= lead_status_checbox(key, @lead_status_total[key])
= lead_status_checkbox(key, @lead_status_total[key])
= label_tag(key, t(key))

.check_box{:style => "border-bottom: 1px silver dotted;"}
%div{:style => "float:right;"}
= @lead_status_total[:other]
= lead_status_checbox("other", @lead_status_total[:other])
= lead_status_checkbox("other", @lead_status_total[:other])
= label_tag(:other, t(:other))

.check_box
Expand Down
4 changes: 2 additions & 2 deletions app/views/tasks/_sidebar_index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
.check_box{:style => "border-bottom: 1px silver dotted;"}
%div{:style => "float:right;"}
= @task_total[key]
= task_filter_checbox(@view, key, @task_total[key]) << " " << t(value)
= task_filter_checkbox(@view, key, @task_total[key]) << " " << t(value)
- else # @view == "completed"
- Setting.unroll(:task_completed).each do |value, key|
.check_box{:style => "border-bottom: 1px silver dotted;"}
%div{:style => "float:right;"}
= @task_total[key]
= task_filter_checbox(@view, key, @task_total[key]) << " " << t(value)
= task_filter_checkbox(@view, key, @task_total[key]) << " " << t(value)
.check_box
%div{:style => "float:right;"}
%b= @task_total[:all]
Expand Down

0 comments on commit 25f2d98

Please sign in to comment.