EVENTS_CONTENT.vue.ftl 1.9 KB
Newer Older
ibizdev's avatar
ibizdev committed
1 2
                        <#if ctrl.getPSSysCalendarItems()??>
                        <#list ctrl.getPSSysCalendarItems() as calendarItem>
3
                        <div v-if="activeItem == '<#if calendarItem.getItemType()??>${calendarItem.getItemType()?lower_case}</#if>'" <#if ctrl.getCalendarStyle() == "TIMELINE">:key="item.id"</#if><#if calendarItem.getPSSysCalendarItemRVs()??> @click="onEventClick(item)"</#if>>
KK's avatar
KK committed
4
                        <#if calendarItem.getPSLayoutPanel?? && calendarItem.getPSLayoutPanel()??>
KK's avatar
KK committed
5
                            <#assign layoutpanel=calendarItem.getPSLayoutPanel()>
6 7
                            <layout_${layoutpanel.getName()} :context="{}" :viewparams="{}" :item="item"></layout_${layoutpanel.getName()}>
                        <#else>
ibizdev's avatar
ibizdev committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
                        <#if calendarItem.getTextPSAppDEField()??>
                            <#assign text=true>
                            <div class="evenname">{{item.${calendarItem.getTextPSAppDEField().getName()?lower_case}}}</div>
                        </#if>
                        <#if calendarItem.getContentPSAppDEField()??>
                            <#assign text=true>
                            <div class="evenname">{{item.${calendarItem.getContentPSDEField().getName()?lower_case}}}</div>
                        </#if>
                        <#if calendarItem.getIconPSAppDEField()??>
                            <#assign text=true>
                            <div class="evenname">{{item.${calendarItem.getIconPSAppDEField().getName()?lower_case}}}</div>
                        </#if>
                        <#if !text>
                            <div class="evenname">{{item.<#if appde.getMajorPSAppDEField()??>${appde.getMajorPSAppDEField().getCodeName()?lower_case}<#else>srfmajortext</#if>}}}</div>
                        </#if>
23
                        </#if>
ibizdev's avatar
ibizdev committed
24 25 26
                        </div>
                        </#list>
                        </#if>