Zawodnik
- Aktualności
Aktualności
- Drużyna
Drużyna
- Klub
Klub
- Rozgrywki
Rozgrywki
- Kontakt
Wystąpił błąd podczas przetwarzania szablonu.
The following has evaluated to null or missing:
==> player.birthday [in template "4543401#4543429#4639447" at line 68, column 55]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${player.birthday} [in template "4543401#4543429#4639447" at line 68, column 53]
----
1<#assign cdnURL = "https://aluroncnccdn.stellis.one"/>
2<#setting locale = locale>
3<div class="single-player-top-container single-player-secondary-type">
4 <div class="player-number">
5 <#if player.number != 0>
6 #${player.number}
7 </#if>
8 </div>
9 <div class="player-photo">
10 <#if player.photoMediaWebDTO??>
11 <img class="photo-background" src="${cdnURL}/imgsize-m${player.photoMediaWebDTO.url}"
12 alt="${player.firstName} ${player.lastName}">
13 <#else>
14 <img class="photo-background" src="/o/single-player/images/photo-placeholder.png" alt="photo placeholder">
15 </#if>
16 </div>
17 <div class="player-name">
18 <h2 class="name"><span>${player.firstName}</span> ${player.lastName}</h2>
19 </div>
20 <div class="player-share-widget">
21 <#if player.getExtraValue('instagram')?has_content>
22 <a href="${player.getExtraValue('instagram')}" target="_blank"><span class="icon icon-instagram-white" style="color:white; font-size:1.5rem;"></span></a>
23 </#if>
24 <#if player.getExtraValue('facebook')?has_content>
25 <a href="${player.getExtraValue('facebook')}" target="_blank"><span class="icon icon-facebook-white" style="color:white; font-size:1.5rem;"></span></a>
26 </#if>
27 <#if player.getExtraValue('twitter')?has_content>
28 <a href="${player.getExtraValue('twitter')}" target="_blank"><span class="icon icon-twitter-white" style="color:white; font-size:1.5rem;"></span></a>
29 </#if>
30 </div>
31 <#if player.getExtraValue('nickname')?has_content>
32 <div class="single-player-details">
33 <span class="title">${TranslationUtil.get("player-nick", locale, "com.stellis.liga360.bellatrix.configurator")}:</span>
34 <span class="value">${player.getExtraValue('nickname')}</span>
35 </div>
36 </#if>
37 <#if player.nationality?has_content>
38 <div class="single-player-details">
39 <span class="title">${TranslationUtil.get("player-nationality", locale, "com.stellis.liga360.bellatrix.configurator")}:</span>
40 <span class="value">${player.nationality}</span>
41 </div>
42 </#if>
43 <#if player.getExtraValue('careerProgression',locale)?has_content>
44 <div class="single-player-details">
45 <span class="title">${TranslationUtil.get("player-previous-clubs", locale, "com.stellis.liga360.bellatrix.configurator")}:</span>
46 <span class="value">${player.getExtraValue('careerProgression',locale)}</span>
47 </div>
48 </#if>
49 <div class="single-player-content container">
50 <div class="single-player-content-left">
51 <#if player.getExtraValue('leadText',locale)?has_content>
52 ${player.getExtraValue('leadText',locale)}
53 </#if>
54 </div>
55 </div>
56</div>
57<div class="styled-container light-container">
58 <div class="single-player-bottom-container">
59 <div class="single-player-details">
60 <div class="single-player-details-item">
61 <span class="title">${TranslationUtil.get("player-position", locale, "com.stellis.liga360.bellatrix.configurator")}</span>
62 <i class="icon icon-team"></i>
63 <span class="value">${player.position}</span>
64 </div>
65 <div class="single-player-details-item">
66 <span class="title">${TranslationUtil.get("player-birth-date", locale, "com.stellis.liga360.bellatrix.configurator")}</span>
67 <i class="icon icon-calendar-blue"></i>
68 <span class="value">${player.birthday}</span>
69 </div>
70 <#if player.getExtraValue('height')?has_content && player.number != 0>
71 <div class="single-player-details-item">
72 <span class="title">${TranslationUtil.get("player-height", locale, "com.stellis.liga360.bellatrix.configurator")}</span>
73 <i class="icon icon-height"></i>
74 <span class="value">${player.getExtraValue('height')} cm</span>
75 </div>
76 </#if>
77 <!--<#if player.weight?has_content && player.number != 0>
78 <div class="single-player-details-item">
79 <span class="title">${TranslationUtil.get("player-weight", locale, "com.stellis.liga360.bellatrix.configurator")}</span>
80 <i class="icon icon-scales"></i>
81 <span class="value" data-lfr-editable-id="weight-element-text" data-lfr-editable-type="text">${player.weight} kg</span>
82 </div>
83 </#if>-->
84 </div>
85 </div>
86 <div class="single-player-content container">
87 <div class="single-player-content-right">
88 <#if player.getExtraValue('content',locale)?has_content>
89 ${player.getExtraValue('content',locale)}
90 </#if>
91 </div>
92 </div>
93</div>
94
95 <style>
96 .single-player-content p {
97 color: white;
98 }
99
100 .single-player-top-container {
101 background-color: transparent;
102 }
103 .single-player-top-container .player-number {
104 color: #EBD403;
105 font-family: Old English Text MT;
106 font-size: 88px;
107 }
108 .single-player-top-container .player-name .name {
109 font-family: Coda;
110 font-size: 24px;
111 font-weight: 400;
112 text-transform: uppercase;
113 color: white;
114 text-align: left;
115 }
116 .single-player-top-container .single-player-details {
117 font-family: Roboto;
118 font-size: 16px;
119 color: white;
120 text-align: left;
121
122 }
123 .single-player-top-container .single-player-details .title {
124 text-transform: uppercase;
125 font-family: Roboto;
126 font-size: 16px;
127 color: white;
128 text-align: left;
129 }
130 .single-player-top-container .single-player-details .value {
131 font-family: Roboto;
132 font-size: 16px;
133 color: white;
134 text-align: left;
135 }
136
137.styled-container.light-container .single-player-bottom-container .single-player-details .single-player-details-item {
138 background-color: white;
139 border-radius: 0px;
140 }
141
142.styled-container.light-container .single-player-bottom-container .single-player-details .single-player-details-item .title {
143 color: #6d6d6d;
144 font-size: 10px;
145 text-transform: uppercase;
146 font-family: Lato;
147 font-weight: 400;
148
149 }
150 .styled-container.light-container .single-player-bottom-container .single-player-details {
151
152 gap: 30px;
153 justify-content: center;
154 padding-top: 1rem;
155 }
156 .styled-container.light-container .single-player-bottom-container .single-player-details .single-player-details-item {
157
158 margin:0;
159 }
160 .styled-container.light-container .single-player-bottom-container .single-player-details .single-player-details-item .icon {
161 color: #00A557;
162 -webkit-text-stroke: 0.4px;
163 }
164
165 .styled-container.light-container .single-player-bottom-container .single-player-details .single-player-details-item .value {
166 color: black;
167 font-size: 16px;
168 font-family: Coda;
169 font-weight: 400;
170 }
171 .single-player-top-container.single-player-secondary-type .player-share-widget {
172 display: flex;
173 flex-direction: row;
174 gap: 40px;
175 padding-bottom: 30px;
176 }
177 @media screen and (min-width: 991px) {
178 .styled-container.light-container .single-player-bottom-container .single-player-details {
179 grid-template-columns: repeat(4, 1fr);
180 }
181 .single-player-top-container .player-name .name {
182
183 font-size: 30px;
184 }
185 .styled-container.light-container .single-player-bottom-container .single-player-details .single-player-details-item .value {
186
187 font-size: 22px;
188
189 }
190 .styled-container.light-container .single-player-bottom-container .single-player-details .single-player-details-item .title {
191
192 font-size: 14px;
193 }
194 }
195 </style>