Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delegate to MarriageAbroadDataQuery from MarriageAbroadCalculator #2346

Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
eb26cbf
Use multiple lines for long conditionals in marriage-abroad
chrisroos Feb 25, 2016
5b316c5
Remove unnecessary parenthesis
chrisroos Feb 25, 2016
5fc2335
Add #ceremony_country_is_french_overseas_territory?
chrisroos Feb 24, 2016
10e53fb
Add #opposite_sex_consular_cni_country?
chrisroos Feb 24, 2016
ec6de12
Add #opposite_sex_consular_cni_in_nearby_country?
chrisroos Feb 24, 2016
48cbaec
Add #opposite_sex_no_marriage_related_consular_services_in_ceremony_c…
chrisroos Feb 24, 2016
ff31e86
Add #opposite_sex_affirmation_country?
chrisroos Feb 24, 2016
5ce3c9b
Add #ceremony_country_in_the_commonwealth?
chrisroos Feb 24, 2016
6a8ecab
Add #ceremony_country_is_british_overseas_territory?
chrisroos Feb 24, 2016
fa0b2ff
Add #opposite_sex_no_consular_cni_country?
chrisroos Feb 24, 2016
7c3c6f5
Add #opposite_sex_marriage_via_local_authorities?
chrisroos Feb 24, 2016
b2449b5
Add #opposite_sex_in_other_countries?
chrisroos Feb 24, 2016
b7fca43
Add #same_sex_ceremony_country_unknown_or_has_no_embassies?
chrisroos Feb 24, 2016
7ffce09
Add #same_sex_marriage_not_possible?
chrisroos Feb 24, 2016
68cda9c
Add #same_sex_marriage_country?
chrisroos Feb 24, 2016
8d901a4
Add #same_sex_marriage_country_when_couple_british?
chrisroos Feb 24, 2016
a076dc5
Add #same_sex_marriage_and_civil_partnership?
chrisroos Feb 24, 2016
810ba28
Add #civil_partnership_equivalent_country?
chrisroos Feb 24, 2016
3b88207
Add #civil_partnership_cni_not_required_country?
chrisroos Feb 24, 2016
da23c04
Add #civil_partnership_consular_country?
chrisroos Feb 24, 2016
ddac80a
Add #country_without_consular_facilities?
chrisroos Feb 29, 2016
541a6a2
Add #opposite_sex_21_days_residency_required?
chrisroos Feb 29, 2016
1219b58
Add #ceremony_country_is_dutch_caribbean_island?
chrisroos Feb 29, 2016
8f83849
Add #requires_7_day_notice?
chrisroos Feb 29, 2016
0dbd941
Add #same_sex_alt_fees_table_country?
chrisroos Feb 29, 2016
cc35a83
Avoid passing data_query unnecessarily
chrisroos Feb 29, 2016
7fc0dec
Remove data_query from marriage-abroad flow
chrisroos Feb 29, 2016
021d901
Update checksum data for marriage-abroad
chrisroos Feb 29, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Avoid passing data_query unnecessarily
The _what_you_need_to_do partial doesn't use `data_query`.
chrisroos committed Mar 8, 2016
commit cc35a836d65e1a68f92782f085b2744f0ec3af7e
Original file line number Diff line number Diff line change
@@ -31,10 +31,7 @@
<% end %>

<%= render partial: 'os_affirmation/what_you_need_to_do.govspeak.erb',
locals: {
calculator: calculator,
data_query: data_query
} -%>
locals: { calculator: calculator } -%>

<% if calculator.ceremony_country == 'united-arab-emirates' && calculator.resident_of_ceremony_country? %>
You may be able to get married at the British Embassy if you’re both resident in the United Arab Emirates and can prove that there are no other suitable facilities to get married locally.