1
1
{{ page-title (t " pages.competence-result.title" )}}
2
2
3
- <header role = " banner " >
4
- <NavbarHeader / >
5
- </ header >
3
+ <Global::AppLayout >
4
+ <main id = " main " class = " background-banner-wrapper " role = " main " >
5
+ < div class = " background-banner " ></ div >
6
6
7
- <main id =" main" class =" background-banner-wrapper" role =" main" >
8
- <div class =" background-banner" ></div >
9
-
10
- <div class =" rounded-panel rounded-panel--strong rounded-panel--over-background-banner" >
11
- <div class =" competence-results-panel__header" >
12
- {{ #if @model.scorecard.hasNotEarnedAnything }}
13
- <div class =" competence-results-panel-header__banner competence-results-panel-header__banner--too-bad" >
14
- <p class =" competence-results-panel-header__banner-result-comment" >{{ t
15
- " pages.competence-result.header.too-bad"
16
- }} </p >
17
- <div class =" competence-results-banner__subtitle competence-results-banner__subtitle--small" >
18
- {{ t " pages.competence-result.header.too-bad-subtitle" }}
19
- </div >
20
- </div >
21
- {{ else if @model.scorecard.hasNotReachedLevelOne}}
22
- <div class =" competence-results-panel-header__banner competence-results-panel-header__banner--not-bad" >
23
- <p class =" competence-results-panel-header__banner-result-comment" >{{ t
24
- " pages.competence-result.header.not-bad"
25
- }} </p >
26
- <div class =" competence-results-banner__subtitle competence-results-banner__subtitle--left" >
27
- {{ t " pages.competence-result.header.not-bad-subtitle" }}
28
- </div >
29
- <div class =" competence-results-banner__text" >
30
- <div class =" competence-results-banner-text__results" >
31
- <div class =" competence-results-banner-text-results__label" >{{ t
32
- " pages.competence-result.header.you-have-earned"
33
- }} </div >
34
- <div class =" competence-results-banner-text-results__value" >{{ @model.scorecard.earnedPix }}
35
- {{ t " common.pix" }} </div >
7
+ <div class =" rounded-panel rounded-panel--strong rounded-panel--over-background-banner" >
8
+ <div class =" competence-results-panel__header" >
9
+ {{ #if @model.scorecard.hasNotEarnedAnything }}
10
+ <div class =" competence-results-panel-header__banner competence-results-panel-header__banner--too-bad" >
11
+ <p class =" competence-results-panel-header__banner-result-comment" >{{ t
12
+ " pages.competence-result.header.too-bad"
13
+ }} </p >
14
+ <div class =" competence-results-banner__subtitle competence-results-banner__subtitle--small" >
15
+ {{ t " pages.competence-result.header.too-bad-subtitle" }}
36
16
</div >
37
17
</div >
38
- </div >
39
- {{ else if @model.scorecard.hasReachedAtLeastLevelOne}}
40
- <div class =" competence-results-panel-header__banner competence-results-panel-header__banner--congrats" >
41
- <p class =" competence-results-panel-header__banner-result-comment" >{{ t
42
- " pages.competence-result.header.congratulations"
43
- }} </p >
44
- <div class =" competence-results-banner__text competence-results-banner__text--spaced" >
45
- <div class =" competence-results-banner-text__results competence-results-banner-text__results--spaced" >
46
- <div class =" competence-results-banner-text-results__label" >{{ t
47
- " pages.competence-result.header.you-have-reached-level"
48
- }} </div >
49
- <div class =" competence-results-banner-text-results__value" >{{ t " common.level" }}
50
- {{ @model.scorecard.level }} </div >
18
+ {{ else if @model.scorecard.hasNotReachedLevelOne}}
19
+ <div class =" competence-results-panel-header__banner competence-results-panel-header__banner--not-bad" >
20
+ <p class =" competence-results-panel-header__banner-result-comment" >{{ t
21
+ " pages.competence-result.header.not-bad"
22
+ }} </p >
23
+ <div class =" competence-results-banner__subtitle competence-results-banner__subtitle--left" >
24
+ {{ t " pages.competence-result.header.not-bad-subtitle" }}
51
25
</div >
52
- <div class =" competence-results-banner-text__results competence-results-banner-text__results--spaced" >
53
- <div class =" competence-results-banner-text-results__label" >{{ t
54
- " pages.competence-result.header.you-have-earned"
55
- }} </div >
56
- <div class =" competence-results-banner-text-results__value" >{{ @model.scorecard.earnedPix }}
57
- {{ t " common.pix" }} </div >
26
+ <div class =" competence-results-banner__text" >
27
+ <div class =" competence-results-banner-text__results" >
28
+ <div class =" competence-results-banner-text-results__label" >{{ t
29
+ " pages.competence-result.header.you-have-earned"
30
+ }} </div >
31
+ <div class =" competence-results-banner-text-results__value" >{{ @model.scorecard.earnedPix }}
32
+ {{ t " common.pix" }} </div >
33
+ </div >
58
34
</div >
59
35
</div >
60
- </div >
36
+ {{ else if @model.scorecard.hasReachedAtLeastLevelOne}}
37
+ <div class =" competence-results-panel-header__banner competence-results-panel-header__banner--congrats" >
38
+ <p class =" competence-results-panel-header__banner-result-comment" >{{ t
39
+ " pages.competence-result.header.congratulations"
40
+ }} </p >
41
+ <div class =" competence-results-banner__text competence-results-banner__text--spaced" >
42
+ <div class =" competence-results-banner-text__results competence-results-banner-text__results--spaced" >
43
+ <div class =" competence-results-banner-text-results__label" >{{ t
44
+ " pages.competence-result.header.you-have-reached-level"
45
+ }} </div >
46
+ <div class =" competence-results-banner-text-results__value" >{{ t " common.level" }}
47
+ {{ @model.scorecard.level }} </div >
48
+ </div >
49
+ <div class =" competence-results-banner-text__results competence-results-banner-text__results--spaced" >
50
+ <div class =" competence-results-banner-text-results__label" >{{ t
51
+ " pages.competence-result.header.you-have-earned"
52
+ }} </div >
53
+ <div class =" competence-results-banner-text-results__value" >{{ @model.scorecard.earnedPix }}
54
+ {{ t " common.pix" }} </div >
55
+ </div >
56
+ </div >
57
+ </div >
58
+ {{ /if }}
59
+ </div >
60
+ {{ #if @model.scorecard }}
61
+ <ScorecardDetails @scorecard ={{ @model.scorecard }} />
61
62
{{ /if }}
62
63
</div >
63
- {{ #if @model.scorecard }}
64
- <ScorecardDetails @scorecard ={{ @model.scorecard }} />
65
- {{ /if }}
66
- </div >
67
- </main >
68
-
69
- <Footer />
64
+ </main >
65
+ </Global::AppLayout >
0 commit comments