git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/sbd-uploadshare-portlet@163190 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e930da1227
commit
a14dfeabb4
|
@ -42,7 +42,7 @@
|
||||||
Node node = document.selectSingleNode("/root/static-content");
|
Node node = document.selectSingleNode("/root/static-content");
|
||||||
content2 = node.getText();
|
content2 = node.getText();
|
||||||
}
|
}
|
||||||
|
|
||||||
String content3 = "";
|
String content3 = "";
|
||||||
if (exploratoryName3DocumentId > 0) {
|
if (exploratoryName3DocumentId > 0) {
|
||||||
JournalArticle article = JournalArticleLocalServiceUtil.getArticle(groupId,
|
JournalArticle article = JournalArticleLocalServiceUtil.getArticle(groupId,
|
||||||
|
@ -52,80 +52,86 @@
|
||||||
content3 = node.getText();
|
content3 = node.getText();
|
||||||
}
|
}
|
||||||
%>
|
%>
|
||||||
<div class="asset-abstract">
|
<c:if test="${not empty exploratoryName1Title}">
|
||||||
<h3 class="asset-title">
|
<div class="asset-abstract">
|
||||||
<a href="${exploratory1Url}"><img alt="" src="${icondocURL}">
|
<h3 class="asset-title">
|
||||||
${exploratoryName1Title}</a>
|
<a href="${exploratory1Url}"><img alt="" src="${icondocURL}">
|
||||||
</h3>
|
${exploratoryName1Title}</a>
|
||||||
<div class="asset-content">
|
</h3>
|
||||||
<div class="asset-summary" style="margin-left: 25px;">
|
<div class="asset-content">
|
||||||
<span id="asset-summarypre1"> <%
|
<div class="asset-summary" style="margin-left: 25px;">
|
||||||
|
<span id="asset-summarypre1"> <%
|
||||||
if (content1.length() > 225)
|
if (content1.length() > 225)
|
||||||
out.println(HtmlUtil.stripHtml(content1.substring(0, 222) + " ..."));
|
out.println(HtmlUtil.stripHtml(content1.substring(0, 222) + " ..."));
|
||||||
%>
|
%>
|
||||||
<div>
|
<div>
|
||||||
<a
|
<a
|
||||||
href="javascript:switchView('#asset-summarypre1', '#asset-summary-1');">Read
|
href="javascript:switchView('#asset-summarypre1', '#asset-summary-1');">Read
|
||||||
More » </a>
|
More » </a>
|
||||||
|
</div>
|
||||||
|
</span>
|
||||||
|
<div class="asset-more">
|
||||||
|
<div id="asset-summary-1" class="asset-summary"
|
||||||
|
style="display: none;"><%=content1%></div>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
|
||||||
<div class="asset-more">
|
|
||||||
<div id="asset-summary-1" class="asset-summary"
|
|
||||||
style="display: none;"><%=content1%></div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="asset-metadata"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="asset-metadata"></div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</c:if>
|
||||||
<!-- SECOND -->
|
<!-- SECOND -->
|
||||||
<div class="asset-abstract">
|
<c:if test="${not empty exploratoryName2Title}">
|
||||||
<h3 class="asset-title">
|
<div class="asset-abstract">
|
||||||
<a href="${exploratory2Url}"><img alt="" src="${icondocURL}">
|
<h3 class="asset-title">
|
||||||
${exploratoryName2Title}</a>
|
<a href="${exploratory2Url}"><img alt="" src="${icondocURL}">
|
||||||
</h3>
|
${exploratoryName2Title}</a>
|
||||||
<div class="asset-content">
|
</h3>
|
||||||
<div class="asset-summary" style="margin-left: 25px;">
|
<div class="asset-content">
|
||||||
<span id="asset-summarypre2"> <%
|
<div class="asset-summary" style="margin-left: 25px;">
|
||||||
|
<span id="asset-summarypre2"> <%
|
||||||
if (content2.length() > 225)
|
if (content2.length() > 225)
|
||||||
out.println(HtmlUtil.stripHtml(content2.substring(0, 222) + " ..."));
|
out.println(HtmlUtil.stripHtml(content2.substring(0, 222) + " ..."));
|
||||||
%>
|
%>
|
||||||
<div>
|
<div>
|
||||||
<a
|
<a
|
||||||
href="javascript:switchView('#asset-summarypre2', '#asset-summary-2');">Read
|
href="javascript:switchView('#asset-summarypre2', '#asset-summary-2');">Read
|
||||||
More » </a>
|
More » </a>
|
||||||
|
</div>
|
||||||
|
</span>
|
||||||
|
<div class="asset-more">
|
||||||
|
<div id="asset-summary-2" class="asset-summary"
|
||||||
|
style="display: none;"><%=content2%></div>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
|
||||||
<div class="asset-more">
|
|
||||||
<div id="asset-summary-2" class="asset-summary"
|
|
||||||
style="display: none;"><%=content2%></div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="asset-metadata"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="asset-metadata"></div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</c:if>
|
||||||
<!-- THIRD -->
|
<!-- THIRD -->
|
||||||
<div class="asset-abstract">
|
<c:if test="${not empty exploratoryName3Title}">
|
||||||
<h3 class="asset-title">
|
<div class="asset-abstract">
|
||||||
<a href="${exploratory3Url}"><img alt="" src="${icondocURL}">
|
<h3 class="asset-title">
|
||||||
${exploratoryName3Title}</a>
|
<a href="${exploratory3Url}"><img alt="" src="${icondocURL}">
|
||||||
</h3>
|
${exploratoryName3Title}</a>
|
||||||
<div class="asset-content">
|
</h3>
|
||||||
<div class="asset-summary" style="margin-left: 25px;">
|
<div class="asset-content">
|
||||||
<span id="asset-summarypre3"> <%
|
<div class="asset-summary" style="margin-left: 25px;">
|
||||||
|
<span id="asset-summarypre3"> <%
|
||||||
if (content3.length() > 225)
|
if (content3.length() > 225)
|
||||||
out.println(HtmlUtil.stripHtml(content3.substring(0, 222) + " ..."));
|
out.println(HtmlUtil.stripHtml(content3.substring(0, 222) + " ..."));
|
||||||
%>
|
%>
|
||||||
<div>
|
<div>
|
||||||
<a
|
<a
|
||||||
href="javascript:switchView('#asset-summarypre3', '#asset-summary-3');">Read
|
href="javascript:switchView('#asset-summarypre3', '#asset-summary-3');">Read
|
||||||
More » </a>
|
More » </a>
|
||||||
|
</div>
|
||||||
|
</span>
|
||||||
|
<div class="asset-more">
|
||||||
|
<div id="asset-summary-3" class="asset-summary"
|
||||||
|
style="display: none;"><%=content3%></div>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
|
||||||
<div class="asset-more">
|
|
||||||
<div id="asset-summary-3" class="asset-summary"
|
|
||||||
style="display: none;"><%=content3%></div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="asset-metadata"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="asset-metadata"></div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</c:if>
|
Loading…
Reference in New Issue