Page
Official Website of Reserve Bank of India
An error occurred while processing the template.
The following has evaluated to null or missing: ==> request.getParameter("publishDateFrom") [in template "20099#20125#21723122" at line 14, column 33] ---- 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: #assign ParamValueFrom = request.getP... [in template "20099#20125#21723122" at line 14, column 9] ----
1<#assign
2
3AssetEntryLocalServiceUtil=serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")
4AssetTagLocalServiceUtil=serviceLocator.findService("com.liferay.asset.kernel.service.AssetTagLocalService")
5DLFileEntryLocalService=serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")
6JournalArticleLocalService=serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
7 currentUrl=themeDisplay.getCDNBaseURL() + themeDisplay.getURLCurrent()
8 ParamValue=""
9 />
10
11
12
13<#if (currentUrl?contains("publishDateFrom") || currentUrl?contains("publishDateTo"))>
14 <#assign ParamValueFrom=request.getParameter("publishDateFrom")/>
15 <#assign ParamValueTo=request.getParameter("publishDateTo")/>
16
17
18
19 <#if (ParamValueFrom==ParamValueTo)>
20
21
22
23
24<#assign groupId="" assetTitle=""/>
25<#assign isTagAvailable = false />
26<#assign wssAssetId = 0 />
27 <!--<#if entries?has_content>
28 <#list entries as curEntry>
29 <#assign assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(),curEntry.getClassPK())/>
30 <#assign UUID=""
31 assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(),curEntry.getClassPK())
32 assetTitle=assetEntry.getTitle(locale)
33 contentPublishDate=assetEntry.publishDate
34 />
35 <#list assetEntry.tagNames as tag>
36 <#if tag == "wss-header">
37 <#assign isTagAvailable = true />
38 <input type="hidden" id="data-wss-asset-id" value="${assetEntry.getEntryId()}">
39 </#if>
40 </#list>
41 </#list>
42 </#if>-->
43
44<#-- Start -->
45<!--<#assign assetTag = AssetTagLocalServiceUtil.getTag(themeDisplay.getScopeGroupId(), "wss-header") />
46
47<#assign wssHeaderAssets=AssetEntryLocalServiceUtil.getAssetTagAssetEntries(assetTag.tagId) /><#if entries?has_content>
48 <#list wssHeaderAssets as wssHeaderAsset>
49 </#list>
50</#if>-->
51<#-- End-->
52
53<!--<#assign breadURL = themeDisplay.getPortalURL()+themeDisplay.getURLCurrent()/>-->
54
55<div class="rbi-rp-reports-page-wrapper Notification-content-wrap sec_nav reports-section-blocks-all" tabindex="0">
56 <div class="container">
57 <div class="row">
58 <div class="col-12">
59 <div class="notifications-page-header full-width">
60 <div class="row no-gutters">
61 <div class="col-12">
62 <h3 class="section-heading">
63 <#if contentPublishDate?has_content>
64 ${dateUtil.getDate(contentPublishDate?date, "dd MMM yyyy", locale)}
65 <#assign cpDate = dateUtil.getDate(contentPublishDate?date, "yyyy-MM-dd", locale)>
66 </#if>
67 </h3>
68 </div>
69 </div>
70 </div>
71 </div>
72 <div class="col-12">
73 <div class="notifications-row-wrapper list-row-spacing">
74 <div class="row">
75 <#if entries?has_content>
76
77 <#list entries as curEntry>
78
79 <#assign UUID=""
80 UUIDs = ""
81 assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(),
82 curEntry.getClassPK())
83 assetTitle=assetEntry.getTitle(locale)
84 fileSize=""
85 docURL=""
86 excelURL=""
87 excelFileSize=""
88 contentPublishDate=assetEntry.publishDate
89 />
90
91
92
93 <#list assetEntry.tagNames as tag>
94 <#if tag == "wss-header">
95 <#assign isTagAvailable = true />
96 <input type="hidden" id="data-wss-asset-id" value="${assetEntry.getEntryId()}">
97 </#if>
98 </#list>
99
100
101 <#assign viewURL=curEntry.getViewURL()?split('?')[0] />
102 <#if assetEntry.getClassName()=="com.liferay.journal.model.JournalArticle">
103 <#assign article=assetEntry.getAssetRenderer().getArticle() id=article.getId()
104 groupId=article.getGroupId()
105 URL=article.getExpandoBridge().getAttribute("pdf-url")
106 ExcelURL=article.getExpandoBridge().getAttribute("doc-url")/>
107 <#assign content=saxReaderUtil.read(article.getContentByLocale(locale))
108 notificationId=content.valueOf("//dynamic-element[@name='Numeric68058098']/dynamic-content")
109 description=content.valueOf("//dynamic-element[@name='RichText92604564']/dynamic-content") publishDate=assetEntry.publishDate
110 articleTitle=content.valueOf("//dynamic-element[@name='Text38353913']/dynamic-content")
111 />
112 </#if>
113 <#assign assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(),curEntry.getClassPK())/>
114 <#assign assetTag=AssetTagLocalServiceUtil.getAssetEntryAssetTags(assetEntry.entryId)/>
115 <#if assetTag?has_content>
116 <#if assetTag[0].name=="wss-header">
117 <div class="col-12 wssHeader">
118 <#else>
119 <div class="col-12 non-wssHeader">
120 </#if>
121 <#else>
122 <div class="col-12 non-wssHeader">
123 </#if>
124 <div class="notification-row-each">
125 <div class="notification-row-each-inner">
126 <#assign redirectURL="${viewURL}" />
127 <a href="${redirectURL}" class="mtm_list_item_heading">
128 <div class="notifications-heading c-tooltips position-relative">
129 <span>${articleTitle}</span>
130 <div class="custom-tooltip">
131 <div class="tooltip-arrow-up"></div>
132 <div class="tooltip-content">
133 ${assetEntry.getSummary(locale)}
134 </div>
135 <div class="tooltip-content-hidden" style="display:none">
136 ${assetEntry.getSummary(locale)}
137 </div>
138 </div>
139 </div>
140 <div class="notifications-heading-hidden" style="display:none">
141 ${assetEntry.getTitle(locale)}
142 </div>
143 </a>
144 <div class="notifications-description-hidden" style="display:none">
145 <#if assetEntry.getSummary(locale)?has_content>
146 ${assetEntry.getSummary(locale)}
147 </#if>
148 </div>
149
150 <!--buttons-->
151 <#if URL?has_content>
152 <#list URL?keys as key>
153 <#if key==locale>
154 <#assign docURL=URL?values[key_index] />
155 </#if>
156
157 </#list>
158 </#if>
159 <!-- <span id="docURL">${docURL}</span> -->
160
161 <#if ExcelURL?has_content>
162 <#list ExcelURL?keys as key>
163 <#if key==locale>
164 <#assign excelURL=ExcelURL?values[key_index] />
165 </#if>
166
167 </#list>
168 </#if>
169 <!-- <span id="excelURL1">${excelURL}</span> -->
170 <#if warningMessageLocale?has_content>
171 <#list warningMessageLocale?keys as key>
172 <#if key==locale>
173 <#assign warningMessage=warningMessageLocale?values[key_index] />
174 </#if>
175 </#list>
176 </#if>
177 <#if docURL?has_content>
178 <#list docURL?split("/") as sValue>
179 <#if sValue?is_last>
180 <#list sValue?split("?") as uuid>
181 <#if uuid?is_first>
182 <#assign UUID=uuid />
183 </#if>
184 </#list>
185 </#if>
186 </#list>
187 </#if>
188 <#if excelURL?has_content>
189 <#list excelURL?split("/") as sValue>
190 <#if sValue?is_last>
191 <#list sValue?split("?") as uuid>
192 <#if uuid?is_first>
193 <#assign UUIDs=uuid />
194 </#if>
195 </#list>
196 </#if>
197 </#list>
198 </#if>
199 <#if UUID?has_content>
200 <#if groupId?has_content>
201 <#attempt>
202 <#assign
203 DLFileEntry=DLFileEntryLocalService.fetchFileEntry(UUID,groupId?number)
204 fileSize=DLFileEntry.getSize() fileAssetEntry=AssetEntryLocalServiceUtil.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",DLFileEntry.getFileEntryId())
205 docURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay) />
206 <#recover>
207 </#attempt>
208 </#if>
209 </#if>
210 <#if UUIDs?has_content>
211 <#if groupId?has_content>
212 <#attempt>
213 <#assign
214 DLFileEntry=DLFileEntryLocalService.fetchFileEntry(UUIDs,groupId?number)
215 excelFileSize=DLFileEntry.getSize()
216 fileAssetEntry=AssetEntryLocalServiceUtil.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",DLFileEntry.getFileEntryId())
217 excelURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay) />
218 <#recover>
219 </#attempt>
220 </#if>
221 </#if>
222
223 <div class="download-pdf-wrapper">
224 <div class="btn-wrap">
225 <#if docURL?? && docURL?has_content>
226 <div class="inner-wrap">
227 <a href="${docURL?split('?')[0]}" target="_blank"
228 class="matomo_download ">
229 <img src="/documents/70233/0/fileDownload.svg"
230 class="downloadFile"
231 alt="${languageUtil.get(locale,'download')}"
232 title="${languageUtil.get(locale,'download')}">
233 ${languageUtil.get(locale,'pdf')} (<span class="fileSize">${fileSize}</span> )
234 </a>
235 </div>
236 </#if>
237 <#if excelURL?? && excelURL?has_content>
238 <div class="inner-wrap">
239 <!-- <span id="excelurl2">${excelURL}</span> -->
240 <a href="${excelURL?split('?')[0]}" target="_blank"
241 class="matomo_download ">
242 <img src="/documents/70233/0/fileDownload.svg"
243 class="downloadFile"
244 alt="${languageUtil.get(locale,'download')}"
245 title="${languageUtil.get(locale,'download')}">
246 ${languageUtil.get(locale,'excel')} (<span class="fileSize">${excelFileSize}</span> )
247 </a>
248 </div>
249 </#if>
250 </div>
251 </div>
252 </div>
253 </div>
254 </div>
255 </#list>
256 </#if>
257 </div>
258 </div>
259 </div>
260 </div>
261 </div>
262</div>
263<#assign currentUrl = themeDisplay.getURLCurrent()/>
264<#if currentUrl?contains('-/')>
265<#assign urlTitle = currentUrl?split('-/')[1]
266urlTitleWithVersion = urlTitle?split('?')
267redirectUrl=""/>
268<#if !currentUrl?contains("publishDateFrom=") && !currentUrl?contains("publishDateTo=")>
269<#assign journalArticle = JournalArticleLocalService.fetchArticleByUrlTitle(themeDisplay.getScopeGroupId(),urlTitleWithVersion[0])
270jrArticle = AssetEntryLocalServiceUtil.fetchEntry("com.liferay.journal.model.JournalArticle",journalArticle.resourcePrimKey )/>
271<#if jrArticle.publishDate?has_content>
272<#assign publishDate = jrArticle.publishDate?datetime?string('yyyy-MM-dd')/>
273<#if urlTitle?contains("version=") >
274<#assign redirectUrl = currentUrl+"&publishDateFrom="+publishDate+"&publishDateTo="+publishDate/>
275<#else>
276<#assign redirectUrl = currentUrl+"?publishDateFrom="+publishDate+"&publishDateTo="+publishDate/>
277</#if>
278<#else>
279<#assign article=jrArticle.getAssetRenderer().getArticle()
280content=saxReaderUtil.read(article.getContentByLocale(locale))
281publishDate=content.valueOf("//dynamic-element[@name='Date61158357']/dynamic-content") />
282<!--<#if urlTitle?contains("version=") >-->
283<#assign redirectUrl = currentUrl+"&publishDateFrom="+publishDate+"&publishDateTo="+publishDate/>
284<!--<#else>
285<#assign redirectUrl = currentUrl+"?publishDateFrom="+publishDate+"&publishDateTo="+publishDate/>
286</#if>-->
287</#if>
288</#if>
289</#if>
290<#assign authTokenUtil = staticUtil["com.liferay.portal.kernel.security.auth.AuthTokenUtil"]/>
291<#assign token = authTokenUtil.getToken(request)/>
292
293
294<script>
295 document.addEventListener("DOMContentLoaded", function() {
296 });
297
298
299
300 $(document).ready(function () {
301 <#if redirectUrl?? >
302 var redirectUrl = "${redirectUrl}";
303 if(redirectUrl != "" && redirectUrl !== ""){
304 window.location.href = redirectUrl;
305 }
306 </#if>
307
308 //If parent with wss-header tag is available then only 251 - 256 will work
309 if($('.notifications-row-wrapper div').hasClass('wssHeader')) {
310 var parentRow=$(".notifications-row-wrapper").children().eq(0);
311 var selectedHeaderRow=$(".wssHeader");
312 selectedHeaderRow.insertBefore(parentRow.children().eq(0));
313 $(".mtm_list_item_heading").eq(0).css('pointer-events','none');
314 }
315
316 //changeActiveBreadcrumb();
317 $(".fileSize").each(function () {
318 var fileSize = $(this).html()
319 if (fileSize != "") {
320 $(this).html(formatFileSize(parseInt(fileSize), 2))
321 }
322 });
323
324 function formatFileSize(bytes, decimalPoint) {
325 if (bytes == 0)
326 return '0 Bytes';
327 var k = 1024,
328 dm = decimalPoint || 2,
329 sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'],
330 i = Math.floor(Math.log(bytes) / Math.log(k));
331 return (parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i]);
332 }
333
334
335 });
336
337 function changeActiveBreadcrumb(){
338
339 var apiUrl = "${themeDisplay.getURLPortal()}/o/rbi-wss-headless/v1.0/getParentWss?publishedDate=${cpDate}&locale=${locale}&token_auth=${token}";
340
341
342 $.ajax({
343 type: "GET",
344 crossDomain: true,
345 url: apiUrl,
346 success: function(data) {
347 $('.breadcrumb-item.active.breadcrumb-item-name').text(data.title);
348 }
349 });
350
351
352 let text =$(".wssHeader").children().children().children().children().children().eq(0).text();
353 let wssAssetId = $("#data-wss-asset-id ").val();
354 $(".non-wssHeader").siblings().each(function(){
355 var linkTag=$(this).children().children();
356 var link=$('.mtm_list_item_heading', linkTag).attr('href');
357 $('.mtm_list_item_heading[href] ',linkTag).attr("href", link);
358 });
359 //let afterdnoneText=$('div.d-none[data-active]').text();
360 };
361
362
363
364
365 //when list is available then removing this class
366 $("#apply-button").removeClass("disabled");
367
368 //Please dont change these method
369 changeActiveBreadcrumb();
370
371
372</script>
373
374
375
376
377
378
379
380 </#if>
381 <#else>
382
383
384
385<#assign groupId="" assetTitle=""/>
386<#assign isTagAvailable = false />
387<#assign wssAssetId = 0 />
388 <!--<#if entries?has_content>
389 <#list entries as curEntry>
390 <#assign assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(),curEntry.getClassPK())/>
391 <#assign UUID=""
392 assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(),curEntry.getClassPK())
393 assetTitle=assetEntry.getTitle(locale)
394 contentPublishDate=assetEntry.publishDate
395 />
396 <#list assetEntry.tagNames as tag>
397 <#if tag == "wss-header">
398 <#assign isTagAvailable = true />
399 <input type="hidden" id="data-wss-asset-id" value="${assetEntry.getEntryId()}">
400 </#if>
401 </#list>
402 </#list>
403 </#if>-->
404
405<#-- Start -->
406<!--<#assign assetTag = AssetTagLocalServiceUtil.getTag(themeDisplay.getScopeGroupId(), "wss-header") />
407
408<#assign wssHeaderAssets=AssetEntryLocalServiceUtil.getAssetTagAssetEntries(assetTag.tagId) /><#if entries?has_content>
409 <#list wssHeaderAssets as wssHeaderAsset>
410 </#list>
411</#if>-->
412<#-- End-->
413
414<!--<#assign breadURL = themeDisplay.getPortalURL()+themeDisplay.getURLCurrent()/>-->
415
416<div class="rbi-rp-reports-page-wrapper Notification-content-wrap sec_nav reports-section-blocks-all" tabindex="0">
417 <div class="container">
418 <div class="row">
419 <div class="col-12">
420 <div class="notifications-page-header full-width">
421 <div class="row no-gutters">
422 <div class="col-12">
423 <h3 class="section-heading">
424 <#if contentPublishDate?has_content>
425 ${dateUtil.getDate(contentPublishDate?date, "dd MMM yyyy", locale)}
426 <#assign cpDate = dateUtil.getDate(contentPublishDate?date, "yyyy-MM-dd", locale)>
427 </#if>
428 </h3>
429 </div>
430 </div>
431 </div>
432 </div>
433 <div class="col-12">
434 <div class="notifications-row-wrapper list-row-spacing">
435 <div class="row">
436 <#if entries?has_content>
437
438 <#list entries as curEntry>
439
440
441
442 <#assign UUID=""
443 UUIDs = ""
444 assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(),
445 curEntry.getClassPK())
446 assetTitle=assetEntry.getTitle(locale)
447 fileSize=""
448 docURL=""
449 excelURL=""
450 excelFileSize=""
451 contentPublishDate=assetEntry.publishDate
452 />
453
454
455
456 <#list assetEntry.tagNames as tag>
457 <#if tag == "wss-header">
458 <#assign isTagAvailable = true />
459 <input type="hidden" id="data-wss-asset-id" value="${assetEntry.getEntryId()}">
460 </#if>
461 </#list>
462
463
464 <#assign viewURL=curEntry.getViewURL()?split('?')[0] />
465 <#if assetEntry.getClassName()=="com.liferay.journal.model.JournalArticle">
466 <#assign article=assetEntry.getAssetRenderer().getArticle() id=article.getId()
467 groupId=article.getGroupId()
468 URL=article.getExpandoBridge().getAttribute("pdf-url")
469 ExcelURL=article.getExpandoBridge().getAttribute("doc-url")/>
470 <#assign content=saxReaderUtil.read(article.getContentByLocale(locale))
471 notificationId=content.valueOf("//dynamic-element[@name='Numeric68058098']/dynamic-content")
472 description=content.valueOf("//dynamic-element[@name='RichText92604564']/dynamic-content") publishDate=assetEntry.publishDate
473 articleTitle=content.valueOf("//dynamic-element[@name='Text38353913']/dynamic-content")
474 />
475 </#if>
476 <#assign assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(),curEntry.getClassPK())/>
477 <#assign assetTag=AssetTagLocalServiceUtil.getAssetEntryAssetTags(assetEntry.entryId)/>
478 <#if assetTag?has_content>
479 <#if assetTag[0].name=="wss-header">
480 <div class="col-12 wssHeader">
481 <#else>
482 <div class="col-12 non-wssHeader">
483 </#if>
484 <#else>
485 <div class="col-12 non-wssHeader">
486 </#if>
487 <div class="notification-row-each">
488 <div class="notification-row-each-inner">
489 <#assign redirectURL="${viewURL}" />
490 <a href="${redirectURL}" class="mtm_list_item_heading">
491 <div class="notifications-heading c-tooltips position-relative">
492 <span>${articleTitle}</span>
493 <div class="custom-tooltip">
494 <div class="tooltip-arrow-up"></div>
495 <div class="tooltip-content">
496 ${assetEntry.getSummary(locale)}
497 </div>
498 <div class="tooltip-content-hidden" style="display:none">
499 ${assetEntry.getSummary(locale)}
500 </div>
501 </div>
502 </div>
503 <div class="notifications-heading-hidden" style="display:none">
504 ${assetEntry.getTitle(locale)}
505 </div>
506 </a>
507 <div class="notifications-description-hidden" style="display:none">
508 <#if assetEntry.getSummary(locale)?has_content>
509 ${assetEntry.getSummary(locale)}
510 </#if>
511 </div>
512
513 <!--buttons-->
514 <#if URL?has_content>
515 <#list URL?keys as key>
516 <#if key==locale>
517 <#assign docURL=URL?values[key_index] />
518 </#if>
519
520 </#list>
521 </#if>
522 <!-- <span id="docURL">${docURL}</span> -->
523
524 <#if ExcelURL?has_content>
525 <#list ExcelURL?keys as key>
526 <#if key==locale>
527 <#assign excelURL=ExcelURL?values[key_index] />
528 </#if>
529
530 </#list>
531 </#if>
532 <!-- <span id="excelURL1">${excelURL}</span> -->
533 <#if warningMessageLocale?has_content>
534 <#list warningMessageLocale?keys as key>
535 <#if key==locale>
536 <#assign warningMessage=warningMessageLocale?values[key_index] />
537 </#if>
538 </#list>
539 </#if>
540 <#if docURL?has_content>
541 <#list docURL?split("/") as sValue>
542 <#if sValue?is_last>
543 <#list sValue?split("?") as uuid>
544 <#if uuid?is_first>
545 <#assign UUID=uuid />
546 </#if>
547 </#list>
548 </#if>
549 </#list>
550 </#if>
551 <#if excelURL?has_content>
552 <#list excelURL?split("/") as sValue>
553 <#if sValue?is_last>
554 <#list sValue?split("?") as uuid>
555 <#if uuid?is_first>
556 <#assign UUIDs=uuid />
557 </#if>
558 </#list>
559 </#if>
560 </#list>
561 </#if>
562 <#if UUID?has_content>
563 <#if groupId?has_content>
564 <#attempt>
565 <#assign
566 DLFileEntry=DLFileEntryLocalService.fetchFileEntry(UUID,groupId?number)
567 fileSize=DLFileEntry.getSize() fileAssetEntry=AssetEntryLocalServiceUtil.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",DLFileEntry.getFileEntryId())
568 docURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay) />
569 <#recover>
570 </#attempt>
571 </#if>
572 </#if>
573 <#if UUIDs?has_content>
574 <#if groupId?has_content>
575 <#attempt>
576 <#assign
577 DLFileEntry=DLFileEntryLocalService.fetchFileEntry(UUIDs,groupId?number)
578 excelFileSize=DLFileEntry.getSize()
579 fileAssetEntry=AssetEntryLocalServiceUtil.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",DLFileEntry.getFileEntryId())
580 excelURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay) />
581 <#recover>
582 </#attempt>
583 </#if>
584 </#if>
585
586 <div class="download-pdf-wrapper">
587 <div class="btn-wrap">
588 <#if docURL?? && docURL?has_content>
589 <div class="inner-wrap">
590 <a href="${docURL?split('?')[0]}" target="_blank"
591 class="matomo_download ">
592 <img src="/documents/70233/0/fileDownload.svg"
593 class="downloadFile"
594 alt="${languageUtil.get(locale,'download')}"
595 title="${languageUtil.get(locale,'download')}">
596 ${languageUtil.get(locale,'pdf')} (<span class="fileSize">${fileSize}</span> )
597 </a>
598 </div>
599 </#if>
600 <#if excelURL?? && excelURL?has_content>
601 <div class="inner-wrap">
602 <!-- <span id="excelurl2">${excelURL}</span> -->
603 <a href="${excelURL?split('?')[0]}" target="_blank"
604 class="matomo_download ">
605 <img src="/documents/70233/0/fileDownload.svg"
606 class="downloadFile"
607 alt="${languageUtil.get(locale,'download')}"
608 title="${languageUtil.get(locale,'download')}">
609 ${languageUtil.get(locale,'excel')} (<span class="fileSize">${excelFileSize}</span> )
610 </a>
611 </div>
612 </#if>
613 </div>
614 </div>
615 </div>
616 </div>
617 </div>
618 </#list>
619 </#if>
620 </div>
621 </div>
622 </div>
623 </div>
624 </div>
625</div>
626<#assign currentUrl = themeDisplay.getURLCurrent()/>
627<#if currentUrl?contains('-/')>
628<#assign urlTitle = currentUrl?split('-/')[1]
629urlTitleWithVersion = urlTitle?split('?')
630redirectUrl=""/>
631<#if !currentUrl?contains("publishDateFrom=") && !currentUrl?contains("publishDateTo=")>
632<#assign journalArticle = JournalArticleLocalService.fetchArticleByUrlTitle(themeDisplay.getScopeGroupId(),urlTitleWithVersion[0])
633jrArticle = AssetEntryLocalServiceUtil.fetchEntry("com.liferay.journal.model.JournalArticle",journalArticle.resourcePrimKey )/>
634<#if jrArticle.publishDate?has_content>
635<#assign publishDate = jrArticle.publishDate?datetime?string('yyyy-MM-dd')/>
636<#if urlTitle?contains("version=") >
637<#assign redirectUrl = currentUrl+"&publishDateFrom="+publishDate+"&publishDateTo="+publishDate/>
638<#else>
639<#assign redirectUrl = currentUrl+"?publishDateFrom="+publishDate+"&publishDateTo="+publishDate/>
640</#if>
641<#else>
642<#assign article=jrArticle.getAssetRenderer().getArticle()
643content=saxReaderUtil.read(article.getContentByLocale(locale))
644publishDate=content.valueOf("//dynamic-element[@name='Date61158357']/dynamic-content") />
645<!--<#if urlTitle?contains("version=") >-->
646<#assign redirectUrl = currentUrl+"&publishDateFrom="+publishDate+"&publishDateTo="+publishDate/>
647<!--<#else>
648<#assign redirectUrl = currentUrl+"?publishDateFrom="+publishDate+"&publishDateTo="+publishDate/>
649</#if>-->
650</#if>
651</#if>
652</#if>
653<#assign authTokenUtil = staticUtil["com.liferay.portal.kernel.security.auth.AuthTokenUtil"]/>
654<#assign token = authTokenUtil.getToken(request)/>
655
656
657<script>
658
659
660
661
662 $(document).ready(function () {
663 <#if redirectUrl?? >
664 var redirectUrl = "${redirectUrl}";
665 if(redirectUrl != "" && redirectUrl !== ""){
666 window.location.href = redirectUrl;
667 }
668 </#if>
669
670 //If parent with wss-header tag is available then only 251 - 256 will work
671 if($('.notifications-row-wrapper div').hasClass('wssHeader')) {
672 var parentRow=$(".notifications-row-wrapper").children().eq(0);
673 var selectedHeaderRow=$(".wssHeader");
674 selectedHeaderRow.insertBefore(parentRow.children().eq(0));
675 $(".mtm_list_item_heading").eq(0).css('pointer-events','none');
676 }
677
678 //changeActiveBreadcrumb();
679 $(".fileSize").each(function () {
680 var fileSize = $(this).html()
681 if (fileSize != "") {
682 $(this).html(formatFileSize(parseInt(fileSize), 2))
683 }
684 });
685
686 function formatFileSize(bytes, decimalPoint) {
687 if (bytes == 0)
688 return '0 Bytes';
689 var k = 1024,
690 dm = decimalPoint || 2,
691 sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'],
692 i = Math.floor(Math.log(bytes) / Math.log(k));
693 return (parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i]);
694 }
695 //hiding the pagination bar
696
697
698 });
699
700 function changeActiveBreadcrumb(){
701
702 var apiUrl = "${themeDisplay.getURLPortal()}/o/rbi-wss-headless/v1.0/getParentWss?publishedDate=${cpDate}&locale=${locale}&token_auth=${token}";
703
704
705 $.ajax({
706 type: "GET",
707 crossDomain: true,
708 url: apiUrl,
709 success: function(data) {
710 $('.breadcrumb-item.active.breadcrumb-item-name').text(data.title);
711 }
712 });
713
714
715 let text =$(".wssHeader").children().children().children().children().children().eq(0).text();
716 let wssAssetId = $("#data-wss-asset-id ").val();
717 $(".non-wssHeader").siblings().each(function(){
718 var linkTag=$(this).children().children();
719 var link=$('.mtm_list_item_heading', linkTag).attr('href');
720 $('.mtm_list_item_heading[href] ',linkTag).attr("href", link);
721 });
722 //let afterdnoneText=$('div.d-none[data-active]').text();
723 };
724
725 //hiding the pagination bar
726 function hidePaginationBar(){
727 $(".pagination-bar").hide();
728 $(".pagination-bar").html("");
729 };
730
731
732 //when list is available then removing this class
733 $("#apply-button").removeClass("disabled");
734
735 //Please dont change these method
736 changeActiveBreadcrumb();
737
738
739</script>
740
741
742
743
744
745
746
747</#if>
Note :
Handbook on RBI’s WSS
Handbook on RBI’s WSS Duplicate 1
Handbook on RBI’s WSS Duplicate 1 Duplicate 2
Handbook on RBI’s WSS Duplicate 1 Duplicate 2 Duplicate 1
Handbook on RBI’s WSS Duplicate 1 Duplicate 2 Duplicate 1 Duplicate 2
Handbook on RBI’s WSS Duplicate 1 Duplicate 2 Duplicate 1 Duplicate 2 Duplicate 1
Handbook on RBI’s WSS Duplicate 1 Duplicate 2 Duplicate 1 Duplicate 2 Duplicate 1 Duplicate 2
Handbook on RBI’s WSS Duplicate 1 Duplicate 2 Duplicate 1 Duplicate 2 Duplicate 1 Duplicate 2 Duplicate 1
Handbook on RBI’s WSS Duplicate 1 Duplicate 2 Duplicate 1 Duplicate 2 Duplicate 1 Duplicate 2 Duplicate 1 Duplicate 2
Handbook on RBI’s WSS Duplicate 1 Duplicate 2 Duplicate 1 Duplicate 2 Duplicate 1 Duplicate 2 Duplicate 1 Duplicate 2 Duplicate 1
- Upload
- Download Upload
- WSS_ID
- 22
- LANGUAGE_CODE
- en
- INDEX_TITLE
- Handbook on RBI’s WSS
- DOCUMENT_TITLE
- SUBJECT
- DOCUMENT_DETAIL
- CONTENT_PUBLISH_DATE
- ACTUAL_DATE
- INDEX_HEADER
- INDEX_LINK
- TYPE_ID
- 0
- DOCUMENT_OWNER
- DESIGNATION_NAME
- IS_ACTIVE
- 0
- KEYWORD_NAME
- CREATED_ON
- CREATED_BY
- LAST_MODIFIED_ON
- LAST_MODIFIED_BY
- TIME_STAMP
- HINDI_WSS_ID
- 0
Page Last Updated on: July 09, 2025