java/nekurak.net-web/web/WEB-INF/casti/uvod.jsp
changeset 154 bf21a4abea9b
parent 145 0efefbf5f8b6
child 156 5f14ce03f518
     1.1 --- a/java/nekurak.net-web/web/WEB-INF/casti/uvod.jsp	Sun Jun 20 14:46:47 2010 +0200
     1.2 +++ b/java/nekurak.net-web/web/WEB-INF/casti/uvod.jsp	Sat Jan 08 20:18:27 2011 +0100
     1.3 @@ -4,6 +4,7 @@
     1.4  		  xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
     1.5  		  xmlns:fn="http://java.sun.com/jsp/jstl/functions"
     1.6  		  xmlns:nk="urn:jsptagdir:/WEB-INF/tags/nekurak"
     1.7 +		  xmlns:nkfn="/WEB-INF/nekurakFunkce"
     1.8  		  version="2.0">
     1.9  
    1.10  	<jsp:useBean id="uvod" class="cz.frantovo.nekurak.web.Uvod" scope="request"/>
    1.11 @@ -31,6 +32,19 @@
    1.12  					<c:if test="${p.url != null}">
    1.13  						<p><a href="${fn:escapeXml(p.url)}"><fmt:message key="uvod.www"/></a></p>
    1.14  					</c:if>
    1.15 +
    1.16 +					<!-- Kategorie podniku (hospoda, vinárna atd.) -->
    1.17 +					<c:if test="${!empty p.kategorie}">
    1.18 +						<ul class="stitky">
    1.19 +							<c:forEach var="k" items="${p.kategorie}">
    1.20 +								<li>
    1.21 +									<a href="?akce=kategorie&amp;amp;id=${k.id}" title="${fn:escapeXml(k.popis)}">
    1.22 +										<c:out value="${k.nazev}"/>
    1.23 +									</a>
    1.24 +								</li>
    1.25 +							</c:forEach>
    1.26 +						</ul>
    1.27 +					</c:if>
    1.28  				</div>
    1.29  
    1.30  				<!-- Hlasování a graf -->