Commit 192d1665 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Added icon next to the discovered type information.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1577 b35dd754-fafc-0310-a699-88a17e54d16e
parent 8b283d59
...@@ -103,6 +103,21 @@ ...@@ -103,6 +103,21 @@
<fmt:message key="component.session.label.type" />: <fmt:message key="component.session.label.type" />:
</td> </td>
<td> <td>
<% 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>
</tr> </tr>
......
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