حضور وزیر دادگستری در برنامه "شما بفرمائید" شبكه تابان یزد - استانداری یزد
در حین انجام عملیات خطایی رخ داده است.
The following has evaluated to null or missing: ==> cur_inner_video.inner_content [in template "20097#20123#38557" at line 82, column 19] ---- 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: ${cur_inner_video.inner_content.getDa... [in template "20097#20123#38557" at line 82, column 17] ----
1<#-- Retrieve the published date meta data field of the web content -->
2<#assign displaydate = .vars['reserved-article-display-date'].data>
3<#-- Save the original page locale for later -->
4<#assign originalLocale = .locale>
5
6<#-- Set the page locale to the portals default locale -->
7<#setting locale = localeUtil.getDefault()>
8
9<#-- Parse the date to a date object -->
10<#assign displaydate = displaydate?datetime("EEE, d MMM yyyy HH:mm:ss Z")>
11
12<#-- Set the page locale back to the original page locale -->
13<#--#assign locale = ''-->
14<#assign dateFormat = "dd MM yyyy" />
15<#assign publishDate=dateUtil.getDate(displaydate,dateFormat,locale)/>
16
17<div class="sub-title">
18 <#if lead??>
19 ${lead.getData()}
20 </#if>
21</div>
22<h2 class="mb-1 mt-2 title">
23 ${.vars['reserved-article-title'].data}
24</h2>
25<div class="mt-3">
26${.vars['reserved-article-description'].data}
27</div>
28
29<div class="date">
30 <span class="oy-icon-date"><span class="path1"></span><span class="path2"></span></span>
31 <span class="main-c" id="ddd123"></span>
32</div>
33
34<style>
35.date {
36 font-size: 0.75em;
37 color: #7c7c7c;
38 margin: 1.2em 0;
39}
40.date .oy-icon-date .path2:before {
41 color: #7c7c7c;
42}
43</style>
44
45<script>
46 var lang = "${themeDisplay.getLocale()}";
47 var date_element = document.getElementById("ddd123");
48 date_element.innerHTML =
49 moment(`${publishDate}`,'DD MM YYYY')
50 .locale(lang == "fa_IR" ? "fa" : "en")
51 .format('dddd DD MMMM YYYY');
52 date_element.setAttribute("id", "");
53</script>
54
55
56<#if author??>
57${author.getData()}
58</#if>
59<img src="${.vars['reserved-article-small-image-url'].getData()}" class="rounded ml-4 mb-5 img-main float-right img-responsive" style="max-width:500px;"/>
60<#if content??>
61<div class="p-2">
62${content.getData()}
63<style>
64.sub-title {
65 text-align:center;
66 font-size:1em;
67}
68.title {
69 text-align:center;
70}
71</style>
72</div>
73</#if>
74<#if inner_video?? >
75<#if inner_video.getSiblings()?has_content>
76 <#list inner_video.getSiblings() as cur_inner_video>
77 <#if cur_inner_video.getData() != "" >
78 <a href="${cur_inner_video.getData()}">
79 ${languageUtil.format(locale, "download-x", "فیلم", false)}
80 </a>
81 <br/>
82 ${cur_inner_video.inner_content.getData()}
83 <video controls>
84 <source src="${cur_inner_video.getData()}" type="video/mp4">
85 <source src="${cur_inner_video.getData()}" type="video/ogg">
86 Your browser does not support the video tag.
87 </video>
88 </#if>
89 </#list>
90</#if>
91
92
93</#if>
94<#if simple_images?? && simple_images.getSiblings()?has_content>
95 <#list simple_images.getSiblings() as cur_simple_images>
96 <#if (cur_simple_images.getData())?? && cur_simple_images.getData() != "">
97 <img alt="${cur_simple_images.getAttribute("alt")}" data-fileentryid="${cur_simple_images.getAttribute("fileEntryId")}" src="${cur_simple_images.getData()}" />
98 </#if>
99 </#list>
100</#if>
101
102<#if images?? && images.getSiblings()?has_content>
103 <style>
104 .slide-show {
105 max-width:800px;
106 margin: 1em auto;
107 clear: both;
108 }
109 .slide-show .secondary-slider {
110 margin-top: 0.7em;
111 }
112 .slide-show .secondary-slider .splide__slide {
113 border-radius: 0.5em;
114 border: 2px solid #FFF;
115 }
116 .slide-show .secondary-slider .splide__slide.is-active {
117 border-color: #b18f14 !important;
118 }
119 .slide-show .secondary-slider .splide__slide img {
120 width:100%;
121 height:3.75em;
122 object-fit: cover;
123 }
124 .slide-show .primary-slider .splide__track {
125 padding: 2px 0;
126 }
127 .slide-show .primary-slider .splide__track .splide__slide {
128 border-radius: 0.5em;
129 border: 2px solid #1b51b0;
130 }
131 .slide-show .secondary-slider .splide__arrow {
132 background: #b3931d;
133 opacity: 1;
134 box-shadow: 0 0 5px;
135 }
136 .slide-show .secondary-slider .splide__arrow > span {
137 font-family: "ostandari-yazd-icoon" !important;
138 }
139 .slide-show .secondary-slider .splide__arrow > span * {
140 font-family: "ostandari-yazd-icoon" !important;
141 }
142 .slide-show .secondary-slider .splide__arrow > span:before {
143 color:#ffffff;
144 }
145 </style>
146
147 <#if images?? >
148 <#if images.getSiblings()?has_content>
149 <#if images.getSiblings()[0].getData() != "" >
150
151 <div class="slide-show">
152 <div class="container">
153
154 <div class="splide primary-slider">
155 <div class="splide__track">
156 <ul class="splide__list">
157 <#list images.getSiblings() as cur_other_images>
158 <li class="splide__slide">
159 <img src="${cur_other_images.getData()}">
160 </li>
161 </#list>
162 </ul>
163 </div>
164 </div>
165
166 <div class="splide secondary-slider">
167 <div class="splide__arrows">
168 <button class="splide__arrow splide__arrow--next">
169 <span class="oy-icon-next"></span>
170 </button>
171 <button class="splide__arrow splide__arrow--prev">
172 <span class="oy-icon-prev"></span>
173 </button>
174 </div>
175 <div class="splide__track">
176 <ul class="splide__list">
177
178 <#list images.getSiblings() as cur_other_images>
179 <li class="splide__slide">
180 <img src="${cur_other_images.getData()}">
181 </li>
182 </#list>
183
184 </ul>
185 </div>
186 </div>
187 </div>
188 </div>
189 <script>
190 var secondarySlider = new Splide( '.secondary-slider', {
191 direction: document.getElementsByTagName("html")[0].getAttribute("dir"),
192 fixedWidth : 100,
193 pagination : false,
194 height : 60,
195 gap : 10,
196 cover : true,
197 isNavigation: true,
198 focus : 'center',
199 breakpoints : {
200 '600': {
201 fixedWidth: 66,
202 height : 40,
203 }
204 },
205 } ).mount();
206 var primarySlider = new Splide( '.primary-slider', {
207 direction: document.getElementsByTagName("html")[0].getAttribute("dir"),
208 type : 'fade',
209 heightRatio: 0.5,
210 pagination : false,
211 arrows : false,
212 cover : true,
213 } );
214 primarySlider.sync( secondarySlider ).mount();
215 </script>
216
217 </#if>
218 </#if>
219 </#if>
220</#if>
221<style>
222div#ShortURL-bottom {
223 display: flex !important;
224 padding: 5px 0;
225 justify-content: flex-end;
226 align-items: center;
227 clear: both;
228}
229div#ShortURL-bottom svg {
230 background-color: #1b3d92;
231 border-top-left-radius: 0;
232 border-bottom-left-radius: 0;
233 margin-top: 0;
234 height: 35px;
235 width: 35px;
236 padding: 10px;
237 fill: #fff;
238 border-radius: 0 5px 5px 0;
239}
240div#ShortURL-bottom input {
241 text-align: left;
242 direction: ltr;
243 background-color: #f1f2f5;
244 border-color: #f1f2f5;
245 color: #a7a9bc !important;
246 font-size: 0.7em !important;
247 opacity: 1;
248 outline: none;
249 background-color: #f1f2f5;
250 border-color: #e7e7ed;
251 border-style: solid;
252 border-width: 0.0625rem;
253 border-bottom-width: 0.0625rem;
254 border-right-width: 0.0625rem;
255 border-left-width: 0.0625rem;
256 border-top-width: 0.0625rem;
257 border-radius: 0.25rem;
258 box-shadow: none;
259 color: #272833;
260 display: block;
261 font-size: 1rem;
262 font-weight: 400;
263 height: 2.2rem;
264 line-height: 1.5;
265 min-width: 0;
266 padding-bottom: 0.4375rem;
267 padding-right: 1rem;
268 padding-left: 1rem;
269 padding-top: 0.4375rem;
270 transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
271}
272div#ShortURL-bottom:before {
273 content: 'کپی شد';
274 position: absolute;
275 width: 217px;
276 text-align: center;
277 background: #003778;
278 color: #fff;
279 font-size: 0.75em;
280 padding: 11px;
281 border-radius: 5px;
282 opacity: 0;
283 visibility: hidden;
284 transition: 300ms;
285}
286div#ShortURL-bottom.copy:before {
287 opacity: 1;
288 visibility: visible;
289}
290</style>
291<script>
292function selectAndCopy(element){
293 var copy=document.getElementById('ShortURL-bottom');
294 copy.classList.add('copy');
295 element.select();
296 navigator.clipboard.writeText(element.value);
297 setTimeout(function() { copy.classList.remove('copy') }, 3000);
298}
299</script>
مطالب مرتبط
هیچ نتیجهای یافت نشد.
تمامی حقوق مادی و معنوی این پورتال متعلق به استانداری یزد می باشد.