Skip to content

Commit

Permalink
Added airtel styling for status enquiries
Browse files Browse the repository at this point in the history
  • Loading branch information
kimenye committed May 6, 2015
1 parent 0b6a5fe commit 3665167
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/controllers/enquiries_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def new_claim
def enquire_status
status = Status.new
status.action = "new-status"
status.enquiry_type = params[:enquiry_type]
session[:status] = status
redirect_to status_path
end
Expand Down
2 changes: 1 addition & 1 deletion app/views/status/customer_id.html.haml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#sales-info-page{"data-role" => "page", "data-theme" => "b", "data-add-back-btn" => "true"}
#sales-info-page{"data-role" => "page", "data-theme" => "b", "data-add-back-btn" => "true", class: "enquiry #{@status.enquiry_type}"}
%header{"data-role" => "header"}
%h1
Client Details
Expand Down
2 changes: 1 addition & 1 deletion app/views/status/customer_not_found.html.haml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#sales-info-page{"data-role" => "page", "data-theme" => "b", "data-add-back-btn" => "true"}
#sales-info-page{"data-role" => "page", "data-theme" => "b", "data-add-back-btn" => "true", class: "enquiry #{@status.enquiry_type}"}
%header{"data-role" => "header"}
%h1
Customer Not Found
Expand Down

0 comments on commit 3665167

Please sign in to comment.