java/code/webapp/WEB-INF/pages/systems/sdc/channels.jsp | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
New commits:
commit 32b333cb2021979f55b0796502e1aa6ac0e21245
Author: Milan Zazrivec <mzazrivec(a)redhat.com>
Date: Fri May 6 12:32:29 2011 +0200
673392 - correct entitlement count logic for custom channels
diff --git a/java/code/webapp/WEB-INF/pages/systems/sdc/channels.jsp
b/java/code/webapp/WEB-INF/pages/systems/sdc/channels.jsp
index 45426a2..1e07d52 100644
--- a/java/code/webapp/WEB-INF/pages/systems/sdc/channels.jsp
+++ b/java/code/webapp/WEB-INF/pages/systems/sdc/channels.jsp
@@ -59,12 +59,22 @@
</c:when>
<c:otherwise>
- (<strong>${channel.availableSubscriptions}</strong>
<bean:message key="sdc.channels.edit.available"/>)
+ <c:if test="${channel.availableSubscriptions ==
null}">
+ (<bean:message
key="sdc.channels.edit.unlimited"/>)
+ </c:if>
+ <c:if test="${channel.availableSubscriptions !=
null}">
+
(<strong>${channel.availableSubscriptions}</strong> <bean:message
key="sdc.channels.edit.available"/>)
+ </c:if>
</c:otherwise>
</c:choose>
</c:if>
<c:if test="${not system.virtualGuest}">
- (<strong>${channel.availableSubscriptions}</strong>
<bean:message key="sdc.channels.edit.available"/>)
+ <c:if test="${channel.availableSubscriptions ==
null}">
+ (<bean:message
key="sdc.channels.edit.unlimited"/>)
+ </c:if>
+ <c:if test="${channel.availableSubscriptions !=
null}">
+ (<strong>${channel.availableSubscriptions}</strong>
<bean:message key="sdc.channels.edit.available"/>)
+ </c:if>
</c:if>
</li>
</c:forEach>
Show replies by date