آخرین اخبار

An error occurred while processing the template.
The following has evaluated to null or missing:
==> assetRenderer.getType  [in template "20097#20123#1326327" at line 97, column 29]

----
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: assetType = assetRenderer.getType()  [in template "20097#20123#1326327" at line 97, column 17]
----
1<style> 
2h1.component-heading { 
3    font-family: KalamehWebFaNum_Bold; 
4
5/* line 72, ../sass/sp-Appointments-and-Announcements.scss */ 
6.Announcements-items { 
7  margin: 1.5em 0  2.5em; 
8
9/* line 75, ../sass/sp-Appointments-and-Announcements.scss */ 
10.Announcements-items .item { 
11  display: flex; 
12  text-decoration: none; 
13  align-items: center; 
14  background: #FFFFFF; 
15  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.1); 
16  border-radius: 0.5em; 
17  padding: 1.2em; 
18  transition: all ease-in-out 0.2s; 
19
20/* line 85, ../sass/sp-Appointments-and-Announcements.scss */ 
21.Announcements-items .item .contents { 
22  flex-grow: 1; 
23
24/* line 87, ../sass/sp-Appointments-and-Announcements.scss */ 
25.Announcements-items .item .contents .title { 
26  font-size: 1em; 
27  color: #4F4B4C; 
28  margin-top: 0.6em; 
29  height: 3.4em; 
30  font-family: KalamehWebFaNum_Bold; 
31
32/* line 93, ../sass/sp-Appointments-and-Announcements.scss */ 
33.Announcements-items .item .contents .date-visit { 
34  display: flex; 
35  justify-content: space-between; 
36  /*padding-top: 1em;*/ 
37
38/* line 98, ../sass/sp-Appointments-and-Announcements.scss */ 
39.Announcements-items .item .contents .visit { 
40  font-size: 0.7625em; 
41  text-align: left; 
42    width: 100%; 
43  color: #064096; 
44
45/* line 103, ../sass/sp-Appointments-and-Announcements.scss */ 
46.Announcements-items .item .contents .date { 
47  text-align: left; 
48  font-size: 0.7625em; 
49  text-align: right; 
50  color: #064096; 
51
52/* line 111, ../sass/sp-Appointments-and-Announcements.scss */ 
53.Announcements-items .item:hover { 
54  box-shadow: 0px 0.31em 0.62em rgba(0, 0, 0, 0.15); 
55
56/* line 113, ../sass/sp-Appointments-and-Announcements.scss */ 
57.Announcements-items .item:hover .razi-icon-bolandgoo::before { 
58  color: #cf1043; 
59
60/* line 118, ../sass/sp-Appointments-and-Announcements.scss */ 
61.Announcements-items .item + .item { 
62  margin-top: 1em; 
63
64 
65@media only screen and (max-width: 767px) { 
66  /* line 125, ../sass/sp-Appointments-and-Announcements.scss */ 
67  .Announcements-items .col-12 { 
68    padding: 0; 
69
70  /* line 129, ../sass/sp-Appointments-and-Announcements.scss */ 
71  .Announcements-items .item .parent-icon { 
72    display: none; 
73
74  /* line 132, ../sass/sp-Appointments-and-Announcements.scss */ 
75  .Announcements-items .item .contents { 
76    display: flex; 
77    flex-direction: column; 
78
79  /* line 135, ../sass/sp-Appointments-and-Announcements.scss */ 
80  .Announcements-items .item .contents .date { 
81    text-align: center; 
82    font-size: 0.85em; 
83
84  /* line 139, ../sass/sp-Appointments-and-Announcements.scss */ 
85  .Announcements-items .item .contents .title { 
86    margin-top: 0; 
87    margin-bottom: 0.7em; 
88
89
90</style> 
91<div class="row Announcements-items"> 
92    <#assign delay=1 /> 
93    <#list entries as curEntry> 
94        <#assign  
95                assetRenderer = curEntry.getAssetRenderer()  
96                assetObject = assetRenderer.getAssetObject() 
97                assetType = assetRenderer.getType() 
98            />  
99        <#if assetType=="journal_article" > 
100            <#assign delay=curEntry?index*100 /> 
101            <div class="col-12 col-sm-6 col-md-12 mb-3 p-0 p-sm-2 p-md-0" data-aos="fade-up" data-aos-delay="${delay}" data-aos-once="true"> 
102                                 
103                <a href="${assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse,curEntry,true)}" style="text-decoration:none;"> 
104                 
105                <@liferay_journal["journal-article"] 
106                    articleId=assetObject.getArticleId() 
107                    ddmTemplateKey="1326358" 
108                    groupId=assetObject.getGroupId() 
109                /> 
110                 
111                </a>    
112             
113            </div> 
114        </#if> 
115    </#list> 
116     
117</div>