View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-documentation/hst_docs/trunk/site/src/main/webapp/jsp/components/doctypes/next_list.jspx
(Generate patch)

Comparing hippo-documentation/hst_docs/trunk/site/src/main/webapp/jsp/components/doctypes/next_list.jspx (file contents):
Revision 22103 by rbijlsma, Thu Mar 11 16:14:14 2010 UTC vs.
Revision 22104 by rbijlsma, Fri Mar 12 12:03:24 2010 UTC

33 <ul> 33 <ul>
34 <c:forEach var="referenced" items="${document.nextDocuments}" varStatus="indexer"> 34 <c:forEach var="referenced" items="${document.nextDocuments}" varStatus="indexer">
35 <li> 35 <li>
36 <c:choose> 36 <c:choose>
37 <c:when test="${not empty referenced.URL}"> 37 <c:when test="${not empty referenced.URL}">
38 <c:choose>
39 <c:when test='${! empty referenced.description}'>
38 <a class='external' href='${referenced.URL}'>${referenced.description}</a> 40 <a class='external' href='${referenced.URL}'>${referenced.description}</a>
41 </c:when>
42 <c:otherwise>
43 <a class='external' href='${referenced.URL}'>Alternative document</a>
44 </c:otherwise>
45 </c:choose>
39 </c:when> 46 </c:when>
40 <c:when test="${not empty referenced.documentLink}"> 47 <c:when test="${not empty referenced.documentLink}">
41 <hst:link var="link" hippobean="${referenced.documentLink}"/> 48 <hst:link var="link" hippobean="${referenced.documentLink}"/>
49 <c:choose>
50 <c:when test='${not empty referenced.description}'>
42 <a href='${link}'>${referenced.description}</a> 51 <a href='${link}'>${referenced.description}</a>
52 </c:when>
53 <c:when test='${not empty referenced.documentLink.referencedBean.shortDescription}'>
54 <a href='${link}'><hst:html hippohtml="${referenced.documentLink.referencedBean.shortDescription}"/></a>
55 </c:when>
56 <c:otherwise>
57 <a href='${link}'>Next document</a>
58 </c:otherwise>
59 </c:choose>
43 </c:when> 60 </c:when>
44 <c:otherwise> 61 <c:otherwise>
45 ${referenced.description} 62 ${referenced.description}
46 </c:otherwise> 63 </c:otherwise>
47 </c:choose> 64 </c:choose>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines