Commit 67718f11 by farax

Разное

parent 548516ec
<#--
Изображение
<#if image_publication.getData()?? && image_publication.getData() != "">
<img data-fileentryid="${image_publication.getAttribute("fileEntryId")}" alt="${image_publication.getAttribute("alt")}" src="${image_publication.getData()}" />
</#if>
Примечание
${publication_note.getData()}
HTML контент
${content.getData()}
Документ, обычно pdf файл
<a href="${publication_document.getData()}">
${languageUtil.format(locale, "download-x", "publication_document", false)}
</a>
-->
<style type="text/css">.leftimg {
float:left;
margin: 7px 7px 7px 0;
width: 220px;
}
</style>
<div>
<p style="margin: 0 auto;">
<#if image_publication.getData()?? && image_publication.getData() != "">
<img data-fileentryid='${image_publication.getAttribute("fileEntryId")}' alt='${image_publication.getAttribute("alt")}' src="${image_publication.getData()}" class="leftimg"/>
</#if>
</p>
${content.getData()}
</div>
<#if publication_note.getData()?? && publication_note.getData() != "">
<p class="text-center"><b>Примечание.<b></p>
<p class="text-left">${publication_note.getData()}</p>
</#if>
<#if publication_document.getData()?? && publication_document.getData() != "">
<p class="text-center"><b>Документ.<b></p>
Электронную версию документа можно скачать по следующей
<a href="${publication_document.getData()}">
<b>ссылки<b>.
</a>
</#if>
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<template-extension>ftl</template-extension> <template-extension>ftl</template-extension>
<settings> <settings>
<setting key="themeArticleId" configurable="true" type="text" value="56403" /> <setting key="themeArticleId" configurable="true" type="text" value="56403" />
<setting key="themePersonalPopupCssClass" configurable="true" type="text" value=""></setting>
</settings> </settings>
<portlet-decorator id="barebone" name="Barebone"> <portlet-decorator id="barebone" name="Barebone">
<default-portlet-decorator>true</default-portlet-decorator> <default-portlet-decorator>true</default-portlet-decorator>
......
...@@ -1577,6 +1577,8 @@ body.oldDesign{ ...@@ -1577,6 +1577,8 @@ body.oldDesign{
/* Для раздела публикации customEditPublicationEdit */
......
jQuery(document).ready(function ($) {
$('.oecd-header__primary-toggle').click(function (event) {
event.preventDefault();
var toggleButton = $(event.currentTarget);
var hiddenClass = 'oecd-header--primary-hidden';
var header = toggleButton.closest('.oecd-header');
header.toggleClass(hiddenClass);
if (!header.hasClass(hiddenClass)) {
// Focus the navigation
toggleButton
.closest('.oecd-header')
.find('.oecd-header__primary')
.attr('tabindex', '0').focus();
}
});
$('.oecd-header__secondary-toggle').click(function (event) {
event.preventDefault();
var toggleButton = $(event.currentTarget);
var secondaryContainer = toggleButton.closest('.oecd-header__secondary-container');
secondaryContainer.toggleClass('oecd-header__secondary-container--active');
var hiddenClass = 'sr-only';
var secondary = secondaryContainer.find('.oecd-header__secondary');
secondary.toggleClass(hiddenClass);
// Focus the navigation
if (!secondary.hasClass(hiddenClass)) {
secondary.attr('tabindex', '0').focus();
}
});
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment