روابط سريعة
الملتقى العلمي لذوي الإعاقة بالباحة يؤكد أهمية إنشاء مركز بحثي وتوظيف الذكاء الاصطناعي في بناء البرامج العلاجية
أكد المشاركون في الملتقى العلمي الذي نظمه مركز العباقرة للرعاية النهارية بالتعاون مع جامعة الباحة بمناسبة اليوم العالمي للأشخاص ذوي الإعاقة 2024 اليوم، أهمية التدخل المبكر للحد من مشاكل الإعاقة على الفرد والأسرة وتفريد برامج توعوية عن أسباب الإعاقة واستراتيجيات الحد منها.
وأوصت اللجنة العلمية للملتقى بإنشاء مركز بحثي وتوظيف تقنيات الذكاء الاصطناعي في بناء برامج علاجية، وعقد شراكة بين المركز والجامعة لتفعيل المسؤولية الاجتماعية وتنظيم المؤتمرات والفعاليات والندوات ونقل الخبرات، إضافة إلى إعداد قاعدة بيانات عن ذوي الإعاقة وفئاتهم والخدمة المقدمة بالمنطقة.
وشهد الملتقى الذي نظم تحت شعار "تعزيز قيادة الأشخاص ذوي الإعاقة لمستقبل شامل ومستدام" مشاركة أكثر من 16 جهة حكومية جلستان حواريتان, قدمها أعضاء هيئة التدريس بكلية التربية , حيث تناولت الجلسة الأولى الدعم النفسي والاجتماعي لذوي الإعاقة واسرهم , وتنمية المهارات المعرفية والسلوكية لديهم , وادار الجلسة الدكتور عبدالرحمن بن نغيش العلياني , وتحدث فيها د. محمد أحمد الشرفي , الدكتور سامي صالح الزهراني , و الدكتور عادل عبدالرحمن الغامدي , والدكتورة منال حكمي , وخرجت بمجموعة من التوصيات أهمها , ضرورة تكامل الجهود نحو الدعم النفسي والاجتماعي لذوي الإعاقة , وتصميم البرامج التأهيلية والتدريبية النوعية لتنمية قدراتهم ومهاراتهم , وفي الجلسة الثانية تحدثت عن خدمات وزارة الموارد البشرية لذوي الإعاقة بالباحة , وخدمات مدارس ذوي الإعاقة ,خدمات نادي ذوي الإعاقة , حيث أدارها الدكتور خالد معدي عسيري , , وتحدث فيها أز علي احمد الغامدي , والأستاذ علي صالح الشيخ , واتضح من خلالها الجهود الحكومية والأهلية التي تقدمها تلك الجهات لخدمة ذوي الإعاقة كما تضمن الملتقى ورشتا عمل متخصصة , الأولى عن اضطرابات التواصل ودور فريق العمل في برامج التربية الخاصة , وقدمها الدكتور عبدالعزيز الاسمري , بينما كانت الورشة الثانية عن تصور مقترح لتعليم ذوي الإعاقة السمعية والبصرية , وقدمها الدكتور ناصر عطيه الزهراني .
Java method "com.liferay.journal.web.asset.JournalArticleAssetRenderer.getUserId()" threw an exception when invoked on com.liferay.journal.web.asset.JournalArticleAssetRenderer object "com.liferay.journal.web.asset.JournalArticleAssetRenderer@2ce9fac9"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: userN = assetRenderer.getUserId() [in template "20100#20136#22258623" at line 340, column 81] - Reached through: #assign-container [in template "20100#20136#22258623" at line 334, column 73] ----
1<style>
2.navbar-nav.navbar-center {
3 position: absolute;
4 left: 50%;
5 transform: translatex(-50%);
6}
7.panel.with-nav-tabs .panel-heading{
8 padding: 5px 5px 0 5px;
9}
10.panel.with-nav-tabs .nav-tabs{
11 border-bottom: none;
12}
13.panel.with-nav-tabs .nav-justified{
14 margin-bottom: -1px;
15}
16/********************************************************************/
17/*** PANEL DEFAULT ***/
18.with-nav-tabs.panel-default .nav-tabs > li > a,
19.with-nav-tabs.panel-default .nav-tabs > li > a:hover,
20.with-nav-tabs.panel-default .nav-tabs > li > a:focus {
21 color: #777;
22}
23.with-nav-tabs.panel-default .nav-tabs > .open > a,
24.with-nav-tabs.panel-default .nav-tabs > .open > a:hover,
25.with-nav-tabs.panel-default .nav-tabs > .open > a:focus,
26.with-nav-tabs.panel-default .nav-tabs > li > a:hover,
27.with-nav-tabs.panel-default .nav-tabs > li > a:focus {
28 color: #777;
29 background-color: #ddd;
30 border-color: transparent;
31}
32.with-nav-tabs.panel-default .nav-tabs > li.active > a,
33.with-nav-tabs.panel-default .nav-tabs > li.active > a:hover,
34.with-nav-tabs.panel-default .nav-tabs > li.active > a:focus {
35 color: #555 !important;
36 background-color: #fff !important;
37 border-color: #ddd !important;
38 border-bottom-color: transparent !important;
39}
40.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu {
41 background-color: #f5f5f5;
42 border-color: #ddd;
43}
44.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a {
45 color: #777;
46}
47.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a:hover,
48.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a:focus {
49 background-color: #ddd;
50}
51.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a,
52.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a:hover,
53.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a:focus {
54 color: #fff !important;
55 background-color: #555 !important;
56}
57/********************************************************************/
58/*** PANEL PRIMARY ***/
59.with-nav-tabs.panel-primary .nav-tabs > li > a,
60.with-nav-tabs.panel-primary .nav-tabs > li > a:hover,
61.with-nav-tabs.panel-primary .nav-tabs > li > a:focus {
62 color: #fff;
63}
64.with-nav-tabs.panel-primary .nav-tabs > .open > a,
65.with-nav-tabs.panel-primary .nav-tabs > .open > a:hover,
66.with-nav-tabs.panel-primary .nav-tabs > .open > a:focus,
67.with-nav-tabs.panel-primary .nav-tabs > li > a:hover,
68.with-nav-tabs.panel-primary .nav-tabs > li > a:focus {
69 color: #fff;
70 background-color: #3071a9;
71 border-color: transparent;
72}
73.with-nav-tabs.panel-primary .nav-tabs > li.active > a,
74.with-nav-tabs.panel-primary .nav-tabs > li.active > a:hover,
75.with-nav-tabs.panel-primary .nav-tabs > li.active > a:focus {
76 color: #428bca !important;
77 background-color: #fff !important;
78 border-color: #428bca !important;
79 border-bottom-color: transparent !important;
80}
81.with-nav-tabs.panel-primary .nav-tabs > li.dropdown .dropdown-menu {
82 background-color: #428bca;
83 border-color: #3071a9;
84}
85.with-nav-tabs.panel-primary .nav-tabs > li.dropdown .dropdown-menu > li > a {
86 color: #fff;
87}
88.with-nav-tabs.panel-primary .nav-tabs > li.dropdown .dropdown-menu > li > a:hover,
89.with-nav-tabs.panel-primary .nav-tabs > li.dropdown .dropdown-menu > li > a:focus {
90 background-color: #3071a9;
91}
92.with-nav-tabs.panel-primary .nav-tabs > li.dropdown .dropdown-menu > .active > a,
93.with-nav-tabs.panel-primary .nav-tabs > li.dropdown .dropdown-menu > .active > a:hover,
94.with-nav-tabs.panel-primary .nav-tabs > li.dropdown .dropdown-menu > .active > a:focus {
95 background-color: #4a9fe9 !important;
96}
97/********************************************************************/
98/*** PANEL SUCCESS ***/
99.with-nav-tabs.panel-success .nav-tabs > li > a,
100.with-nav-tabs.panel-success .nav-tabs > li > a:hover,
101.with-nav-tabs.panel-success .nav-tabs > li > a:focus {
102 color: #3c763d;
103}
104.with-nav-tabs.panel-success .nav-tabs > .open > a,
105.with-nav-tabs.panel-success .nav-tabs > .open > a:hover,
106.with-nav-tabs.panel-success .nav-tabs > .open > a:focus,
107.with-nav-tabs.panel-success .nav-tabs > li > a:hover,
108.with-nav-tabs.panel-success .nav-tabs > li > a:focus {
109 color: #3c763d;
110 background-color: #d6e9c6;
111 border-color: transparent;
112}
113.with-nav-tabs.panel-success .nav-tabs > li.active > a,
114.with-nav-tabs.panel-success .nav-tabs > li.active > a:hover,
115.with-nav-tabs.panel-success .nav-tabs > li.active > a:focus {
116 color: #3c763d !important;
117 background-color: #fff !important;
118 border-color: #d6e9c6 !important;
119 border-bottom-color: transparent !important;
120}
121.with-nav-tabs.panel-success .nav-tabs > li.dropdown .dropdown-menu {
122 background-color: #dff0d8;
123 border-color: #d6e9c6;
124}
125.with-nav-tabs.panel-success .nav-tabs > li.dropdown .dropdown-menu > li > a {
126 color: #3c763d;
127}
128.with-nav-tabs.panel-success .nav-tabs > li.dropdown .dropdown-menu > li > a:hover,
129.with-nav-tabs.panel-success .nav-tabs > li.dropdown .dropdown-menu > li > a:focus {
130 background-color: #d6e9c6;
131}
132.with-nav-tabs.panel-success .nav-tabs > li.dropdown .dropdown-menu > .active > a,
133.with-nav-tabs.panel-success .nav-tabs > li.dropdown .dropdown-menu > .active > a:hover,
134.with-nav-tabs.panel-success .nav-tabs > li.dropdown .dropdown-menu > .active > a:focus {
135 color: #fff !important;
136 background-color: #3c763d !important;
137}
138/********************************************************************/
139/*** PANEL INFO ***/
140.with-nav-tabs.panel-info .nav-tabs > li > a,
141.with-nav-tabs.panel-info .nav-tabs > li > a:hover,
142.with-nav-tabs.panel-info .nav-tabs > li > a:focus {
143 color: #31708f;
144}
145.with-nav-tabs.panel-info .nav-tabs > .open > a,
146.with-nav-tabs.panel-info .nav-tabs > .open > a:hover,
147.with-nav-tabs.panel-info .nav-tabs > .open > a:focus,
148.with-nav-tabs.panel-info .nav-tabs > li > a:hover,
149.with-nav-tabs.panel-info .nav-tabs > li > a:focus {
150 color: #31708f;
151 background-color: #bce8f1;
152 border-color: transparent;
153}
154.with-nav-tabs.panel-info .nav-tabs > li.active > a,
155.with-nav-tabs.panel-info .nav-tabs > li.active > a:hover,
156.with-nav-tabs.panel-info .nav-tabs > li.active > a:focus {
157 color: #31708f !important;
158 background-color: #fff !important;
159 border-color: #bce8f1 !important;
160 border-bottom-color: transparent !important;
161}
162.with-nav-tabs.panel-info .nav-tabs > li.dropdown .dropdown-menu {
163 background-color: #d9edf7;
164 border-color: #bce8f1;
165}
166.with-nav-tabs.panel-info .nav-tabs > li.dropdown .dropdown-menu > li > a {
167 color: #31708f;
168}
169.with-nav-tabs.panel-info .nav-tabs > li.dropdown .dropdown-menu > li > a:hover,
170.with-nav-tabs.panel-info .nav-tabs > li.dropdown .dropdown-menu > li > a:focus {
171 background-color: #bce8f1;
172}
173.with-nav-tabs.panel-info .nav-tabs > li.dropdown .dropdown-menu > .active > a,
174.with-nav-tabs.panel-info .nav-tabs > li.dropdown .dropdown-menu > .active > a:hover,
175.with-nav-tabs.panel-info .nav-tabs > li.dropdown .dropdown-menu > .active > a:focus {
176 color: #fff !important;
177 background-color: #31708f !important;
178}
179/********************************************************************/
180/*** PANEL WARNING ***/
181.with-nav-tabs.panel-warning .nav-tabs > li > a,
182.with-nav-tabs.panel-warning .nav-tabs > li > a:hover,
183.with-nav-tabs.panel-warning .nav-tabs > li > a:focus {
184 color: #8a6d3b;
185}
186.with-nav-tabs.panel-warning .nav-tabs > .open > a,
187.with-nav-tabs.panel-warning .nav-tabs > .open > a:hover,
188.with-nav-tabs.panel-warning .nav-tabs > .open > a:focus,
189.with-nav-tabs.panel-warning .nav-tabs > li > a:hover,
190.with-nav-tabs.panel-warning .nav-tabs > li > a:focus {
191 color: #8a6d3b;
192 background-color: #faebcc;
193 border-color: transparent;
194}
195.with-nav-tabs.panel-warning .nav-tabs > li.active > a,
196.with-nav-tabs.panel-warning .nav-tabs > li.active > a:hover,
197.with-nav-tabs.panel-warning .nav-tabs > li.active > a:focus {
198 color: #8a6d3b !important;
199 background-color: #fff !important;
200 border-color: #faebcc !important;
201 border-bottom-color: transparent !important;
202}
203.with-nav-tabs.panel-warning .nav-tabs > li.dropdown .dropdown-menu {
204 background-color: #fcf8e3;
205 border-color: #faebcc;
206}
207.with-nav-tabs.panel-warning .nav-tabs > li.dropdown .dropdown-menu > li > a {
208 color: #8a6d3b;
209}
210.with-nav-tabs.panel-warning .nav-tabs > li.dropdown .dropdown-menu > li > a:hover,
211.with-nav-tabs.panel-warning .nav-tabs > li.dropdown .dropdown-menu > li > a:focus {
212 background-color: #faebcc;
213}
214.with-nav-tabs.panel-warning .nav-tabs > li.dropdown .dropdown-menu > .active > a,
215.with-nav-tabs.panel-warning .nav-tabs > li.dropdown .dropdown-menu > .active > a:hover,
216.with-nav-tabs.panel-warning .nav-tabs > li.dropdown .dropdown-menu > .active > a:focus {
217 color: #fff;
218 background-color: #8a6d3b;
219}
220/********************************************************************/
221/*** PANEL DANGER ***/
222.with-nav-tabs.panel-danger .nav-tabs > li > a,
223.with-nav-tabs.panel-danger .nav-tabs > li > a:hover,
224.with-nav-tabs.panel-danger .nav-tabs > li > a:focus {
225 color: #a94442;
226}
227.with-nav-tabs.panel-danger .nav-tabs > .open > a,
228.with-nav-tabs.panel-danger .nav-tabs > .open > a:hover,
229.with-nav-tabs.panel-danger .nav-tabs > .open > a:focus,
230.with-nav-tabs.panel-danger .nav-tabs > li > a:hover,
231.with-nav-tabs.panel-danger .nav-tabs > li > a:focus {
232 color: #a94442;
233 background-color: #ebccd1;
234 border-color: transparent;
235}
236.with-nav-tabs.panel-danger .nav-tabs > li.active > a,
237.with-nav-tabs.panel-danger .nav-tabs > li.active > a:hover,
238.with-nav-tabs.panel-danger .nav-tabs > li.active > a:focus {
239 color: #a94442 !important;
240 background-color: #fff !important;
241 border-color: #ebccd1 !important;
242 border-bottom-color: transparent !important;
243}
244.with-nav-tabs.panel-danger .nav-tabs > li.dropdown .dropdown-menu {
245 background-color: #f2dede; /* bg color */
246 border-color: #ebccd1; /* border color */
247}
248.with-nav-tabs.panel-danger .nav-tabs > li.dropdown .dropdown-menu > li > a {
249 color: #a94442; /* normal text color */
250}
251.with-nav-tabs.panel-danger .nav-tabs > li.dropdown .dropdown-menu > li > a:hover,
252.with-nav-tabs.panel-danger .nav-tabs > li.dropdown .dropdown-menu > li > a:focus {
253 background-color: #ebccd1; /* hover bg color */
254}
255.with-nav-tabs.panel-danger .nav-tabs > li.dropdown .dropdown-menu > .active > a,
256.with-nav-tabs.panel-danger .nav-tabs > li.dropdown .dropdown-menu > .active > a:hover,
257.with-nav-tabs.panel-danger .nav-tabs > li.dropdown .dropdown-menu > .active > a:focus {
258 color: #fff !important; /* active text color */
259 background-color: #a94442 !important; /* active bg color */
260}
261.nav>li>a {
262 display: block;
263 padding: 0.5rem 2rem;
264 border-radius: 10px !important;
265 box-shadow: 0 2px 10px -5px #2e408d;
266 color: #2e408d;
267}
268.nav-tabs>li {
269 margin-bottom: -1px;
270 margin-right: 20px;
271}
272.nav-tabs>li>a:hover, .nav-tabs>li>a:focus {
273 color: #fff;
274 background-color: #2e408d;
275}
276.nav-tabs>li>a.active, .nav-tabs>.active>a {
277 background-color: #2e408d;
278 color: #fff;
279}
280</style>
281<!------ Include the above in your HEAD tag ---------->
282<#assign lang = themeDisplay.getLanguageId() />
283<#if lang == "ar_SA">
284 <#assign buPress="إدارة الإعلام والعلاقات العامة" />
285<#else>
286 <#assign buPress="Media and Public Relations Department" />
287</#if>
288<#function getUserN x>
289 <#assign userName = buPress />
290 <#switch x>
291 <#case 79598>
292 <#assign userName = buPress />
293 <#break>
294 <#case 79554>
295 <#assign userName = buPress />
296 <#break>
297 <#default>
298 <#assign userName = htmlUtil.escape(portalUtil.getUserName(assetRenderer.getUserId(), assetRenderer.getUserName())) />
299 </#switch>
300 <#return userName>
301</#function>
302<div class="container g-pt-80">
303 <div class="row">
304 <div class="col-md-12">
305 <div class="panel with-nav-tabs ">
306 <div class="panel-heading" style="height: 43px;background-color:#FFF">
307 <ul class="nav nav-tabs navbar-nav navbar-center " style="z-index: 1;">
308 <li><a href="#tab1default" data-toggle="tab" class="active show">الكل</a></li>
309 <li><a href="#custom_news" data-toggle="tab">الأخبار</a></li>
310 <li><a href="#custom_announcements" data-toggle="tab">إعلانات</a></li>
311 <li><a href="#custom_events" data-toggle="tab">فعاليات</a></li>
312 </ul>
313 </div>
314
315 <div class="panel-body">
316 <div class="tab-content">
317 <div class="tab-pane fade in active" id="tab1default">
318 <#assign color_scheme = themeDisplay.getColorScheme().getCssClass()/>
319 <#assign dlAppLocalServiceUtil = staticUtil["com.liferay.document.library.kernel.service.DLAppLocalServiceUtil"]/>
320 <#assign dlUtil = staticUtil["com.liferay.document.library.kernel.util.DLUtil"] />
321 <#if !entries?has_content>
322 <#if !themeDisplay.isSignedIn()>
323 ${renderRequest.setAttribute("PORTLET_CONFIGURATOR_VISIBILITY", true)}
324 </#if>
325
326 <div class="alert alert-info">
327 <@liferay_ui["message"] key="there-are-no-results" />
328 </div>
329 </#if>
330 <#assign cnt=0/>
331 <!-- Article -->
332 <div class="row">
333 <#list entries as entry>
334 <#assign
335 entry = entry
336
337 pdate=entry.getPublishDate()
338
339 assetRenderer = entry.getAssetRenderer()
340 userN = assetRenderer.getUserId()
341 userId = getUserN(userN)
342 entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale))
343
344 viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, assetRenderer, entry, !stringUtil.equals(assetLinkBehavior, "showFullContent"))
345 userId = getUserN(userN)
346 />
347 <#assign docXml = saxReaderUtil.read(assetRenderer.getArticle().getContentByLocale(locale)) />
348 <#assign news_title = docXml.valueOf("//dynamic-element[@name='news_title']/dynamic-content/text()") />
349 <#assign s_image = docXml.valueOf("//dynamic-element[@name='s_image']/dynamic-content/text()") />
350 <#assign short_desc = docXml.valueOf("//dynamic-element[@name='short_desc']/dynamic-content/text()") />
351 <#assign news_desc = docXml.valueOf("//dynamic-element[@name='news_desc']/dynamic-content/text()") />
352 <#assign category = docXml.valueOf("//dynamic-element[@name='Category']/dynamic-content/text()") />
353 <#assign Date284r = docXml.valueOf("//dynamic-element[@name='Date284r']/dynamic-content/text()") />
354
355 <#if s_image?has_content >
356 <#assign s_image = s_image
357 dlFile_hashmap = jsonFactoryUtil.createJSONObject(s_image)
358 uuid = dlFile_hashmap.uuid
359 groupId = dlFile_hashmap.groupId
360 dlFile = dlAppLocalServiceUtil.getFileEntryByUuidAndGroupId(uuid,groupId?number)
361 s_image_url = dlUtil.getPreviewURL(dlFile, dlFile.getFileVersion(),themeDisplay,'')
362 >
363 </#if>
364
365 <#assign cnt=cnt+1/>
366
367 <#if b_image?has_content >
368 <#assign b_image = b_image
369 dlFile_hashmap = jsonFactoryUtil.createJSONObject(b_image)
370 uuid = dlFile_hashmap.uuid
371 groupId = dlFile_hashmap.groupId
372 dlFile = dlAppLocalServiceUtil.getFileEntryByUuidAndGroupId(uuid,groupId?number)
373 b_image_url = dlUtil.getPreviewURL(dlFile, dlFile.getFileVersion(),themeDisplay,'')
374 >
375 </#if>
376
377 <#assign GroupLocalServiceUtil = staticUtil["com.liferay.portal.kernel.service.GroupLocalServiceUtil"]
378
379 mysite = GroupLocalServiceUtil.getGroup(assetRenderer.getGroupId()).getName()/>
380
381
382
383 <#if cnt == 1>
384 <div class="col-lg-8 g-mb-30">
385 <!-- Article -->
386 <article class="u-block-hover">
387 <figure class=""> <img class="img-fluid w-100 u-block-hover__main--zoom-v1" src="${s_image_url}" alt="Image Description" style="height:410px;"> </figure>
388 <div style="background: rgba(0, 0, 0, 0.6);" wfd-id="110" class="g-pos-abs g-bottom-0 g-left-0 g-right-0 ">
389 <ul class="u-list-inline g-font-size-12 g-color-white" style="padding:0" wfd-id="112">
390 <li style="margin:0 1rem"class="g-bg-bu-blue list-inline-item g-ml-25 g-mb-10 g-mt-20" wfd-id="114" g-hidden-xs-down="" g-pos-abs="" g-top-20=""> <a class="btn btn-sm u-btn rounded-0" href="${viewURL}" style="color:#94c83d !important;font-size: 0.8rem;padding: 0;">${userName}</a> </li>
391 <li class="list-inline-item" wfd-id="113" style="font-size:0.8rem">${Date284r}</li>
392 </ul>
393 <a href="${viewURL}" class="g-mb-15" style="height: 20px;overflow: hidden;color:white;margin: 0 4px;">${stringUtil.shorten(news_title, 75)}</a>
394 </div>
395 </article>
396 <!-- End Article -->
397 </div>
398 <div class="asset-abstract">
399 <div class="pull-right">
400 <@getPrintIcon />
401
402 <@getFlagsIcon />
403
404 <@getEditIcon />
405 </div>
406 </div>
407 <#elseif cnt == 2 >
408 <div class="col-md-6 col-lg-4 g-mb-30">
409 <!-- Article -->
410 <article class="u-block-hover g-mb-10">
411 <figure class=""> <img class="img-fluid w-100 u-block-hover__main--zoom-v1" src="${s_image_url}" alt="Image Description" style="height:200px;"> </figure>
412 <div style="background: rgba(0, 0, 0, 0.6);" wfd-id="110" class="g-pos-abs g-bottom-0 g-left-0 g-right-0 ">
413 <ul class="u-list-inline g-font-size-12 g-color-white" wfd-id="112">
414 <li class="g-bg-bu-blue list-inline-item g-ml-25 g-mb-10 g-mt-20" wfd-id="114" g-hidden-xs-down="" g-pos-abs="" g-top-20=""> <a class="btn btn-sm u-btn rounded-0" href="${viewURL}" style="color:#94c83d !important;font-size: 0.8rem;padding: 0;">${userName}</a> </li>
415 <li class="list-inline-item" wfd-id="113" style="font-size:0.8rem">${Date284r}</li>
416 </ul>
417 <a href="${viewURL}" class="g-mb-15" style="height: 20px;overflow: hidden;color:white;margin: 0 4px;">${stringUtil.shorten(news_title, 75)}</a>
418 </div>
419 </article>
420 <div class="asset-abstract">
421 <div class="pull-right">
422 <@getPrintIcon />
423
424 <@getFlagsIcon />
425
426 <@getEditIcon />
427 </div>
428 </div>
429 <!-- End Article -->
430 <#elseif cnt == 3 >
431 <!-- Article -->
432 <article class="u-block-hover">
433 <figure class=""> <img class="img-fluid w-100 u-block-hover__main--zoom-v1" src="${s_image_url}" alt="Image Description" style="height:200px;"> </figure>
434 <div style="background: rgba(0, 0, 0, 0.6);" wfd-id="110" class="g-pos-abs g-bottom-0 g-left-0 g-right-0 ">
435 <ul class="u-list-inline g-font-size-12 g-color-white" wfd-id="112">
436 <li class="g-bg-bu-blue list-inline-item g-ml-25 g-mb-10 g-mt-20" wfd-id="114" g-hidden-xs-down="" g-pos-abs="" g-top-20=""> <a class="btn btn-sm u-btn rounded-0" href="${viewURL}" style="color:#94c83d !important;font-size: 0.8rem;padding: 0;">${userName}</a> </li>
437 <li class="list-inline-item" wfd-id="113" style="font-size:0.8rem">${Date284r}</li>
438 </ul>
439 <a href="${viewURL}" class="g-mb-15" style="height: 20px;overflow: hidden;color:white;margin: 0 4px;">${stringUtil.shorten(news_title, 75)}</a>
440 </div>
441 </article>
442 <!-- End Article -->
443 <div class="asset-abstract">
444 <div class="pull-right">
445 <@getPrintIcon />
446
447 <@getFlagsIcon />
448
449 <@getEditIcon />
450 </div>
451 </div>
452 </div>
453
454 <#elseif cnt <= 6>
455 <div class="col-md-6 col-lg-4 g-mb-30">
456 <!-- Article -->
457 <article class="u-block-hover">
458 <figure class=""> <img class="img-fluid w-100 u-block-hover__main--zoom-v1" src="${s_image_url}" alt="Image Description" style="height:200px;"> </figure>
459 <div style="background: rgba(0, 0, 0, 0.6);" wfd-id="110" class="g-pos-abs g-bottom-0 g-left-0 g-right-0 ">
460 <ul class="u-list-inline g-font-size-12 g-color-white" wfd-id="112">
461 <li class="g-bg-bu-blue list-inline-item g-ml-25 g-mb-10 g-mt-20" wfd-id="114" g-hidden-xs-down="" g-pos-abs="" g-top-20=""> <a class="btn btn-sm u-btn rounded-0" href="${viewURL}" style="color:#94c83d !important;font-size: 0.8rem;padding: 0;">${userName}</a> </li>
462 <li class="list-inline-item" wfd-id="113" style="font-size:0.8rem">${Date284r}</li>
463 </ul>
464 <a href="${viewURL}" class="g-mb-15" style="height: 20px;overflow: hidden;color:white;margin: 0 4px;">${stringUtil.shorten(news_title, 75)}</a>
465 </div>
466 </article>
467 <!-- End Article -->
468 </div>
469 <div class="asset-abstract">
470 <div class="pull-right">
471 <@getPrintIcon />
472
473 <@getFlagsIcon />
474
475 <@getEditIcon />
476 </div>
477 </div>
478 </#if>
479
480
481
482
483 </#list>
484 <#if cnt == 2>
485 </div>
486 </#if>
487 <div class="w-100"></div>
488
489
490 </div>
491 <style>
492 h2.portlet-title-text {
493 display: none;
494 }
495 </style>
496 </div>
497
498 <div class="tab-pane fade" id="custom_news">
499 <#assign cnt=0/>
500
501
502 <!-- Article -->
503
504 <div class="row">
505 <!-- Article -->
506
507
508 <#list entries as entry>
509 <#assign
510 entry = entry
511
512 pdate=entry.getPublishDate()
513
514 assetRenderer = entry.getAssetRenderer()
515
516 userN = assetRenderer.getUserId()
517 userId = getUserN(userN)
518 entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale))
519
520 viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, assetRenderer, entry, !stringUtil.equals(assetLinkBehavior, "showFullContent"))
521 />
522 <#assign docXml = saxReaderUtil.read(assetRenderer.getArticle().getContentByLocale(locale)) />
523 <#assign news_title = docXml.valueOf("//dynamic-element[@name='news_title']/dynamic-content/text()") />
524 <#assign s_image = docXml.valueOf("//dynamic-element[@name='s_image']/dynamic-content/text()") />
525 <#assign short_desc = docXml.valueOf("//dynamic-element[@name='short_desc']/dynamic-content/text()") />
526 <#assign news_desc = docXml.valueOf("//dynamic-element[@name='news_desc']/dynamic-content/text()") />
527 <#assign category = docXml.valueOf("//dynamic-element[@name='Category']/dynamic-content/text()") />
528<#if category == "News">
529
530 <#if s_image?has_content >
531 <#assign s_image = s_image
532 dlFile_hashmap = jsonFactoryUtil.createJSONObject(s_image)
533 uuid = dlFile_hashmap.uuid
534 groupId = dlFile_hashmap.groupId
535 dlFile = dlAppLocalServiceUtil.getFileEntryByUuidAndGroupId(uuid,groupId?number)
536 s_image_url = dlUtil.getPreviewURL(dlFile, dlFile.getFileVersion(),themeDisplay,'')
537 >
538 </#if>
539
540 <#assign cnt=cnt+1/>
541
542
543 <#if b_image?has_content >
544 <#assign b_image = b_image
545 dlFile_hashmap = jsonFactoryUtil.createJSONObject(b_image)
546 uuid = dlFile_hashmap.uuid
547 groupId = dlFile_hashmap.groupId
548 dlFile = dlAppLocalServiceUtil.getFileEntryByUuidAndGroupId(uuid,groupId?number)
549 b_image_url = dlUtil.getPreviewURL(dlFile, dlFile.getFileVersion(),themeDisplay,'')
550 >
551 </#if>
552
553 <#assign GroupLocalServiceUtil = staticUtil["com.liferay.portal.kernel.service.GroupLocalServiceUtil"]
554
555 mysite = GroupLocalServiceUtil.getGroup(assetRenderer.getGroupId()).getName()/>
556
557
558
559 <#if cnt == 1>
560 <div class="col-lg-8 g-mb-30">
561
562 <!-- Article -->
563 <article class="u-block-hover">
564 <figure class=""> <img class="img-fluid w-100 u-block-hover__main--zoom-v1" src="${s_image_url}" alt="Image Description" style="height:410px;"> </figure>
565 <div style="background: rgba(0, 0, 0, 0.6);" wfd-id="110" class="g-pos-abs g-bottom-0 g-left-0 g-right-0 ">
566 <ul class="u-list-inline g-font-size-12 g-color-white" wfd-id="112">
567 <li class="g-bg-bu-blue list-inline-item g-ml-25 g-mb-10 g-mt-20" wfd-id="114" g-hidden-xs-down="" g-pos-abs="" g-top-20=""> <a class="btn btn-sm u-btn rounded-0" href="${viewURL}" style="color:#94c83d !important;font-size: 0.8rem;padding: 0;">${userName}</a> </li>
568 <li class="list-inline-item" wfd-id="113" style="font-size:0.8rem">${Date284r}</li>
569 </ul>
570 <a href="${viewURL}" class="g-mb-15" style="height: 20px;overflow: hidden;color:white;margin: 0 4px;">${stringUtil.shorten(news_title, 75)}</a>
571 </div>
572 </article>
573 <!-- End Article -->
574 </div>
575 <div class="asset-abstract">
576 <div class="pull-right">
577 <@getPrintIcon />
578
579 <@getFlagsIcon />
580
581 <@getEditIcon />
582 </div>
583 </div>
584 <#elseif cnt == 2 >
585 <div class="col-md-6 col-lg-4 g-mb-30">
586 <!-- Article -->
587 <article class="u-block-hover g-mb-10">
588 <figure class=""> <img class="img-fluid w-100 u-block-hover__main--zoom-v1" src="${s_image_url}" alt="Image Description" style="height:200px;"> </figure>
589 <div style="background: rgba(0, 0, 0, 0.6);" wfd-id="110" class="g-pos-abs g-bottom-0 g-left-0 g-right-0 ">
590 <ul class="u-list-inline g-font-size-12 g-color-white" wfd-id="112">
591 <li class="g-bg-bu-blue list-inline-item g-ml-25 g-mb-10 g-mt-20" wfd-id="114" g-hidden-xs-down="" g-pos-abs="" g-top-20=""> <a class="btn btn-sm u-btn rounded-0" href="${viewURL}" style="color:#94c83d !important;font-size: 0.8rem;padding: 0;">${userName}</a> </li>
592 <li class="list-inline-item" wfd-id="113" style="font-size:0.8rem">${Date284r}</li>
593 </ul>
594 <a href="${viewURL}" class="g-mb-15" style="height: 20px;overflow: hidden;color:white;margin: 0 4px;">${stringUtil.shorten(news_title, 75)}</a>
595 </div>
596 </article>
597 <div class="asset-abstract">
598 <div class="pull-right">
599 <@getPrintIcon />
600
601 <@getFlagsIcon />
602
603 <@getEditIcon />
604 </div>
605 </div>
606 <!-- End Article -->
607
608 <#elseif cnt == 3 >
609 <!-- Article -->
610 <article class="u-block-hover">
611 <figure class=""> <img class="img-fluid w-100 u-block-hover__main--zoom-v1" src="${s_image_url}" alt="Image Description" style="height:200px;"> </figure>
612 <div style="background: rgba(0, 0, 0, 0.6);" wfd-id="110" class="g-pos-abs g-bottom-0 g-left-0 g-right-0 ">
613 <ul class="u-list-inline g-font-size-12 g-color-white" wfd-id="112">
614 <li class="g-bg-bu-blue list-inline-item g-ml-25 g-mb-10 g-mt-20" wfd-id="114" g-hidden-xs-down="" g-pos-abs="" g-top-20=""> <a class="btn btn-sm u-btn rounded-0" href="${viewURL}" style="color:#94c83d !important;font-size: 0.8rem;padding: 0;">${userName}</a> </li>
615 <li class="list-inline-item" wfd-id="113" style="font-size:0.8rem">${Date284r}</li>
616 </ul>
617 <a href="${viewURL}" class="g-mb-15" style="height: 20px;overflow: hidden;color:white;margin: 0 4px;">${stringUtil.shorten(news_title, 75)}</a>
618 </div>
619 </article>
620 <!-- End Article -->
621 <div class="asset-abstract">
622 <div class="pull-right">
623 <@getPrintIcon />
624
625 <@getFlagsIcon />
626
627 <@getEditIcon />
628 </div>
629 </div>
630 </div>
631 <#elseif cnt <= 6>
632 <div class="col-md-6 col-lg-4 g-mb-30">
633 <!-- Article -->
634 <article class="u-block-hover">
635 <figure class=""> <img class="img-fluid w-100 u-block-hover__main--zoom-v1" src="${s_image_url}" alt="Image Description" style="height:200px;"> </figure>
636 <div style="background: rgba(0, 0, 0, 0.6);" wfd-id="110" class="g-pos-abs g-bottom-0 g-left-0 g-right-0 ">
637 <ul class="u-list-inline g-font-size-12 g-color-white" wfd-id="112">
638 <li class="g-bg-bu-blue list-inline-item g-ml-25 g-mb-10 g-mt-20" wfd-id="114" g-hidden-xs-down="" g-pos-abs="" g-top-20=""> <a class="btn btn-sm u-btn rounded-0" href="${viewURL}" style="color:#94c83d !important;font-size: 0.8rem;padding: 0;">${userName}</a> </li>
639 <li class="list-inline-item" wfd-id="113" style="font-size:0.8rem">${Date284r}</li>
640 </ul>
641 <a href="${viewURL}" class="g-mb-15" style="height: 20px;overflow: hidden;color:white;margin: 0 4px;">${stringUtil.shorten(news_title, 75)}</a>
642 </div>
643 </article>
644 <!-- End Article -->
645 </div>
646 <div class="asset-abstract">
647 <div class="pull-right">
648 <@getPrintIcon />
649
650 <@getFlagsIcon />
651
652 <@getEditIcon />
653 </div>
654 </div>
655 </#if>
656
657
658</#if>
659 </#list>
660 <#if cnt == 2>
661 </div>
662 </#if>
663 <div class="w-100"></div>
664
665 </div>
666 </div>
667 <div class="tab-pane fade" id="custom_announcements">
668 <#assign cnt=0/>
669
670
671 <!-- Article -->
672
673 <div class="row">
674
675 <!-- Article -->
676
677
678 <#list entries as entry>
679 <#assign
680 entry = entry
681
682 pdate=entry.getPublishDate()
683
684 assetRenderer = entry.getAssetRenderer()
685
686 userN = assetRenderer.getUserId()
687 userId = getUserN(userN)
688 entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale))
689
690 viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, assetRenderer, entry, !stringUtil.equals(assetLinkBehavior, "showFullContent"))
691 />
692 <#assign docXml = saxReaderUtil.read(assetRenderer.getArticle().getContentByLocale(locale)) />
693 <#assign news_title = docXml.valueOf("//dynamic-element[@name='news_title']/dynamic-content/text()") />
694 <#assign s_image = docXml.valueOf("//dynamic-element[@name='s_image']/dynamic-content/text()") />
695 <#assign short_desc = docXml.valueOf("//dynamic-element[@name='short_desc']/dynamic-content/text()") />
696 <#assign news_desc = docXml.valueOf("//dynamic-element[@name='news_desc']/dynamic-content/text()") />
697 <#assign category = docXml.valueOf("//dynamic-element[@name='Category']/dynamic-content/text()") />
698<#if category == "Announcements">
699 <#assign Date284r = docXml.valueOf("//dynamic-element[@name='Date284r']/dynamic-content/text()") />
700
701 <#if s_image?has_content >
702 <#assign s_image = s_image
703 dlFile_hashmap = jsonFactoryUtil.createJSONObject(s_image)
704 uuid = dlFile_hashmap.uuid
705 groupId = dlFile_hashmap.groupId
706 dlFile = dlAppLocalServiceUtil.getFileEntryByUuidAndGroupId(uuid,groupId?number)
707 s_image_url = dlUtil.getPreviewURL(dlFile, dlFile.getFileVersion(),themeDisplay,'')
708 >
709 </#if>
710
711 <#assign cnt=cnt+1/>
712
713
714 <#if b_image?has_content >
715 <#assign b_image = b_image
716 dlFile_hashmap = jsonFactoryUtil.createJSONObject(b_image)
717 uuid = dlFile_hashmap.uuid
718 groupId = dlFile_hashmap.groupId
719 dlFile = dlAppLocalServiceUtil.getFileEntryByUuidAndGroupId(uuid,groupId?number)
720 b_image_url = dlUtil.getPreviewURL(dlFile, dlFile.getFileVersion(),themeDisplay,'')
721 >
722 </#if>
723
724 <#assign GroupLocalServiceUtil = staticUtil["com.liferay.portal.kernel.service.GroupLocalServiceUtil"]
725
726 mysite = GroupLocalServiceUtil.getGroup(assetRenderer.getGroupId()).getName()/>
727
728
729 <#if cnt == 1>
730 <div class="col-lg-8 g-mb-30">
731
732 <!-- Article -->
733 <article class="u-block-hover">
734 <figure class=""> <img class="img-fluid w-100 u-block-hover__main--zoom-v1" src="${s_image_url}" alt="Image Description" style="height:410px;"> </figure>
735 <div style="background: rgba(0, 0, 0, 0.6);" wfd-id="110" class="g-pos-abs g-bottom-0 g-left-0 g-right-0 ">
736 <ul class="u-list-inline g-font-size-12 g-color-white" wfd-id="112">
737 <li class="g-bg-bu-blue list-inline-item g-ml-25 g-mb-10 g-mt-20" wfd-id="114" g-hidden-xs-down="" g-pos-abs="" g-top-20=""> <a class="btn btn-sm u-btn rounded-0" href="${viewURL}" style="color:#94c83d !important;font-size: 0.8rem;padding: 0;">${userName}</a> </li>
738 <li class="list-inline-item" wfd-id="113" style="font-size:0.8rem">${Date284r}</li>
739 </ul>
740 <a href="${viewURL}" class="g-mb-15" style="height: 20px;overflow: hidden;color:white;margin: 0 4px;">${stringUtil.shorten(news_title, 75)}</a>
741 </div>
742 </article>
743 <!-- End Article -->
744 </div>
745 <div class="asset-abstract">
746 <div class="pull-right">
747 <@getPrintIcon />
748
749 <@getFlagsIcon />
750
751 <@getEditIcon />
752 </div>
753 </div>
754 <#elseif cnt == 2 >
755 <div class="col-md-6 col-lg-4 g-mb-30">
756 <!-- Article -->
757 <article class="u-block-hover g-mb-10">
758 <figure class=""> <img class="img-fluid w-100 u-block-hover__main--zoom-v1" src="${s_image_url}" alt="Image Description" style="height:200px;"> </figure>
759 <div style="background: rgba(0, 0, 0, 0.6);" wfd-id="110" class="g-pos-abs g-bottom-0 g-left-0 g-right-0 ">
760 <ul class="u-list-inline g-font-size-12 g-color-white" wfd-id="112">
761 <li class="g-bg-bu-blue list-inline-item g-ml-25 g-mb-10 g-mt-20" wfd-id="114" g-hidden-xs-down="" g-pos-abs="" g-top-20=""> <a class="btn btn-sm u-btn rounded-0" href="${viewURL}" style="color:#94c83d !important;font-size: 0.8rem;padding: 0;">${userName}</a> </li>
762 <li class="list-inline-item" wfd-id="113" style="font-size:0.8rem">${Date284r}</li>
763 </ul>
764 <a href="${viewURL}" class="g-mb-15" style="height: 20px;overflow: hidden;color:white;margin: 0 4px;">${stringUtil.shorten(news_title, 75)}</a>
765 </div>
766 </article>
767 <!-- End Article -->
768 <div class="asset-abstract">
769 <div class="pull-right">
770 <@getPrintIcon />
771
772 <@getFlagsIcon />
773
774 <@getEditIcon />
775 </div>
776 </div>
777 <#elseif cnt == 3 >
778 <!-- Article -->
779 <article class="u-block-hover">
780 <figure class=""> <img class="img-fluid w-100 u-block-hover__main--zoom-v1" src="${s_image_url}" alt="Image Description" style="height:200px;"> </figure>
781 <div style="background: rgba(0, 0, 0, 0.6);" wfd-id="110" class="g-pos-abs g-bottom-0 g-left-0 g-right-0 ">
782 <ul class="u-list-inline g-font-size-12 g-color-white" wfd-id="112">
783 <li class="g-bg-bu-blue list-inline-item g-ml-25 g-mb-10 g-mt-20" wfd-id="114" g-hidden-xs-down="" g-pos-abs="" g-top-20=""> <a class="btn btn-sm u-btn rounded-0" href="${viewURL}" style="color:#94c83d !important;font-size: 0.8rem;padding: 0;">${userName}</a> </li>
784 <li class="list-inline-item" wfd-id="113" style="font-size:0.8rem">${Date284r}</li>
785 </ul>
786 <a href="${viewURL}" class="g-mb-15" style="height: 20px;overflow: hidden;color:white;margin: 0 4px;">${stringUtil.shorten(news_title, 75)}</a>
787 </div>
788 </article>
789 <!-- End Article -->
790 <div class="asset-abstract">
791 <div class="pull-right">
792 <@getPrintIcon />
793
794 <@getFlagsIcon />
795
796 <@getEditIcon />
797 </div>
798 </div>
799 </div>
800 <#elseif cnt <= 6>
801 <div class="col-md-6 col-lg-4 g-mb-30">
802 <!-- Article -->
803 <article class="u-block-hover">
804 <figure class=""> <img class="img-fluid w-100 u-block-hover__main--zoom-v1" src="${s_image_url}" alt="Image Description" style="height:200px;"> </figure>
805 <div style="background: rgba(0, 0, 0, 0.6);" wfd-id="110" class="g-pos-abs g-bottom-0 g-left-0 g-right-0 ">
806 <ul class="u-list-inline g-font-size-12 g-color-white" wfd-id="112">
807 <li class="g-bg-bu-blue list-inline-item g-ml-25 g-mb-10 g-mt-20" wfd-id="114" g-hidden-xs-down="" g-pos-abs="" g-top-20=""> <a class="btn btn-sm u-btn rounded-0" href="${viewURL}" style="color:#94c83d !important;font-size: 0.8rem;padding: 0;">${userName}</a> </li>
808 <li class="list-inline-item" wfd-id="113" style="font-size:0.8rem">${Date284r}</li>
809 </ul>
810 <a href="${viewURL}" class="g-mb-15" style="height: 20px;overflow: hidden;color:white;margin: 0 4px;">${stringUtil.shorten(news_title, 75)}</a>
811 </div>
812 </article>
813 <!-- End Article -->
814 </div>
815 <div class="asset-abstract">
816 <div class="pull-right">
817 <@getPrintIcon />
818
819 <@getFlagsIcon />
820
821 <@getEditIcon />
822 </div>
823 </div>
824 </#if>
825
826
827</#if>
828 </#list>
829 <#if cnt == 2>
830 </div>
831 </#if>
832 <div class="w-100"></div>
833
834 </div>
835 </div>
836 <div class="tab-pane fade" id="custom_events">
837 <#assign cnt=0/>
838
839
840 <!-- Article -->
841
842 <div class="row">
843 <!-- Article -->
844
845
846 <#list entries as entry>
847 <#assign
848 entry = entry
849
850 pdate=entry.getPublishDate()
851
852 assetRenderer = entry.getAssetRenderer()
853
854 userN = assetRenderer.getUserId()
855 userId = getUserN(userN)
856 entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale))
857
858 viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, assetRenderer, entry, !stringUtil.equals(assetLinkBehavior, "showFullContent"))
859 />
860 <#assign docXml = saxReaderUtil.read(assetRenderer.getArticle().getContentByLocale(locale)) />
861 <#assign news_title = docXml.valueOf("//dynamic-element[@name='news_title']/dynamic-content/text()") />
862 <#assign s_image = docXml.valueOf("//dynamic-element[@name='s_image']/dynamic-content/text()") />
863 <#assign short_desc = docXml.valueOf("//dynamic-element[@name='short_desc']/dynamic-content/text()") />
864 <#assign news_desc = docXml.valueOf("//dynamic-element[@name='news_desc']/dynamic-content/text()") />
865 <#assign category = docXml.valueOf("//dynamic-element[@name='Category']/dynamic-content/text()") />
866<#if category == "Events">
867
868 <#if s_image?has_content >
869 <#assign s_image = s_image
870 dlFile_hashmap = jsonFactoryUtil.createJSONObject(s_image)
871 uuid = dlFile_hashmap.uuid
872 groupId = dlFile_hashmap.groupId
873 dlFile = dlAppLocalServiceUtil.getFileEntryByUuidAndGroupId(uuid,groupId?number)
874 s_image_url = dlUtil.getPreviewURL(dlFile, dlFile.getFileVersion(),themeDisplay,'')
875 >
876 </#if>
877
878 <#assign cnt=cnt+1/>
879
880
881 <#if b_image?has_content >
882 <#assign b_image = b_image
883 dlFile_hashmap = jsonFactoryUtil.createJSONObject(b_image)
884 uuid = dlFile_hashmap.uuid
885 groupId = dlFile_hashmap.groupId
886 dlFile = dlAppLocalServiceUtil.getFileEntryByUuidAndGroupId(uuid,groupId?number)
887 b_image_url = dlUtil.getPreviewURL(dlFile, dlFile.getFileVersion(),themeDisplay,'')
888 >
889 </#if>
890
891 <#assign GroupLocalServiceUtil = staticUtil["com.liferay.portal.kernel.service.GroupLocalServiceUtil"]
892
893 mysite = GroupLocalServiceUtil.getGroup(assetRenderer.getGroupId()).getName()/>
894
895
896 <#if cnt == 1>
897 <div class="col-lg-8 g-mb-30">
898
899 <!-- Article -->
900 <article class="u-block-hover">
901 <figure class=""> <img class="img-fluid w-100 u-block-hover__main--zoom-v1" src="${s_image_url}" alt="Image Description" style="height:410px;"> </figure>
902 <div style="background: rgba(0, 0, 0, 0.6);" wfd-id="110" class="g-pos-abs g-bottom-0 g-left-0 g-right-0 ">
903 <ul class="u-list-inline g-font-size-12 g-color-white" wfd-id="112">
904 <li class="g-bg-bu-blue list-inline-item g-ml-25 g-mb-10 g-mt-20" wfd-id="114" g-hidden-xs-down="" g-pos-abs="" g-top-20=""> <a class="btn btn-sm u-btn rounded-0" href="${viewURL}" style="color:#94c83d !important;font-size: 0.8rem;padding: 0;">${userName}</a> </li>
905 <li class="list-inline-item" wfd-id="113" style="font-size:0.8rem">${Date284r}</li>
906 </ul>
907 <a href="${viewURL}" class="g-mb-15" style="height: 20px;overflow: hidden;color:white;margin: 0 4px;">${stringUtil.shorten(news_title, 75)}</a>
908 </div>
909 </article>
910 <!-- End Article -->
911 </div>
912 <div class="asset-abstract">
913 <div class="pull-right">
914 <@getPrintIcon />
915
916 <@getFlagsIcon />
917
918 <@getEditIcon />
919 </div>
920 </div>
921 <#elseif cnt == 2 >
922 <div class="col-md-6 col-lg-4 g-mb-30">
923 <!-- Article -->
924 <article class="u-block-hover g-mb-10">
925 <figure class=""> <img class="img-fluid w-100 u-block-hover__main--zoom-v1" src="${s_image_url}" alt="Image Description" style="height:200px;"> </figure>
926 <div style="background: rgba(0, 0, 0, 0.6);" wfd-id="110" class="g-pos-abs g-bottom-0 g-left-0 g-right-0 ">
927 <ul class="u-list-inline g-font-size-12 g-color-white" wfd-id="112">
928 <li class="g-bg-bu-blue list-inline-item g-ml-25 g-mb-10 g-mt-20" wfd-id="114" g-hidden-xs-down="" g-pos-abs="" g-top-20=""> <a class="btn btn-sm u-btn rounded-0" href="${viewURL}" style="color:#94c83d !important;font-size: 0.8rem;padding: 0;">${userName}</a> </li>
929 <li class="list-inline-item" wfd-id="113" style="font-size:0.8rem">${Date284r}</li>
930 </ul>
931 <a href="${viewURL}" class="g-mb-15" style="height: 20px;overflow: hidden;color:white;margin: 0 4px;">${stringUtil.shorten(news_title, 75)}</a>
932 </div>
933 </article>
934 <div class="asset-abstract">
935 <div class="pull-right">
936 <@getPrintIcon />
937
938 <@getFlagsIcon />
939
940 <@getEditIcon />
941 </div>
942 </div>
943 <!-- End Article -->
944
945 <#elseif cnt == 3 >
946 <!-- Article -->
947 <article class="u-block-hover">
948 <figure class=""> <img class="img-fluid w-100 u-block-hover__main--zoom-v1" src="${s_image_url}" alt="Image Description" style="height:200px;"> </figure>
949 <div style="background: rgba(0, 0, 0, 0.6);" wfd-id="110" class="g-pos-abs g-bottom-0 g-left-0 g-right-0 ">
950 <ul class="u-list-inline g-font-size-12 g-color-white" wfd-id="112">
951 <li class="g-bg-bu-blue list-inline-item g-ml-25 g-mb-10 g-mt-20" wfd-id="114" g-hidden-xs-down="" g-pos-abs="" g-top-20=""> <a class="btn btn-sm u-btn rounded-0" href="${viewURL}" style="color:#94c83d !important;font-size: 0.8rem;padding: 0;">${userName}</a> </li>
952 <li class="list-inline-item" wfd-id="113" style="font-size:0.8rem">${Date284r}</li>
953 </ul>
954 <a href="${viewURL}" class="g-mb-15" style="height: 20px;overflow: hidden;color:white;margin: 0 4px;">${stringUtil.shorten(news_title, 75)}</a>
955 </div>
956 </article>
957 <!-- End Article -->
958 <div class="asset-abstract">
959 <div class="pull-right">
960 <@getPrintIcon />
961
962 <@getFlagsIcon />
963
964 <@getEditIcon />
965 </div>
966 </div>
967 </div>
968 <#elseif cnt <= 6>
969 <div class="col-md-6 col-lg-4 g-mb-30">
970 <!-- Article -->
971 <article class="u-block-hover">
972 <figure class=""> <img class="img-fluid w-100 u-block-hover__main--zoom-v1" src="${s_image_url}" alt="Image Description" style="height:200px;"> </figure>
973 <div style="background: rgba(0, 0, 0, 0.6);" wfd-id="110" class="g-pos-abs g-bottom-0 g-left-0 g-right-0 ">
974 <ul class="u-list-inline g-font-size-12 g-color-white" wfd-id="112">
975 <li class="g-bg-bu-blue list-inline-item g-ml-25 g-mb-10 g-mt-20" wfd-id="114" g-hidden-xs-down="" g-pos-abs="" g-top-20=""> <a class="btn btn-sm u-btn rounded-0" href="${viewURL}" style="color:#94c83d !important;font-size: 0.8rem;padding: 0;">${userName}</a> </li>
976 <li class="list-inline-item" wfd-id="113" style="font-size:0.8rem">${Date284r}</li>
977 </ul>
978 <a href="${viewURL}" class="g-mb-15" style="height: 20px;overflow: hidden;color:white;margin: 0 4px;">${stringUtil.shorten(news_title, 75)}</a>
979 </div>
980 </article>
981 <!-- End Article -->
982 </div>
983 <div class="asset-abstract">
984 <div class="pull-right">
985 <@getPrintIcon />
986
987 <@getFlagsIcon />
988
989 <@getEditIcon />
990 </div>
991 </div>
992 </#if>
993
994
995</#if>
996 </#list>
997 <#if cnt == 2>
998 </div>
999 </#if>
1000 <div class="w-100"></div>
1001
1002
1003 </div>
1004 </div>
1005 </div>
1006 </div>
1007 </div>
1008 </div>
1009 </div>
1010 </div>
1011
1012 <#macro getDiscussion>
1013 <#if getterUtil.getBoolean(enableComments) && assetRenderer.isCommentable()>
1014 <br />
1015
1016 <#assign discussionURL = renderResponse.createActionURL() />
1017
1018 ${discussionURL.setParameter("javax.portlet.action", "invokeTaglibDiscussion")}
1019
1020 <@liferay_comment["discussion"]
1021 className=entry.getClassName()
1022 classPK=entry.getClassPK()
1023 formAction=discussionURL?string
1024 formName="fm" + entry.getClassPK()
1025 ratingsEnabled=getterUtil.getBoolean(enableCommentRatings)
1026 redirect=currentURL
1027 userId=assetRenderer.getUserId()
1028 />
1029 </#if>
1030 </#macro>
1031
1032 <#macro getEditIcon>
1033 <#if assetRenderer.hasEditPermission(themeDisplay.getPermissionChecker())>
1034 <#assign redirectURL = renderResponse.createRenderURL() />
1035
1036 ${redirectURL.setParameter("mvcPath", "/add_asset_redirect.jsp")}
1037 ${redirectURL.setWindowState("pop_up")}
1038
1039 <#assign editPortletURL = assetRenderer.getURLEdit(renderRequest, renderResponse, windowStateFactory.getWindowState("pop_up"), redirectURL)!"" />
1040
1041 <#if validator.isNotNull(editPortletURL)>
1042 <#assign title = languageUtil.format(locale, "edit-x", entryTitle, false) />
1043
1044 <@liferay_ui["icon"]
1045 cssClass="icon-monospaced visible-interaction"
1046 icon="pencil"
1047 markupView="lexicon"
1048 message=title
1049 url="javascript:Liferay.Util.openWindow({id:'" + renderResponse.getNamespace() + "editAsset', title: '" + title + "', uri:'" + htmlUtil.escapeURL(editPortletURL.toString()) + "'});"
1050 />
1051 </#if>
1052 </#if>
1053 </#macro>
1054
1055 <#macro getFlagsIcon>
1056 <#if getterUtil.getBoolean(enableFlags)>
1057 <@liferay_flags["flags"]
1058 className=entry.getClassName()
1059 classPK=entry.getClassPK()
1060 contentTitle=entry.getTitle(locale)
1061 label=false
1062 reportedUserId=entry.getUserId()
1063 />
1064 </#if>
1065 </#macro>
1066
1067 <#macro getMetadataField
1068 fieldName
1069 >
1070 <#if stringUtil.split(metadataFields)?seq_contains(fieldName)>
1071 <span class="metadata-entry metadata-${fieldName}">
1072 <#assign dateFormat = "dd MMM yyyy" />
1073
1074 <#if stringUtil.equals(fieldName, "author")>
1075 <@liferay.language key="by" /> ${htmlUtil.escape(portalUtil.getUserName(assetRenderer.getUserId(), assetRenderer.getUserName()))}
1076 <#elseif stringUtil.equals(fieldName, "categories")>
1077 <@liferay_asset["asset-categories-summary"]
1078 className=entry.getClassName()
1079 classPK=entry.getClassPK()
1080 portletURL=renderResponse.createRenderURL()
1081 />
1082
1083
1084 <#elseif stringUtil.equals(fieldName, "create-date")>
1085 ${dateUtil.getDate(entry.getCreateDate(), dateFormat, locale)}
1086 <#elseif stringUtil.equals(fieldName, "expiration-date")>
1087 ${dateUtil.getDate(entry.getExpirationDate(), dateFormat, locale)}
1088 <#elseif stringUtil.equals(fieldName, "modified-date")>
1089 ${dateUtil.getDate(entry.getModifiedDate(), dateFormat, locale)}
1090 <#elseif stringUtil.equals(fieldName, "priority")>
1091 ${entry.getPriority()}
1092 <#elseif stringUtil.equals(fieldName, "publish-date")>
1093 ${dateUtil.getDate(entry.getPublishDate(), dateFormat, locale)}
1094 <#elseif stringUtil.equals(fieldName, "tags")>
1095 <@liferay_asset["asset-tags-summary"]
1096 className=entry.getClassName()
1097 classPK=entry.getClassPK()
1098 portletURL=renderResponse.createRenderURL()
1099 />
1100 <#elseif stringUtil.equals(fieldName, "view-count")>
1101 ${entry.getViewCount()} <@liferay.language key="views" />
1102 </#if>
1103 </span>
1104 </#if>
1105 </#macro>
1106
1107 <#macro getPrintIcon>
1108 <#if getterUtil.getBoolean(enablePrint)>
1109 <#assign printURL = renderResponse.createRenderURL() />
1110
1111 ${printURL.setParameter("mvcPath", "/view_content.jsp")}
1112 ${printURL.setParameter("assetEntryId", entry.getEntryId()?string)}
1113 ${printURL.setParameter("viewMode", "print")}
1114 ${printURL.setParameter("type", entry.getAssetRendererFactory().getType())}
1115
1116 <#if assetRenderer.getUrlTitle()?? && validator.isNotNull(assetRenderer.getUrlTitle())>
1117 <#if assetRenderer.getGroupId() != themeDisplay.getScopeGroupId()>
1118 ${printURL.setParameter("groupId", assetRenderer.getGroupId()?string)}
1119 </#if>
1120
1121 ${printURL.setParameter("urlTitle", assetRenderer.getUrlTitle())}
1122 </#if>
1123
1124 ${printURL.setWindowState("pop_up")}
1125
1126 <@liferay_ui["icon"]
1127 iconCssClass="icon-print"
1128 message="print"
1129 url="javascript:Liferay.Util.openWindow({id:'" + renderResponse.getNamespace() + "printAsset', title: '" + languageUtil.format(locale, "print-x-x", ["hide-accessible", entryTitle], false) + "', uri: '" + htmlUtil.escapeURL(printURL.toString()) + "'});"
1130 />
1131 </#if>
1132 </#macro>
1133
1134 <#macro getRatings>
1135 <#if getterUtil.getBoolean(enableRatings) && assetRenderer.isRatable()>
1136 <div class="asset-ratings">
1137 <@liferay_ui["ratings"]
1138 className=entry.getClassName()
1139 classPK=entry.getClassPK()
1140 />
1141 </div>
1142 </#if>
1143 </#macro>
1144
1145 <#macro getRelatedAssets>
1146 <#if getterUtil.getBoolean(enableRelatedAssets)>
1147 <@liferay_asset["asset-links"]
1148 assetEntryId=entry.getEntryId()
1149 viewInContext=!stringUtil.equals(assetLinkBehavior, "showFullContent")
1150 />
1151 </#if>
1152 </#macro>
1153
1154 <#macro getSocialBookmarks>
1155 <@liferay_social_bookmarks["bookmarks"]
1156 className=entry.getClassName()
1157 classPK=entry.getClassPK()
1158 displayStyle="${socialBookmarksDisplayStyle}"
1159 target="_blank"
1160 title=entry.getTitle(locale)
1161 url=viewURL
1162 />
1163 </#macro>