java/nekurak.net-web/web/WEB-INF/casti/odeslatKomentar.jsp
changeset 132 1ca0d7fdbe51
parent 130 1bbff3f5181f
child 133 2acdbc74bc24
     1.1 --- a/java/nekurak.net-web/web/WEB-INF/casti/odeslatKomentar.jsp	Tue Jun 08 09:09:17 2010 +0200
     1.2 +++ b/java/nekurak.net-web/web/WEB-INF/casti/odeslatKomentar.jsp	Tue Jun 08 12:56:46 2010 +0200
     1.3 @@ -21,10 +21,19 @@
     1.4  	<jsp:setProperty name="komentar" property="typ" value="${param.typ}"/>
     1.5  	<jsp:setProperty name="odeslatKomentar" property="komentar" value="${komentar}"/>
     1.6  
     1.7 -	<p>
     1.8 -	    <fmt:message key="komentar.odeslat.ok"/>,
     1.9 -	    <a href="?akce=detail&amp;amp;podnik=${komentar.podnik}"><fmt:message key="komentar.odeslat.pokracujte"/></a>.
    1.10 -	</p>
    1.11 +	<c:choose>
    1.12 +	    <c:when test="${odeslatKomentar.ok}">
    1.13 +		<p>
    1.14 +		    <fmt:message key="komentar.odeslat.ok"/>,
    1.15 +		    <a href="?akce=detail&amp;amp;podnik=${komentar.podnik}"><fmt:message key="komentar.odeslat.pokracujte"/></a>.
    1.16 +		</p>
    1.17 +	    </c:when>
    1.18 +	    <c:otherwise>
    1.19 +		<p><fmt:message key="komentar.odeslat.chyba"/></p>
    1.20 +	    </c:otherwise>
    1.21 +	</c:choose>
    1.22 +
    1.23 +
    1.24  
    1.25  
    1.26      </nk:stranka>