View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-demos/hippo-go-green/trunk/site/src/main/webapp/WEB-INF/jsp/service/faq-detail.jsp
Revision: 47800
Committed: Mon Dec 29 09:55:07 2014 UTC (5 years, 7 months ago) by evanegmond
File size: 1938 byte(s)
Log Message:
GOGREEN-1306 fixed breadcrumb for reseller faq by adding a check

File Contents

# Content
1 <%--
2
3 Copyright 2010-2013 Hippo B.V. (http://www.onehippo.com)
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16
17 --%>
18
19 <%@include file="../includes/tags.jspf" %>
20
21 <hippo-gogreen:title title="${document.question}"/>
22
23 <div class="yui-main">
24 <div id="content" class="yui-b left-and-right">
25
26 <ul id="breadcrumbs">
27 <li><fmt:message key="service.faqdetail.location.label"/></li>
28 <hst:link var="homelink" siteMapItemRefId="home" />
29 <li><a href="${homelink}"><fmt:message key="service.faqdetail.location.home"/></a> &gt;</li>
30 <c:choose>
31 <c:when test="${document.parentBean.path == '/content/documents/hippogogreen/resellerfaqs'}">
32 <hst:link var="faqlink" path="/resellerfaq"/>
33 <li><a href="${faqlink}"><fmt:message key="service.faqdetail.location.resellerfaq"/></a> &gt;</li>
34 </c:when>
35 <c:otherwise>
36 <hst:link var="faqlink" path="/faq"/>
37 <li><a href="${faqlink}"><fmt:message key="service.faqdetail.location.faq"/></a> &gt;</li>
38 </c:otherwise>
39 </c:choose>
40 </ul>
41
42 <div class="editable">
43 <hst:cmseditlink hippobean="${document}" />
44
45 <h2 class="title"><c:out value="${document.question}"/></h2>
46
47 <div id="faq" class="yui-cssbase question">
48 <hst:html hippohtml="${document.answer}"/>
49 <hippo-gogreen:copyright document="${document}"/>
50 </div>
51 </div>
52 </div>
53 </div>

Properties

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