An error occurred while processing the template.
The following has evaluated to null or missing: ==> redirect [in template "20097#20123#292037" at line 16, column 39] ---- 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: ${redirect} [in template "20097#20123#292037" at line 16, column 37] ----
1<#--
2Add elements from the sidebar to define your template. Type "${" to use the
3autocomplete feature.
4-->
5
6<#assign local = locale/>
7<#if request.getParameter("_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_bqok_redirect")?has_content>
8<#assign redirect= request.getParameter("_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_bqok_redirect") />
9
10<#if redirect?contains("/home") || redirect?contains("%2Fhome")>
11<#assign redirect=redirect?replace('bqok','qnnl') />
12</#if>
13
14</#if>
15
16<a class="lfr-portal-tooltip" href="${redirect}" aria-label="Back" title="Back">
17<#if locale?contains("ar")>
18 <svg class="lexicon-icon lexicon-icon-angle-right" role="presentation" viewBox="0 0 512 512">
19 <use xlink:href="/o/pai-kw-main-theme/images/clay/icons.svg#angle-right"></use>
20 </svg>
21<#else>
22 <svg class="lexicon-icon lexicon-icon-angle-left" role="presentation" viewBox="0 0 512 512">
23 <use xlink:href="/o/pai-kw-main-theme/images/clay/icons.svg#angle-left"></use>
24 </svg>
25</#if>
26
27</a>
28<div class="pages" style="background: var(--second-background-color);">
29 <section class="pt-3">
30 <div class="container">
31 <div class="row justify-content-center">
32 <div class="col-xl-8 fadeInUp wow" data-wow-delay="0.3s">
33 <div class="single_block">
34 <#if (FieldsGroup11486119.EventImage.getData())?? && FieldsGroup11486119.EventImage.getData() != "">
35 <img alt="${FieldsGroup11486119.EventImage.getAttribute("alt")}" data-fileentryid="${FieldsGroup11486119.EventImage.getAttribute("fileEntryId")}" src="${FieldsGroup11486119.EventImage.getData()}" />
36 </#if>
37 </div>
38 <div class="single_content">
39 <h1>
40 <#if (FieldsGroup11486119.EventTitle.getData())??>
41 ${FieldsGroup11486119.EventTitle.getData()}
42 </#if>
43 </h1>
44 <p>
45 <#assign FieldsGroup11486119_EventDate_Data = getterUtil.getString(FieldsGroup11486119.EventDate.getData())>
46
47 <#if validator.isNotNull(FieldsGroup11486119_EventDate_Data)>
48 <#assign FieldsGroup11486119_EventDate_DateObj = dateUtil.parseDate("yyyy-MM-dd", FieldsGroup11486119_EventDate_Data, locale)>
49
50 ${dateUtil.getDate(FieldsGroup11486119_EventDate_DateObj, "dd MMM yyyy", locale)}
51 </#if>
52 </p>
53 <p>
54 <#if (FieldsGroup11486119.EventContent.getData())??>
55 ${FieldsGroup11486119.EventContent.getData()}
56 </#if>
57 </p>
58 </div>
59 </div>
60 </div>
61 </div>
62 </section>
63
64</div>
65<style>
66.metadata-author {
67 display: none;
68}
69a.header-back-to.lfr-portal-tooltip {
70 display: none;
71}
72</style>
73<script>
74
75$(document).ready(function(){
76 $('.asset-full-content').addClass('container');
77});
78function goBack(redirect) {
79console.log(redirect);
80window.location.replace(redirect);
81//window.history.go(-1)
82}
83</script>