From 9ed9fe3b21519b376e0811bb8e09bf86981f5e15 Mon Sep 17 00:00:00 2001 From: jensp Date: Mon, 1 Jun 2015 11:54:59 +0000 Subject: [PATCH] Foundry: Some refinements for the image attachments: Depending if there only on image attachments or if there multiple ones a different class is appended to the classes of the imediate child element of the image-attachments element git-svn-id: https://svn.libreccm.org/ccm/trunk@3445 8810af33-2d31-482b-a856-94f89814c4df --- .../src/com/arsdigita/cms/ui/ItemSearch.java | 2 +- .../assets/image-attachments.xsl | 55 ++++++++++++++++++- ccm-sci-bundle/bundles/devel/cfg/project.xml | 2 +- 3 files changed, 56 insertions(+), 3 deletions(-) diff --git a/ccm-cms/src/com/arsdigita/cms/ui/ItemSearch.java b/ccm-cms/src/com/arsdigita/cms/ui/ItemSearch.java index ec1139aee..7f563c90d 100755 --- a/ccm-cms/src/com/arsdigita/cms/ui/ItemSearch.java +++ b/ccm-cms/src/com/arsdigita/cms/ui/ItemSearch.java @@ -60,7 +60,7 @@ public class ItemSearch extends Form implements Resettable, QueryGenerator { */ public ItemSearch(String context, boolean limitToContentSection) { super("itemSearch", new SimpleContainer()); - setMethod("GET"); + //setMethod("GET"); m_section = createSearchSection(context, limitToContentSection); add(m_section); } diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/image-attachments.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/image-attachments.xsl index bdf2bc884..7d424f54f 100644 --- a/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/image-attachments.xsl +++ b/ccm-core/web/themes/foundry/foundry/lib/template-tags/content-items/assets/image-attachments.xsl @@ -34,7 +34,60 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ccm-sci-bundle/bundles/devel/cfg/project.xml b/ccm-sci-bundle/bundles/devel/cfg/project.xml index ddcd25764..237924cfa 100644 --- a/ccm-sci-bundle/bundles/devel/cfg/project.xml +++ b/ccm-sci-bundle/bundles/devel/cfg/project.xml @@ -9,7 +9,7 @@ name="ScientificCMS" prettyName="Scientific CMS" version="2.3.0" - release="devel-SNAPSHOT-r3418" + release="devel-SNAPSHOT-r3436" webxml="sci-web.xml" portletxml="sci-portlet.xml" webapp="libreccm"