From a14dfeabb4ce676f9e036bb74f8c1946d88da94a Mon Sep 17 00:00:00 2001 From: Massimiliano Assante Date: Mon, 12 Feb 2018 10:56:28 +0000 Subject: [PATCH] git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/sbd-uploadshare-portlet@163190 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../webapp/html/accessexploratory/view.jsp | 122 +++++++++--------- 1 file changed, 64 insertions(+), 58 deletions(-) diff --git a/src/main/webapp/html/accessexploratory/view.jsp b/src/main/webapp/html/accessexploratory/view.jsp index cff4428..515d6d8 100644 --- a/src/main/webapp/html/accessexploratory/view.jsp +++ b/src/main/webapp/html/accessexploratory/view.jsp @@ -42,7 +42,7 @@ Node node = document.selectSingleNode("/root/static-content"); content2 = node.getText(); } - + String content3 = ""; if (exploratoryName3DocumentId > 0) { JournalArticle article = JournalArticleLocalServiceUtil.getArticle(groupId, @@ -52,80 +52,86 @@ content3 = node.getText(); } %> -
-

- - ${exploratoryName1Title} -

-
-
- <% + +
+

+ + ${exploratoryName1Title} +

+
+
+ <% if (content1.length() > 225) - out.println(HtmlUtil.stripHtml(content1.substring(0, 222) + " ...")); + out.println(HtmlUtil.stripHtml(content1.substring(0, 222) + " ...")); %> -
- Read - More » + + +
+
- -
-
+
-
-
+ -
-

- - ${exploratoryName2Title} -

-
-
- <% + +
+

+ + ${exploratoryName2Title} +

+
+
+ <% if (content2.length() > 225) - out.println(HtmlUtil.stripHtml(content2.substring(0, 222) + " ...")); + out.println(HtmlUtil.stripHtml(content2.substring(0, 222) + " ...")); %> -
- Read - More » + + +
+
- -
-
+
-
-
+ -
-

- - ${exploratoryName3Title} -

-
-
- <% + +
+

+ + ${exploratoryName3Title} +

+
+
+ <% if (content3.length() > 225) - out.println(HtmlUtil.stripHtml(content3.substring(0, 222) + " ...")); + out.println(HtmlUtil.stripHtml(content3.substring(0, 222) + " ...")); %> -
- Read - More » + + +
+
- -
-
+
-
-
\ No newline at end of file + \ No newline at end of file