[vlma-devel] commit: Display the server DNS in the server page. (Adrien Grand )

git version control git at videolan.org
Fri Sep 12 22:57:20 CEST 2008


vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Thu Sep 11 20:47:45 2008 +0200| [0db82635d6aa8b13d7350144e460ebbe773e0403] | committer: Adrien Grand 

Display the server DNS in the server page.

> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=0db82635d6aa8b13d7350144e460ebbe773e0403
---

 .../webapp/WEB-INF/jsp/server/serverlist_right.jsp |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/vlma-webapp/src/main/webapp/WEB-INF/jsp/server/serverlist_right.jsp b/vlma-webapp/src/main/webapp/WEB-INF/jsp/server/serverlist_right.jsp
index f392de6..a0ddeed 100644
--- a/vlma-webapp/src/main/webapp/WEB-INF/jsp/server/serverlist_right.jsp
+++ b/vlma-webapp/src/main/webapp/WEB-INF/jsp/server/serverlist_right.jsp
@@ -4,14 +4,15 @@
 <h1><fmt:message key="servers.list" /></h1>
 <table width="80%">
     <c:forEach items="${servers}" var="server">
-        <c:url value="serverview.htm" var="serversViewUrl">
-            <c:param name="server" value="${server.id}" />
-        </c:url>
-        <c:url value="serverremove.htm" var="serversRemoveUrl">
-            <c:param name="server" value="${server.id}" />
-        </c:url>
+    <c:url value="serverview.htm" var="serversViewUrl">
+        <c:param name="server" value="${server.id}" />
+    </c:url>
+    <c:url value="serverremove.htm" var="serversRemoveUrl">
+        <c:param name="server" value="${server.id}" />
+    </c:url>
     <tr>
-        <td width="30%"><b><c:out value="${server.name}" /></b></td>
+        <td width="25%"><b><c:out value="${server.name}" /></b></td>
+        <td><c:out value="${server.ip.hostName}" /> (<c:out value="${server.ip.hostAddress}" />)</td>
         <td>
             <c:if test="${!server.up}">
                 <span class="error"><fmt:message key="servers.unreachable" /></span>



More information about the vlma-devel mailing list