This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
forked from Growstuff/growstuff
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Growstuff#321 from Growstuff/dev
Production push: order referral codes and some CSS fixes
- Loading branch information
Showing
18 changed files
with
219 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
= form_tag(url_for(:controller => 'admin/orders', :action => 'search'), :method => :get, :class => 'form-inline') do | ||
= label_tag :distance, "Search orders:", :class => 'control-label' | ||
= text_field_tag :search_text | ||
= select_tag :search_by, options_for_select({'Member' => 'member', 'Order ID' => 'order_id', 'Paypal Token' => 'paypal_token', 'Paypal Payer ID' => 'paypal_payer_id' }) | ||
= select_tag :search_by, options_for_select({'Member' => 'member', 'Referral code' => 'referral_code', 'Order ID' => 'order_id', 'Paypal Token' => 'paypal_token', 'Paypal Payer ID' => 'paypal_payer_id' }) | ||
= submit_tag "Search", :class => 'btn btn-primary' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
.container | ||
.navbar.navbar-fixed-bottom | ||
.navbar-inner | ||
.container | ||
%ul.nav | ||
%li= link_to "About", "http://wiki.growstuff.org/index.php/About%20Growstuff" | ||
%li= link_to "Contact", url_for(:controller => '/about', :action => 'contact') | ||
%li= link_to "Terms of Service", url_for(:controller => '/policy', :action => 'tos') | ||
%li= link_to "Privacy Policy", url_for(:controller => %'/policy', :action => 'privacy') | ||
%li= link_to "Community Guidelines", url_for(:controller => '/policy', :action => 'community') | ||
%li= link_to "Support/FAQ", url_for(:controller => '/support') | ||
%li= link_to "Open Source", "https://github.com/Growstuff/growstuff" | ||
.navbar.navbar-fixed-bottom | ||
.navbar-inner | ||
.container | ||
%ul.nav | ||
%li= link_to "About", "http://wiki.growstuff.org/index.php/About%20Growstuff" | ||
%li= link_to "Contact", url_for(:controller => '/about', :action => 'contact') | ||
%li= link_to "Terms of Service", url_for(:controller => '/policy', :action => 'tos') | ||
%li= link_to "Privacy Policy", url_for(:controller => %'/policy', :action => 'privacy') | ||
%li= link_to "Community Guidelines", url_for(:controller => '/policy', :action => 'community') | ||
%li= link_to "Support/FAQ", url_for(:controller => '/support') | ||
%li= link_to "Open Source", "https://github.com/Growstuff/growstuff" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class AddReferralCodeToOrder < ActiveRecord::Migration | ||
def change | ||
add_column :orders, :referral_code, :string | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.