java/code/webapp/WEB-INF/pages/systems/sdc/channels.jsp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit abfebdb8895289acaece69df12d11987618359ee
Author: Tomas Lestach <tlestach(a)redhat.com>
Date: Mon Aug 29 13:54:57 2011 +0200
692797 - display asterisk explanation only when asterisk was used on the page
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 8c96f05..3608c88 100644
--- a/java/code/webapp/WEB-INF/pages/systems/sdc/channels.jsp
+++ b/java/code/webapp/WEB-INF/pages/systems/sdc/channels.jsp
@@ -49,6 +49,7 @@
<c:if test="${system.virtualGuest}">
<c:if test="${not channel.freeForGuests}">
<span class="asterisk">* </span>
+ <c:set var="display_asterisk" value="true"
scope="page" />
</c:if>
<c:choose>
<c:when test="${channel.freeForGuests &&
system.virtualInstance.hostSystem != null}">
@@ -84,7 +85,7 @@
</ul>
</c:otherwise>
</c:choose>
- <c:if test="${system.virtualGuest && channel.availableSubscriptions
!= null}">
+ <c:if test="${pageScope.display_asterisk}">
<c:if test="${not empty system.virtualInstance.hostSystem.id}">
<span class="asterisk">* </span><bean:message
key="sdc.channels.edit.virtsubwarning"
arg0="${system.virtualInstance.hostSystem.id}"
arg1="${system.virtualInstance.hostSystem.name}"/>
Show replies by date