Commit ea040470 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

1. Added icons for specific gateways.

2. Added two-way links between configuration and sessions list.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1549 b35dd754-fafc-0310-a699-88a17e54d16e
parent 92a70595
...@@ -130,7 +130,10 @@ ...@@ -130,7 +130,10 @@
</p> </p>
<p> <p>
<fmt:message key="component.session.summary.info" /> <fmt:message key="component.session.summary.info">
<fmt:param value="<%= "<a href='external-components-settings.jsp'>" %>" />
<fmt:param value="<%= "</a>" %>" />
</fmt:message>
</p> </p>
<div class="jive-table"> <div class="jive-table">
...@@ -178,6 +181,21 @@ ...@@ -178,6 +181,21 @@
<%= componentSession.getExternalComponent().getCategory() %> <%= componentSession.getExternalComponent().getCategory() %>
</td> </td>
<td align="center" width="10%" nowrap> <td align="center" width="10%" nowrap>
<% if ("gateway".equals(componentSession.getExternalComponent().getCategory())) {
if ("msn".equals(componentSession.getExternalComponent().getType())) { %>
<img src="images/msn.gif" width="16" height="16" border="0">&nbsp;
<% }
else if ("aim".equals(componentSession.getExternalComponent().getType())) { %>
<img src="images/aim.gif" width="16" height="16" border="0">&nbsp;
<% }
else if ("yahoo".equals(componentSession.getExternalComponent().getType())) { %>
<img src="images/yahoo.gif" width="22" height="16" border="0">&nbsp;
<% }
else if ("icq".equals(componentSession.getExternalComponent().getType())) { %>
<img src="images/icq.gif" width="16" height="16" border="0">&nbsp;
<% }
}
%>
<%= componentSession.getExternalComponent().getType() %> <%= componentSession.getExternalComponent().getType() %>
</td> </td>
<% Date creationDate = componentSession.getCreationDate(); <% Date creationDate = componentSession.getCreationDate();
......
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