Tribunal de Contas de Angola
Rua 17 de Setembro, Cidade Alta
Luanda - Angola
Eventos
Java method "com.liferay.portal.kernel.util.DateUtil_IW.parseDate(String, String, Locale)" threw an exception when invoked on com.liferay.portal.kernel.util.DateUtil_IW object "com.liferay.portal.kernel.util.DateUtil_IW@3fd7d918"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign DateTime53228167_DateObj = da... [in template "20096#20121#null" at line 8, column 17] ----
1<#assign DateTime53228167_Data=getterUtil.getString(DDMStructure_DateTime53228167.getData()) />
2<div class="evento mb-5">
3 <div class="evento-bg" style="background-image: url(${DDMStructure_Image22670781.getData()});"></div>
4 <!-- <a href="${DDMStructure_Text93703308.getData()}" class="card-evento" target="_blank"> -->
5 <div onclick="abrirEvento('${JournalArticle_title.getData()}')" class="card-evento">
6 <div class="titulo clr-secondary">
7 <#if validator.isNotNull(DateTime53228167_Data)>
8 <#assign DateTime53228167_DateObj=dateUtil.parseDate("dd-MM-yyyy", DateTime53228167_Data, locale) />
9 ${dateUtil.getDate(DateTime53228167_DateObj, "MMMM dd, yyyy", locale)}
10 </#if>
11 </div>
12 <div class="descricao mt-md-3" style="color: #272833;">
13 <#if (JournalArticle_title.getData())??>
14 ${JournalArticle_title.getData()}
15 </#if>
16 </div>
17 <div class="card-footer">
18 <div class="horario">
19 <#if validator.isNotNull(DateTime53228167_Data)>
20 <#assign DateTime53228167_DateObj=dateUtil.parseDate("dd-MM-yyyy HH:mm", DateTime53228167_Data, locale) />
21 ${DateTime53228167_DateObj?string["HH:mm"]}
22 </#if>
23 </div>
24 <div class="local mt-2">
25 <#if (DDMStructure_Text60015899.getData())??>
26 ${DDMStructure_Text60015899.getData()}
27 </#if>
28 </div>
29 </div>
30 </div>
31</div>
32
33<script>
34 function abrirEvento(title) {
35 window.location.href = "/w/" + formatarStringParaURL(title);
36 }
37
38 function formatarStringParaURL(str) {
39 return str
40 .toLowerCase() // Transforma em minúsculas
41 .replace(/\s+/g, '-') // Substitui espaços por hífens
42 .replace(/\//g, '') // Remove barras
43 .replace(/\-\-+/g, '-') // Remove múltiplos hífens seguidos
44 .replace(/^-+/, '') // Remove hífens do início
45 .replace(/-+$/, ''); // Remove hífens do fim
46 }
47</script>
48
49<style>
50 .evento a {
51 text-decoration: none;
52 }
53 .evento-destaque {
54 display: flex;
55 flex-direction: column;
56 justify-content: end;
57 align-items: flex-end;
58 border-radius: 5.124px;
59 position: relative;
60 isolation: isolate;
61 text-decoration: none !important;
62 color: #444444;
63 aspect-ratio: 1 / 0.75;
64 }
65
66 .evento-destaque .titulo {
67 text-transform: uppercase;
68 font-weight: 600;
69 color: var(--secondary);
70 }
71
72 .evento-destaque .titulo,
73 .evento-destaque .descricao {
74 transition: .3s ease-in-out;
75 font-size: clamp(0.8rem, 0.3vw + 0.7rem, 1rem);
76 }
77
78 .evento-destaque .evento-bg {
79 position: absolute;
80 height: 75%;
81 width: 100%;
82 left: 0;
83 top: 0;
84 border-radius: 7px;
85 background-color: #F2F2F2 50%;
86 background-repeat: no-repeat;
87 background-size: cover;
88 z-index: -1;
89 transition: .3s ease-in-out;
90 }
91
92 .evento-destaque .evento-bg::after {
93 content: '';
94 position: absolute;
95 z-index: -1;
96 inset: 0;
97 background: linear-gradient(358deg, rgba(0, 0, 0, 0.70) 20.31%, rgba(68, 68, 68, 0.00) 98.51%);
98 opacity: .9;
99 border-radius: 7px;
100 }
101
102 .evento-destaque .card-footer {
103 position: relative;
104 width: 100%;
105 height: 0;
106 z-index: 100;
107 transition: .2s ease-in-out;
108 background-color: inherit;
109 border: none;
110 padding: 0;
111 }
112
113 .evento-destaque .card-footer::after {
114 content: '';
115 position: absolute;
116 right: 0;
117 width: 25px;
118 height: 25px;
119 background-image: url('/documents/d/guest/icon-card-click');
120 background-repeat: no-repeat;
121 background-size: contain;
122 bottom: 0;
123 right: 0;
124 transition: .3s ease-in-out;
125 }
126
127 .evento-destaque:hover .card-footer::after {
128 background-image: url('/documents/d/guest/icon-card-click-active');
129 }
130
131 .evento-destaque .card-footer .horario,
132 .evento-destaque .card-footer .local {
133 position: relative;
134 color: #B5B2B2;
135 padding-left: 25px;
136 opacity: 0;
137 }
138
139 .evento-destaque .card-footer.open {
140 height: 70px;
141 }
142
143 .evento-destaque .card-footer.open .horario,
144 .evento-destaque .card-footer.open .local {
145 transition: .3s ease-in-out;
146 opacity: 1;
147 }
148
149 .evento-destaque .card-footer.open::after {
150 transform: rotate(-90deg);
151 }
152
153 .evento-destaque .card-footer .horario::before,
154 .evento-destaque .card-footer .local::before {
155 content: '';
156 position: absolute;
157 left: 0;
158 top: 50%;
159 transform: translateY(-50%);
160 height: 15px;
161 width: 15px;
162 background-size: contain;
163 background-repeat: no-repeat;
164 }
165
166 .evento-destaque .card-footer .horario::before {
167 background-image: url('/documents/d/guest/clock-icon');
168 }
169
170 .evento-destaque .card-footer .local::before {
171 background-image: url('/documents/d/guest/location-icon');
172 }
173
174 .evento-destaque .card-evento {
175 background-color: #fff;
176 box-shadow: 5px 20px 26px 0 #d4d4d4;
177 border-radius: 7px;
178 padding: 16px 24px;
179 transform: translate(15px, 0px);
180 text-decoration: none;
181 cursor: pointer;
182 }
183
184
185 .evento-destaque .titulo,
186 .evento-destaque .descricao {
187 position: relative;
188 }
189
190 @media screen and (min-width: 992px) {
191 .evento-destaque {
192 aspect-ratio: 1 / 0.35;
193 padding: 70px 50px;
194 justify-content: center;
195 }
196
197 .evento-destaque .card-evento {
198 width: 55%;
199 padding: 30px 36px;
200 }
201
202 .evento-destaque .evento-bg {
203 height: 100%;
204 width: 50%;
205 }
206
207 .evento-destaque .card-footer {
208 height: auto;
209 z-index: -1;
210 pointer-events: none;
211 margin-top: 10px;
212 }
213
214 .evento-destaque .card-footer .horario,
215 .evento-destaque .card-footer .local {
216 opacity: 1;
217 }
218
219 .evento-destaque .card-footer::after {
220 width: 40px;
221 height: 40px;
222 }
223 }
224</style>
Java method "com.liferay.portal.kernel.util.DateUtil_IW.parseDate(String, String, Locale)" threw an exception when invoked on com.liferay.portal.kernel.util.DateUtil_IW object "com.liferay.portal.kernel.util.DateUtil_IW@3fd7d918"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign DateTime53228167_DateObj = da... [in template "20096#20121#null" at line 8, column 17] ----
1<#assign DateTime53228167_Data=getterUtil.getString(DDMStructure_DateTime53228167.getData()) />
2<div class="evento mb-5">
3 <div class="evento-bg" style="background-image: url(${DDMStructure_Image22670781.getData()});"></div>
4 <!-- <a href="${DDMStructure_Text93703308.getData()}" class="card-evento" target="_blank"> -->
5 <div onclick="abrirEvento('${JournalArticle_title.getData()}')" class="card-evento">
6 <div class="titulo clr-secondary">
7 <#if validator.isNotNull(DateTime53228167_Data)>
8 <#assign DateTime53228167_DateObj=dateUtil.parseDate("dd-MM-yyyy", DateTime53228167_Data, locale) />
9 ${dateUtil.getDate(DateTime53228167_DateObj, "MMMM dd, yyyy", locale)}
10 </#if>
11 </div>
12 <div class="descricao mt-md-3" style="color: #272833;">
13 <#if (JournalArticle_title.getData())??>
14 ${JournalArticle_title.getData()}
15 </#if>
16 </div>
17 <div class="card-footer">
18 <div class="horario">
19 <#if validator.isNotNull(DateTime53228167_Data)>
20 <#assign DateTime53228167_DateObj=dateUtil.parseDate("dd-MM-yyyy HH:mm", DateTime53228167_Data, locale) />
21 ${DateTime53228167_DateObj?string["HH:mm"]}
22 </#if>
23 </div>
24 <div class="local mt-2">
25 <#if (DDMStructure_Text60015899.getData())??>
26 ${DDMStructure_Text60015899.getData()}
27 </#if>
28 </div>
29 </div>
30 </div>
31</div>
32
33<script>
34 function abrirEvento(title) {
35 window.location.href = "/w/" + formatarStringParaURL(title);
36 }
37
38 function formatarStringParaURL(str) {
39 return str
40 .toLowerCase() // Transforma em minúsculas
41 .replace(/\s+/g, '-') // Substitui espaços por hífens
42 .replace(/\//g, '') // Remove barras
43 .replace(/\-\-+/g, '-') // Remove múltiplos hífens seguidos
44 .replace(/^-+/, '') // Remove hífens do início
45 .replace(/-+$/, ''); // Remove hífens do fim
46 }
47</script>
48
49<style>
50 .evento a {
51 text-decoration: none;
52 }
53 .evento-destaque {
54 display: flex;
55 flex-direction: column;
56 justify-content: end;
57 align-items: flex-end;
58 border-radius: 5.124px;
59 position: relative;
60 isolation: isolate;
61 text-decoration: none !important;
62 color: #444444;
63 aspect-ratio: 1 / 0.75;
64 }
65
66 .evento-destaque .titulo {
67 text-transform: uppercase;
68 font-weight: 600;
69 color: var(--secondary);
70 }
71
72 .evento-destaque .titulo,
73 .evento-destaque .descricao {
74 transition: .3s ease-in-out;
75 font-size: clamp(0.8rem, 0.3vw + 0.7rem, 1rem);
76 }
77
78 .evento-destaque .evento-bg {
79 position: absolute;
80 height: 75%;
81 width: 100%;
82 left: 0;
83 top: 0;
84 border-radius: 7px;
85 background-color: #F2F2F2 50%;
86 background-repeat: no-repeat;
87 background-size: cover;
88 z-index: -1;
89 transition: .3s ease-in-out;
90 }
91
92 .evento-destaque .evento-bg::after {
93 content: '';
94 position: absolute;
95 z-index: -1;
96 inset: 0;
97 background: linear-gradient(358deg, rgba(0, 0, 0, 0.70) 20.31%, rgba(68, 68, 68, 0.00) 98.51%);
98 opacity: .9;
99 border-radius: 7px;
100 }
101
102 .evento-destaque .card-footer {
103 position: relative;
104 width: 100%;
105 height: 0;
106 z-index: 100;
107 transition: .2s ease-in-out;
108 background-color: inherit;
109 border: none;
110 padding: 0;
111 }
112
113 .evento-destaque .card-footer::after {
114 content: '';
115 position: absolute;
116 right: 0;
117 width: 25px;
118 height: 25px;
119 background-image: url('/documents/d/guest/icon-card-click');
120 background-repeat: no-repeat;
121 background-size: contain;
122 bottom: 0;
123 right: 0;
124 transition: .3s ease-in-out;
125 }
126
127 .evento-destaque:hover .card-footer::after {
128 background-image: url('/documents/d/guest/icon-card-click-active');
129 }
130
131 .evento-destaque .card-footer .horario,
132 .evento-destaque .card-footer .local {
133 position: relative;
134 color: #B5B2B2;
135 padding-left: 25px;
136 opacity: 0;
137 }
138
139 .evento-destaque .card-footer.open {
140 height: 70px;
141 }
142
143 .evento-destaque .card-footer.open .horario,
144 .evento-destaque .card-footer.open .local {
145 transition: .3s ease-in-out;
146 opacity: 1;
147 }
148
149 .evento-destaque .card-footer.open::after {
150 transform: rotate(-90deg);
151 }
152
153 .evento-destaque .card-footer .horario::before,
154 .evento-destaque .card-footer .local::before {
155 content: '';
156 position: absolute;
157 left: 0;
158 top: 50%;
159 transform: translateY(-50%);
160 height: 15px;
161 width: 15px;
162 background-size: contain;
163 background-repeat: no-repeat;
164 }
165
166 .evento-destaque .card-footer .horario::before {
167 background-image: url('/documents/d/guest/clock-icon');
168 }
169
170 .evento-destaque .card-footer .local::before {
171 background-image: url('/documents/d/guest/location-icon');
172 }
173
174 .evento-destaque .card-evento {
175 background-color: #fff;
176 box-shadow: 5px 20px 26px 0 #d4d4d4;
177 border-radius: 7px;
178 padding: 16px 24px;
179 transform: translate(15px, 0px);
180 text-decoration: none;
181 cursor: pointer;
182 }
183
184
185 .evento-destaque .titulo,
186 .evento-destaque .descricao {
187 position: relative;
188 }
189
190 @media screen and (min-width: 992px) {
191 .evento-destaque {
192 aspect-ratio: 1 / 0.35;
193 padding: 70px 50px;
194 justify-content: center;
195 }
196
197 .evento-destaque .card-evento {
198 width: 55%;
199 padding: 30px 36px;
200 }
201
202 .evento-destaque .evento-bg {
203 height: 100%;
204 width: 50%;
205 }
206
207 .evento-destaque .card-footer {
208 height: auto;
209 z-index: -1;
210 pointer-events: none;
211 margin-top: 10px;
212 }
213
214 .evento-destaque .card-footer .horario,
215 .evento-destaque .card-footer .local {
216 opacity: 1;
217 }
218
219 .evento-destaque .card-footer::after {
220 width: 40px;
221 height: 40px;
222 }
223 }
224</style>
Java method "com.liferay.portal.kernel.util.DateUtil_IW.parseDate(String, String, Locale)" threw an exception when invoked on com.liferay.portal.kernel.util.DateUtil_IW object "com.liferay.portal.kernel.util.DateUtil_IW@3fd7d918"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign DateTime53228167_DateObj = da... [in template "20096#20121#null" at line 8, column 17] ----
1<#assign DateTime53228167_Data=getterUtil.getString(DDMStructure_DateTime53228167.getData()) />
2<div class="evento mb-5">
3 <div class="evento-bg" style="background-image: url(${DDMStructure_Image22670781.getData()});"></div>
4 <!-- <a href="${DDMStructure_Text93703308.getData()}" class="card-evento" target="_blank"> -->
5 <div onclick="abrirEvento('${JournalArticle_title.getData()}')" class="card-evento">
6 <div class="titulo clr-secondary">
7 <#if validator.isNotNull(DateTime53228167_Data)>
8 <#assign DateTime53228167_DateObj=dateUtil.parseDate("dd-MM-yyyy", DateTime53228167_Data, locale) />
9 ${dateUtil.getDate(DateTime53228167_DateObj, "MMMM dd, yyyy", locale)}
10 </#if>
11 </div>
12 <div class="descricao mt-md-3" style="color: #272833;">
13 <#if (JournalArticle_title.getData())??>
14 ${JournalArticle_title.getData()}
15 </#if>
16 </div>
17 <div class="card-footer">
18 <div class="horario">
19 <#if validator.isNotNull(DateTime53228167_Data)>
20 <#assign DateTime53228167_DateObj=dateUtil.parseDate("dd-MM-yyyy HH:mm", DateTime53228167_Data, locale) />
21 ${DateTime53228167_DateObj?string["HH:mm"]}
22 </#if>
23 </div>
24 <div class="local mt-2">
25 <#if (DDMStructure_Text60015899.getData())??>
26 ${DDMStructure_Text60015899.getData()}
27 </#if>
28 </div>
29 </div>
30 </div>
31</div>
32
33<script>
34 function abrirEvento(title) {
35 window.location.href = "/w/" + formatarStringParaURL(title);
36 }
37
38 function formatarStringParaURL(str) {
39 return str
40 .toLowerCase() // Transforma em minúsculas
41 .replace(/\s+/g, '-') // Substitui espaços por hífens
42 .replace(/\//g, '') // Remove barras
43 .replace(/\-\-+/g, '-') // Remove múltiplos hífens seguidos
44 .replace(/^-+/, '') // Remove hífens do início
45 .replace(/-+$/, ''); // Remove hífens do fim
46 }
47</script>
48
49<style>
50 .evento a {
51 text-decoration: none;
52 }
53 .evento-destaque {
54 display: flex;
55 flex-direction: column;
56 justify-content: end;
57 align-items: flex-end;
58 border-radius: 5.124px;
59 position: relative;
60 isolation: isolate;
61 text-decoration: none !important;
62 color: #444444;
63 aspect-ratio: 1 / 0.75;
64 }
65
66 .evento-destaque .titulo {
67 text-transform: uppercase;
68 font-weight: 600;
69 color: var(--secondary);
70 }
71
72 .evento-destaque .titulo,
73 .evento-destaque .descricao {
74 transition: .3s ease-in-out;
75 font-size: clamp(0.8rem, 0.3vw + 0.7rem, 1rem);
76 }
77
78 .evento-destaque .evento-bg {
79 position: absolute;
80 height: 75%;
81 width: 100%;
82 left: 0;
83 top: 0;
84 border-radius: 7px;
85 background-color: #F2F2F2 50%;
86 background-repeat: no-repeat;
87 background-size: cover;
88 z-index: -1;
89 transition: .3s ease-in-out;
90 }
91
92 .evento-destaque .evento-bg::after {
93 content: '';
94 position: absolute;
95 z-index: -1;
96 inset: 0;
97 background: linear-gradient(358deg, rgba(0, 0, 0, 0.70) 20.31%, rgba(68, 68, 68, 0.00) 98.51%);
98 opacity: .9;
99 border-radius: 7px;
100 }
101
102 .evento-destaque .card-footer {
103 position: relative;
104 width: 100%;
105 height: 0;
106 z-index: 100;
107 transition: .2s ease-in-out;
108 background-color: inherit;
109 border: none;
110 padding: 0;
111 }
112
113 .evento-destaque .card-footer::after {
114 content: '';
115 position: absolute;
116 right: 0;
117 width: 25px;
118 height: 25px;
119 background-image: url('/documents/d/guest/icon-card-click');
120 background-repeat: no-repeat;
121 background-size: contain;
122 bottom: 0;
123 right: 0;
124 transition: .3s ease-in-out;
125 }
126
127 .evento-destaque:hover .card-footer::after {
128 background-image: url('/documents/d/guest/icon-card-click-active');
129 }
130
131 .evento-destaque .card-footer .horario,
132 .evento-destaque .card-footer .local {
133 position: relative;
134 color: #B5B2B2;
135 padding-left: 25px;
136 opacity: 0;
137 }
138
139 .evento-destaque .card-footer.open {
140 height: 70px;
141 }
142
143 .evento-destaque .card-footer.open .horario,
144 .evento-destaque .card-footer.open .local {
145 transition: .3s ease-in-out;
146 opacity: 1;
147 }
148
149 .evento-destaque .card-footer.open::after {
150 transform: rotate(-90deg);
151 }
152
153 .evento-destaque .card-footer .horario::before,
154 .evento-destaque .card-footer .local::before {
155 content: '';
156 position: absolute;
157 left: 0;
158 top: 50%;
159 transform: translateY(-50%);
160 height: 15px;
161 width: 15px;
162 background-size: contain;
163 background-repeat: no-repeat;
164 }
165
166 .evento-destaque .card-footer .horario::before {
167 background-image: url('/documents/d/guest/clock-icon');
168 }
169
170 .evento-destaque .card-footer .local::before {
171 background-image: url('/documents/d/guest/location-icon');
172 }
173
174 .evento-destaque .card-evento {
175 background-color: #fff;
176 box-shadow: 5px 20px 26px 0 #d4d4d4;
177 border-radius: 7px;
178 padding: 16px 24px;
179 transform: translate(15px, 0px);
180 text-decoration: none;
181 cursor: pointer;
182 }
183
184
185 .evento-destaque .titulo,
186 .evento-destaque .descricao {
187 position: relative;
188 }
189
190 @media screen and (min-width: 992px) {
191 .evento-destaque {
192 aspect-ratio: 1 / 0.35;
193 padding: 70px 50px;
194 justify-content: center;
195 }
196
197 .evento-destaque .card-evento {
198 width: 55%;
199 padding: 30px 36px;
200 }
201
202 .evento-destaque .evento-bg {
203 height: 100%;
204 width: 50%;
205 }
206
207 .evento-destaque .card-footer {
208 height: auto;
209 z-index: -1;
210 pointer-events: none;
211 margin-top: 10px;
212 }
213
214 .evento-destaque .card-footer .horario,
215 .evento-destaque .card-footer .local {
216 opacity: 1;
217 }
218
219 .evento-destaque .card-footer::after {
220 width: 40px;
221 height: 40px;
222 }
223 }
224</style>
© 2024 Copyright Tribunal de Contas de Angola - Todos os direitos reservados