Commit 8d3462ce authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Modified statistics column.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1454 b35dd754-fafc-0310-a699-88a17e54d16e
parent 5e92aa89
...@@ -122,13 +122,13 @@ ...@@ -122,13 +122,13 @@
<th width="35%"><fmt:message key="server.session.details.streamid" /></th> <th width="35%"><fmt:message key="server.session.details.streamid" /></th>
<th width="20%"><fmt:message key="server.session.label.creation" /></th> <th width="20%"><fmt:message key="server.session.label.creation" /></th>
<th width="20%"><fmt:message key="server.session.label.last_active" /></th> <th width="20%"><fmt:message key="server.session.label.last_active" /></th>
<th width="25%" nowrap><fmt:message key="server.session.details.statistics" /></th> <th width="25%" nowrap><fmt:message key="server.session.details.incoming_statistics" /></th>
</tr> </tr>
<tr> <tr>
<td><%= inSession.getStreamID()%></td> <td><%= inSession.getStreamID()%></td>
<td align="center"><%= (System.currentTimeMillis() - inSession.getCreationDate().getTime() < 24*60*60*1000) ? JiveGlobals.formatTime(inSession.getCreationDate()) : JiveGlobals.formatDateTime(inSession.getCreationDate()) %></td> <td align="center"><%= (System.currentTimeMillis() - inSession.getCreationDate().getTime() < 24*60*60*1000) ? JiveGlobals.formatTime(inSession.getCreationDate()) : JiveGlobals.formatDateTime(inSession.getCreationDate()) %></td>
<td align="center"><%= (System.currentTimeMillis() - inSession.getLastActiveDate().getTime() < 24*60*60*1000) ? JiveGlobals.formatTime(inSession.getLastActiveDate()) : JiveGlobals.formatDateTime(inSession.getLastActiveDate()) %></td> <td align="center"><%= (System.currentTimeMillis() - inSession.getLastActiveDate().getTime() < 24*60*60*1000) ? JiveGlobals.formatTime(inSession.getLastActiveDate()) : JiveGlobals.formatDateTime(inSession.getLastActiveDate()) %></td>
<td align="center"><%= numFormatter.format(inSession.getNumClientPackets()) %>/<%= numFormatter.format(inSession.getNumServerPackets()) %></td> <td align="center"><%= numFormatter.format(inSession.getNumClientPackets()) %></td>
</tr> </tr>
</table> </table>
</div> </div>
...@@ -146,13 +146,13 @@ ...@@ -146,13 +146,13 @@
<th width="35%"><fmt:message key="server.session.details.streamid" /></th> <th width="35%"><fmt:message key="server.session.details.streamid" /></th>
<th width="20%"><fmt:message key="server.session.label.creation" /></th> <th width="20%"><fmt:message key="server.session.label.creation" /></th>
<th width="20%"><fmt:message key="server.session.label.last_active" /></th> <th width="20%"><fmt:message key="server.session.label.last_active" /></th>
<th width="25%" nowrap><fmt:message key="server.session.details.statistics" /></th> <th width="25%" nowrap><fmt:message key="server.session.details.outgoing_statistics" /></th>
</tr> </tr>
<tr> <tr>
<td><%= outSession.getStreamID()%></td> <td><%= outSession.getStreamID()%></td>
<td align="center"><%= (System.currentTimeMillis() - outSession.getCreationDate().getTime() < 24*60*60*1000) ? JiveGlobals.formatTime(outSession.getCreationDate()) : JiveGlobals.formatDateTime(outSession.getCreationDate()) %></td> <td align="center"><%= (System.currentTimeMillis() - outSession.getCreationDate().getTime() < 24*60*60*1000) ? JiveGlobals.formatTime(outSession.getCreationDate()) : JiveGlobals.formatDateTime(outSession.getCreationDate()) %></td>
<td align="center"><%= (System.currentTimeMillis() - outSession.getLastActiveDate().getTime() < 24*60*60*1000) ? JiveGlobals.formatTime(outSession.getLastActiveDate()) : JiveGlobals.formatDateTime(outSession.getLastActiveDate()) %></td> <td align="center"><%= (System.currentTimeMillis() - outSession.getLastActiveDate().getTime() < 24*60*60*1000) ? JiveGlobals.formatTime(outSession.getLastActiveDate()) : JiveGlobals.formatDateTime(outSession.getLastActiveDate()) %></td>
<td align="center"><%= numFormatter.format(outSession.getNumClientPackets()) %>/<%= numFormatter.format(outSession.getNumServerPackets()) %></td> <td align="center"><%= numFormatter.format(outSession.getNumServerPackets()) %></td>
</tr> </tr>
</table> </table>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment