Skip to content

Commit 73bc4ea

Browse files
MilanTyagi2004guusdk
authored andcommitted
OF-1499: Hide max users when it is 0 (unlimited) in muc-room-occupants.jsp
(cherry picked from commit a38d2cd)
1 parent fa20236 commit 73bc4ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmppserver/src/main/webapp/muc-room-occupants.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
<tbody>
134134
<tr>
135135
<td><%= StringUtils.escapeHTMLTags(room.getName()) %></td>
136-
<td><%= room.getOccupantsCount() %> / <%= room.getMaxUsers() %></td>
136+
<td><%= room.getOccupantsCount() %><% if (room.getMaxUsers() > 0) { %> / <%= room.getMaxUsers() %><% } %></td>
137137
<td><%= dateFormatter.format(room.getCreationDate()) %></td>
138138
<td><%= dateFormatter.format(room.getModificationDate()) %></td>
139139
</tr>

0 commit comments

Comments
 (0)