View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-documentation/hst_docs/trunk/site/src/main/webapp/jsp/parts/docinfo.jspx
Revision: 21046
Committed: Mon Dec 7 17:49:08 2009 UTC (9 years, 10 months ago) by rbijlsma
File size: 4746 byte(s)
Log Message:
HREPTWODOCS-112 titles in menus

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" [
4 <!ENTITY nbsp "&#160;">
5 ]>
6 Copyright 2009 Hippo
7
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS"
16 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 -->
20 <div class='optional'
21 xmlns="http://www.w3.org/1999/xhtml"
22 xmlns:jsp="http://java.sun.com/JSP/Page"
23 xmlns:c="http://java.sun.com/jsp/jstl/core"
24 xmlns:x="http://java.sun.com/jsp/jstl/xml"
25 xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
26 xmlns:hst="http://www.hippoecm.org/jsp/hst/core"
27 jspversion='2.0'
28 >
29
30 <jsp:directive.page contentType="text/html; charset=UTF-8" language="java"/>
31
32 <c:choose>
33 <c:when test="${docinfo.shortDescriptionLength gt 0}">
34 <c:choose>
35 <c:when test="${docinfo.shortDescriptionLength lt 80}">
36 <h4 class='subtitle'>
37 <hst:html hippohtml="${docinfo.shortDescription}"/>
38 </h4>
39 </c:when>
40 <c:when test="${docinfo.shortDescriptionLength lt 100}">
41 <h5 class='subtitle'>
42 <hst:html hippohtml="${docinfo.shortDescription}"/>
43 </h5>
44 </c:when>
45 <c:when test="${docinfo.shortDescriptionLength lt 120}">
46 <h6 class='subtitle'>
47 <hst:html hippohtml="${docinfo.shortDescription}"/>
48 </h6>
49 </c:when>
50 <c:otherwise>
51 <div class='shortdescription'>
52 <hst:html hippohtml="${docinfo.shortDescription}"/>
53 </div>
54 </c:otherwise>
55 </c:choose>
56 </c:when>
57 <c:when test="${docinfo.oldShortDescLength gt 0}">
58 <c:choose>
59 <c:when test="${docinfo.oldShortDescLength lt 80}">
60 <h4 class='subtitle'>
61 ${docinfo.oldShortDesc}
62 </h4>
63 </c:when>
64 <c:when test="${docinfo.oldShortDescLength lt 100}">
65 <h5 class='subtitle'>
66 ${docinfo.oldShortDesc}
67 </h5>
68 </c:when>
69 <c:when test="${docinfo.oldShortDescLength lt 120}">
70 <h6 class='subtitle'>
71 ${docinfo.oldShortDesc}
72 </h6>
73 </c:when>
74 <c:otherwise>
75 <div class='shortdescription'>
76 ${docinfo.oldShortDesc}
77 </div>
78 </c:otherwise>
79 </c:choose>
80 </c:when>
81 </c:choose>
82
83 <c:if test="${! empty docinfo.newInVersion}">
84 <c:if test="${docinfo.newInVersion ne '&lt; 2.7.xx'}">
85 <span id="newin" class="right"><span class="property">New in version:</span> ${docinfo.newInVersion}</span>
86 </c:if>
87 </c:if>
88
89 <!--
90 <ul id="docinfo">
91 <c:if test="${not empty docinfo.difficulty}">
92 <li id="difficulty" class="right"><span class="property">Difficulty:</span> ${docinfo.difficulty}</li>
93 </c:if>
94
95 <li id="type"><span class="property">Type:</span> ${docinfo.type}</li>
96 <c:if test="${not empty docinfo.newInVersion}">
97 <li id="newin" class="right"><span class="property">New in version:</span> ${docinfo.newInVersion}</li>
98 </c:if>
99 <li id="audience"><span class="property">Audience(s):</span>
100 <c:forEach var="audience" items="${docinfo.audience}" varStatus="i">
101 <c:if test="not(i == 0)">
102 ,&#160;
103 </c:if>
104 ${audience},&#160;;
105 </c:forEach>
106 </li>
107 <c:if test="${not empty docinfo.expireVersion}">
108 <li id="expire" class="right"><span class="property">Expected to expire at version:</span> ${docinfo.expireVersion}</li>
109 </c:if>
110 <c:if test="${not empty docinfo.writtenForVersion}">
111 <li id="writtenfor" class="right"><span class="property">Written for version:</span> ${docinfo.writtenForVersion}</li>
112 </c:if>
113 <c:if test="${not empty docinfo.component}">
114 <li id="component"><span class="property">Component(s):</span>
115 <c:forEach var="component" items="${docinfo.component}" varStatus="i">
116 <c:if test="not(i == 0)">
117 ,&#160;
118 </c:if>
119 ${component},&#160;
120 </c:forEach>
121 </li>
122 </c:if>
123 </ul>
124 -->
125
126 <!-- <c:if test="${not empty docinfo.todo}">
127 <li class="todo"><span class="property">To do(s):</span>
128 <c:forEach var="todo" items="${docinfo.todo}" varStatus="i">
129 <c:if test="not(i == 0)">
130 ,&#160;
131 </c:if>
132 ${todo}
133 </c:forEach>
134 </li>
135 </c:if> -->
136 </div>
137

Properties

Name Value
svn:eol-style native
svn:keywords Id
svn:mergeinfo