Aviso Agentes Interventores SIGESCOOP
Ruta de navegación
Menú de navegación
Menú auxiliar lateral izquierdo
Avisos
Publicador de contenidos
Publicado 1/02/22
234 Accesos
Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing: ==> FechaExpiracion [in template "20098#20124#145508" at line 46, column 66] ---- 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: #assign FechaExpiracion_Data = getter... [in template "20098#20124#145508" at line 46, column 13] ----
1<div class="container">
2 <div class="row row-cols-1">
3 <div class="col text-left cuerpoAvisoContenido">
4 ${Contenido.getData()}
5 </div>
6 <div class="col text-left mt-2 cuerpoAvisoContenido" id="fechaPublicacion">
7 <#assign fechas = '"'+.vars['reserved-article-display-date'].data+'"'/>
8 <script>
9
10 var fecha = ${fechas}
11
12 var date = new Date(fecha);
13
14
15 if(date=="Invalid Date"){
16
17 var months = ["ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic"];
18 var fechaDate = date.getFullYear()+' '+months[date.getMonth()]+' '+date.getDate()+', '+date.getHours() + ":" + date.getMinutes();
19
20 var remplace = fecha.replace(':00 -0500','');
21 console.log(remplace);
22
23 var fechaPublicacion = "Fecha de publicación: "+remplace;
24 document.getElementById("fechaPublicacion").innerHTML = fechaPublicacion;
25
26
27 }else{
28
29 var months = ["ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic"];
30 var fechaDate = date.getFullYear()+' '+months[date.getMonth()]+' '+date.getDate()+', '+date.getHours() + ":" + date.getMinutes();
31
32 var fechaPublicacion = "Fecha de publicación: "+fechaDate;
33 document.getElementById("fechaPublicacion").innerHTML = fechaPublicacion;
34
35 }
36
37
38
39
40 </script>
41 </div>
42
43
44
45 <div class="col text-left mt-2 mb-2 cuerpoAvisoContenido">
46 <#assign FechaExpiracion_Data = getterUtil.getString(FechaExpiracion.getData())>
47
48 <#if validator.isNotNull(FechaExpiracion_Data)>
49 <#assign Contenido_FechaExpiracion_DateObj = dateUtil.parseDate("yyyy-MM-dd", FechaExpiracion_Data, locale)>
50
51 Fecha de expiración: ${dateUtil.getDate(Contenido_FechaExpiracion_DateObj, "yyyy MMM dd, HH:mm", locale)}
52 </#if>
53 </div>
54 <#if NombrePagina.getSiblings()?has_content>
55 <#list NombrePagina.getSiblings() as cur_NombrePagina>
56 <#assign URL="">
57 <#if cur_NombrePagina.EnlacePaginaExterna.getData() !="">
58 <#assign URL = cur_NombrePagina.EnlacePaginaExterna.getData()>
59 <#else>
60 <#assign URL = cur_NombrePagina.EnlacePagina.getFriendlyUrl()>
61 </#if>
62 <#if cur_NombrePagina.getData() !="" && URL !="">
63 <div class="col-11 mb-2 cuerpoAvisoContenido">
64 <a href="${URL}" class="btn buttonRedireccion EnlacePagina p-0">
65 <label class="buttonRedireccionIcono EnlacePaginaIcono">
66 <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" fill="currentColor" class="bi bi-globe2" viewBox="0 0 16 16" style="min-width: 19px; max-width: 23px;">
67 <path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855-.143.268-.276.56-.395.872.705.157 1.472.257 2.282.287V1.077zM4.249 3.539c.142-.384.304-.744.481-1.078a6.7 6.7 0 0 1 .597-.933A7.01 7.01 0 0 0 3.051 3.05c.362.184.763.349 1.198.49zM3.509 7.5c.036-1.07.188-2.087.436-3.008a9.124 9.124 0 0 1-1.565-.667A6.964 6.964 0 0 0 1.018 7.5h2.49zm1.4-2.741a12.344 12.344 0 0 0-.4 2.741H7.5V5.091c-.91-.03-1.783-.145-2.591-.332zM8.5 5.09V7.5h2.99a12.342 12.342 0 0 0-.399-2.741c-.808.187-1.681.301-2.591.332zM4.51 8.5c.035.987.176 1.914.399 2.741A13.612 13.612 0 0 1 7.5 10.91V8.5H4.51zm3.99 0v2.409c.91.03 1.783.145 2.591.332.223-.827.364-1.754.4-2.741H8.5zm-3.282 3.696c.12.312.252.604.395.872.552 1.035 1.218 1.65 1.887 1.855V11.91c-.81.03-1.577.13-2.282.287zm.11 2.276a6.696 6.696 0 0 1-.598-.933 8.853 8.853 0 0 1-.481-1.079 8.38 8.38 0 0 0-1.198.49 7.01 7.01 0 0 0 2.276 1.522zm-1.383-2.964A13.36 13.36 0 0 1 3.508 8.5h-2.49a6.963 6.963 0 0 0 1.362 3.675c.47-.258.995-.482 1.565-.667zm6.728 2.964a7.009 7.009 0 0 0 2.275-1.521 8.376 8.376 0 0 0-1.197-.49 8.853 8.853 0 0 1-.481 1.078 6.688 6.688 0 0 1-.597.933zM8.5 11.909v3.014c.67-.204 1.335-.82 1.887-1.855.143-.268.276-.56.395-.872A12.63 12.63 0 0 0 8.5 11.91zm3.555-.401c.57.185 1.095.409 1.565.667A6.963 6.963 0 0 0 14.982 8.5h-2.49a13.36 13.36 0 0 1-.437 3.008zM14.982 7.5a6.963 6.963 0 0 0-1.362-3.675c-.47.258-.995.482-1.565.667.248.92.4 1.938.437 3.008h2.49zM11.27 2.461c.177.334.339.694.482 1.078a8.368 8.368 0 0 0 1.196-.49 7.01 7.01 0 0 0-2.275-1.52c.218.283.418.597.597.932zm-.488 1.343a7.765 7.765 0 0 0-.395-.872C9.835 1.897 9.17 1.282 8.5 1.077V4.09c.81-.03 1.577-.13 2.282-.287z"/>
68 </svg>
69 </label> ${cur_NombrePagina.getData()}
70 <label class="iconobuttonRedireccion iconoEnlacePagina">
71 <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" fill="currentColor" class="bi bi-globe2" viewBox="0 0 16 16" style="min-width: 19px; max-width: 23px;">
72 <path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855-.143.268-.276.56-.395.872.705.157 1.472.257 2.282.287V1.077zM4.249 3.539c.142-.384.304-.744.481-1.078a6.7 6.7 0 0 1 .597-.933A7.01 7.01 0 0 0 3.051 3.05c.362.184.763.349 1.198.49zM3.509 7.5c.036-1.07.188-2.087.436-3.008a9.124 9.124 0 0 1-1.565-.667A6.964 6.964 0 0 0 1.018 7.5h2.49zm1.4-2.741a12.344 12.344 0 0 0-.4 2.741H7.5V5.091c-.91-.03-1.783-.145-2.591-.332zM8.5 5.09V7.5h2.99a12.342 12.342 0 0 0-.399-2.741c-.808.187-1.681.301-2.591.332zM4.51 8.5c.035.987.176 1.914.399 2.741A13.612 13.612 0 0 1 7.5 10.91V8.5H4.51zm3.99 0v2.409c.91.03 1.783.145 2.591.332.223-.827.364-1.754.4-2.741H8.5zm-3.282 3.696c.12.312.252.604.395.872.552 1.035 1.218 1.65 1.887 1.855V11.91c-.81.03-1.577.13-2.282.287zm.11 2.276a6.696 6.696 0 0 1-.598-.933 8.853 8.853 0 0 1-.481-1.079 8.38 8.38 0 0 0-1.198.49 7.01 7.01 0 0 0 2.276 1.522zm-1.383-2.964A13.36 13.36 0 0 1 3.508 8.5h-2.49a6.963 6.963 0 0 0 1.362 3.675c.47-.258.995-.482 1.565-.667zm6.728 2.964a7.009 7.009 0 0 0 2.275-1.521 8.376 8.376 0 0 0-1.197-.49 8.853 8.853 0 0 1-.481 1.078 6.688 6.688 0 0 1-.597.933zM8.5 11.909v3.014c.67-.204 1.335-.82 1.887-1.855.143-.268.276-.56.395-.872A12.63 12.63 0 0 0 8.5 11.91zm3.555-.401c.57.185 1.095.409 1.565.667A6.963 6.963 0 0 0 14.982 8.5h-2.49a13.36 13.36 0 0 1-.437 3.008zM14.982 7.5a6.963 6.963 0 0 0-1.362-3.675c-.47.258-.995.482-1.565.667.248.92.4 1.938.437 3.008h2.49zM11.27 2.461c.177.334.339.694.482 1.078a8.368 8.368 0 0 0 1.196-.49 7.01 7.01 0 0 0-2.275-1.52c.218.283.418.597.597.932zm-.488 1.343a7.765 7.765 0 0 0-.395-.872C9.835 1.897 9.17 1.282 8.5 1.077V4.09c.81-.03 1.577-.13 2.282-.287z"/>
73 </svg>
74 </label>
75 </a>
76 <br>
77 </div>
78 </#if>
79 </#list>
80 </#if>
81 <#if Nombre_PDF.getSiblings()?has_content>
82 <#list Nombre_PDF.getSiblings() as cur_Nombre_PDF>
83 <#assign PDF="">
84 <#if cur_Nombre_PDF.PDFRadicado.getData() !="">
85 <#assign PDF = cur_Nombre_PDF.PDFRadicado.getData()>
86 <#else>
87 <#assign PDF= cur_Nombre_PDF.ArchivosAnexos.getData()>
88 </#if>
89 <#if cur_Nombre_PDF.getData() !="" && PDF !="">
90 <div class="col-11 mb-2 Cuerpo">
91 <a data-senna-off="true" href="${PDF}" class="btn buttonRedireccion p-0">
92 <label class="buttonRedireccionIcono">
93 <svg xmlns="http://www.w3.org/2000/svg" height="100%" fill="currentColor" class="bi bi-filetype-pdf" viewBox="0 0 16 16">
94 <path fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5ZM1.6 11.85H0v3.999h.791v-1.342h.803c.287 0 .531-.057.732-.173.203-.117.358-.275.463-.474a1.42 1.42 0 0 0 .161-.677c0-.25-.053-.476-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.545 1.333a.795.795 0 0 1-.085.38.574.574 0 0 1-.238.241.794.794 0 0 1-.375.082H.788V12.48h.66c.218 0 .389.06.512.181.123.122.185.296.185.522Zm1.217-1.333v3.999h1.46c.401 0 .734-.08.998-.237a1.45 1.45 0 0 0 .595-.689c.13-.3.196-.662.196-1.084 0-.42-.065-.778-.196-1.075a1.426 1.426 0 0 0-.589-.68c-.264-.156-.599-.234-1.005-.234H3.362Zm.791.645h.563c.248 0 .45.05.609.152a.89.89 0 0 1 .354.454c.079.201.118.452.118.753a2.3 2.3 0 0 1-.068.592 1.14 1.14 0 0 1-.196.422.8.8 0 0 1-.334.252 1.298 1.298 0 0 1-.483.082h-.563v-2.707Zm3.743 1.763v1.591h-.79V11.85h2.548v.653H7.896v1.117h1.606v.638H7.896Z"/>
95 </svg>
96 </label> ${cur_Nombre_PDF.getData()}
97 <label class="iconobuttonRedireccion">
98 <svg xmlns="http://www.w3.org/2000/svg" height="100%" fill="currentColor" class="bi bi-filetype-pdf" viewBox="0 0 16 16">
99 <path fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5ZM1.6 11.85H0v3.999h.791v-1.342h.803c.287 0 .531-.057.732-.173.203-.117.358-.275.463-.474a1.42 1.42 0 0 0 .161-.677c0-.25-.053-.476-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.545 1.333a.795.795 0 0 1-.085.38.574.574 0 0 1-.238.241.794.794 0 0 1-.375.082H.788V12.48h.66c.218 0 .389.06.512.181.123.122.185.296.185.522Zm1.217-1.333v3.999h1.46c.401 0 .734-.08.998-.237a1.45 1.45 0 0 0 .595-.689c.13-.3.196-.662.196-1.084 0-.42-.065-.778-.196-1.075a1.426 1.426 0 0 0-.589-.68c-.264-.156-.599-.234-1.005-.234H3.362Zm.791.645h.563c.248 0 .45.05.609.152a.89.89 0 0 1 .354.454c.079.201.118.452.118.753a2.3 2.3 0 0 1-.068.592 1.14 1.14 0 0 1-.196.422.8.8 0 0 1-.334.252 1.298 1.298 0 0 1-.483.082h-.563v-2.707Zm3.743 1.763v1.591h-.79V11.85h2.548v.653H7.896v1.117h1.606v.638H7.896Z"/>
100 </svg>
101 </label>
102 </a>
103 </div>
104 </#if>
105 </#list>
106 </#if>
107 </div>
108</div>
109
110<style>/* Button Redireccion */
111 .buttonRedireccion {
112 background: transparent;
113 border: none;
114 color: rgb(0, 0, 0);
115 position: relative;
116 text-align: left;
117 }
118
119 .buttonRedireccion>.buttonRedireccionIcono {
120 display: block;
121 position: relative;
122 width: 32px;
123 height: 14%;
124 left: 0px;
125 top: 0px;
126 padding: 8px 8px 8px 3px;
127 border-left: 5px solid #6c757d;
128 color: #000;
129 cursor: pointer;
130 text-align: left;
131 float: left;
132 margin: 0;
133 }
134
135 .buttonRedireccion>.buttonRedireccionIcono>svg,
136 .buttonRedireccion>.iconobuttonRedireccion>svg {
137 min-width: auto;
138 max-width: auto;
139 min-height: 100%;
140 max-height: 100%;
141 min-width: 19px;
142 max-width: 30px;
143 }
144
145 .buttonRedireccion:hover>.buttonRedireccionIcono {
146 border-left: none;
147 }
148
149 .buttonRedireccion>.iconobuttonRedireccion {
150 display: block;
151 position: absolute;
152 width: 0%;
153 height: 100%;
154 top: 0px;
155 padding: 0;
156 background: #6c757d;
157 color: white;
158 cursor: pointer;
159 transition: 900ms;
160 overflow: hidden;
161 text-align: center;
162 border-radius: 4px;
163 }
164
165 .buttonRedireccion:hover>.iconobuttonRedireccion{
166 width: 100%;
167 transition: 900ms;
168 padding: 6px;
169 color: white;
170 }
171
172 /* Enlace Pagina */
173
174 .EnlacePagina>.EnlacePaginaIcono {
175 border-color: #0f0d77;
176 }
177
178 .EnlacePagina>.iconoEnlacePagina {
179 background-color: #0f0d77;
180 }
181 .component-title .asset-title {
182 color: #2A477A !important;
183 font-family: "Montserrat" !important;
184 font-weight:bold !important;
185
186 }
187
188 .text-secondary, .metadata-author {
189
190 color: #3D3935 !important;
191 font-family: "Work Sans" !important;
192 font-size: 18px !important;
193 font-weight:normal !important;
194 }
195 .cuerpoAvisoContenido{
196 color: #3D3935 !important;
197 font-family: "Work Sans" !important;
198 font-size: 18px !important;
199 font-weight:normal !important;
200 }
201 .d-inline{
202 display:none !important;
203 }
204</style>