File tree Expand file tree Collapse file tree 13 files changed +208
-109
lines changed Expand file tree Collapse file tree 13 files changed +208
-109
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,15 @@ module.exports = {
14
14
'require-valid-alt-text' : false ,
15
15
'no-inline-styles' : false ,
16
16
'no-negated-condition' : false ,
17
- 'no-invalid-meta' : false // Crashing the linter https://github.com/ember-template-lint/ember-template-lint/pull/1087
18
- }
17
+ 'no-invalid-meta' : false , // Crashing the linter https://github.com/ember-template-lint/ember-template-lint/pull/1087
18
+ 'no-curly-component-invocation' : false ,
19
+ } ,
20
+ overrides : [
21
+ {
22
+ files : [ '**/app/templates/account/**/*.hbs' ] ,
23
+ rules : {
24
+ 'no-curly-component-invocation' : true ,
25
+ }
26
+ } ,
27
+ ]
19
28
} ;
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ install: yarn
25
25
script :
26
26
- touch .env
27
27
- node scripts/l10n.js generate
28
- - yarn lint:scss
28
+ - yarn lint
29
29
- COVERAGE=true yarn test
30
30
- ROOT_URL=open-event-frontend ember build -prod
31
31
- bash scripts/test_fastboot.sh
Original file line number Diff line number Diff line change 1
- {{ account/application-section data =model }}
1
+ < Account::ApplicationSection @ data ={{ model }} />
Original file line number Diff line number Diff line change 1
1
<div class =" ui grid" >
2
2
<div class =" row" >
3
3
<div class =" {{ if device.isMobile ' sixteen' ' three' }} wide column" >
4
- {{ #tabbed-navigation isVertical =true }}
5
- {{ #link-to ' account.billing.payment-info' class =' item' }}
4
+ < TabbedNavigation @ isVertical ={{ true }} >
5
+ < LinkTo @ route = " account.billing.payment-info" class =" item" >
6
6
{{ t ' Payment Information' }}
7
- {{ /link-to }}
8
- {{ #link-to ' account.billing.invoices' class =' item' }}
7
+ </ LinkTo >
8
+ < LinkTo @ route = " account.billing.invoices" class =" item" >
9
9
{{ t ' Invoices' }}
10
- {{ /link-to }}
11
- {{ /tabbed-navigation }}
10
+ </ LinkTo >
11
+ </ TabbedNavigation >
12
12
</div >
13
13
<div class =" {{ if device.isMobile ' sixteen' ' thirteen' }} wide column" >
14
14
{{ outlet }}
Original file line number Diff line number Diff line change 1
1
<div class =" ui grid stackable" >
2
2
<div class =" row" >
3
3
<div class =" eight wide column" >
4
- {{ #tabbed-navigation isNonPointing =true }}
5
- {{ #link-to ' account.billing.invoices.list' ' all' class =' item' }}
4
+ < TabbedNavigation @ isNonPointing ={{ true }} >
5
+ < LinkTo @ route = " account.billing.invoices.list" @ model = " all" class =" item" >
6
6
{{ t ' All' }}
7
- {{ /link-to }}
8
- {{ #link-to ' account.billing.invoices.list' ' due' class =' item' }}
7
+ </ LinkTo >
8
+ < LinkTo @ route = " account.billing.invoices.list" @ model = " due" class =" item" >
9
9
{{ t ' Due' }}
10
- {{ /link-to }}
11
- {{ #link-to ' account.billing.invoices.list' ' paid' class =' item' }}
10
+ </ LinkTo >
11
+ < LinkTo @ route = " account.billing.invoices.list" @ model = " paid" class =" item" >
12
12
{{ t ' Paid' }}
13
- {{ /link-to }}
14
- {{ #link-to ' account.billing.invoices.list' ' upcoming' class =' item' }}
13
+ </ LinkTo >
14
+ < LinkTo @ route = " account.billing.invoices.list" @ model = " upcoming" class =" item" >
15
15
{{ t ' Upcoming' }}
16
- {{ /link-to }}
17
- {{ /tabbed-navigation }}
16
+ </ LinkTo >
17
+ </ TabbedNavigation >
18
18
</div >
19
19
</div >
20
20
<div class =" row" >
Original file line number Diff line number Diff line change 1
1
<div class =" sixteen wide column" >
2
- {{ tables/default columns = columns
3
- rows = model.eventInvoices.data
4
- currentPage = page
5
- pageSize = per_page
6
- searchQuery = search
7
- sortBy = sort_by
8
- sortDir = sort_dir
9
- metaData = model.eventInvoices.meta
10
- filterOptions = filterOptions
11
- widthConstraint = " eq-container "
12
- resizeMode = " fluid "
13
- fillMode = " equal-column "
14
- }}
2
+ < Tables::Default
3
+ @ columns = {{ columns }}
4
+ @ rows = {{ model.eventInvoices.data }}
5
+ @ currentPage = {{ page }}
6
+ @ pageSize = {{ per_page }}
7
+ @ searchQuery = {{ search }}
8
+ @ sortBy = {{ sort_by }}
9
+ @ sortDir = {{ sort_dir }}
10
+ @ metaData = {{ model.eventInvoices.meta }}
11
+ @ filterOptions = {{ filterOptions }}
12
+ @ widthConstraint = " eq-container "
13
+ @ resizeMode = " fluid "
14
+ @ fillMode = " equal-column " />
15
15
</div >
Original file line number Diff line number Diff line change 1
1
<div class =" ui basic {{ if isLoading ' loading' ' ' }} segment" >
2
- {{ forms/user-payment-info-form }}
2
+ < Forms::UserPaymentInfoForm />
3
3
</div >
Original file line number Diff line number Diff line change 1
- {{ account/danger-zone data =model }}
1
+ < Account::DangerZone @ data ={{ model }} />
Original file line number Diff line number Diff line change 1
- {{ account/email-preferences-section preferences =model }}
1
+ < Account::EmailPreferencesSection @ preferences ={{ model }} />
Original file line number Diff line number Diff line change 1
- {{ account/password-section changePassword = (action ' changePassword' ) passwordCurrent =passwordCurrent passwordNew =passwordNew passwordRepeat =passwordRepeat isLoading =isLoading }}
1
+ <Account::PasswordSection
2
+ @changePassword ={{ action " changePassword" }}
3
+ @passwordCurrent ={{ passwordCurrent }}
4
+ @passwordNew ={{ passwordNew }}
5
+ @passwordRepeat ={{ passwordRepeat }}
6
+ @isLoading ={{ isLoading }} />
You can’t perform that action at this time.
0 commit comments