diff server/resources/symbolServerSettings.jsp @ 32:2ae714d6faa5

global settings tab added
author Evgeniy.Koshkin
date Mon, 12 Aug 2013 16:28:03 +0400
parents
children 76233e3aceb7
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/server/resources/symbolServerSettings.jsp	Mon Aug 12 16:28:03 2013 +0400
@@ -0,0 +1,30 @@
+<%@ include file="/include-internal.jsp"%>
+
+<jsp:useBean id="pageUrl" type="java.lang.String" scope="request"/>
+<jsp:useBean id="isGuestEnabled" scope="request" type="java.lang.Boolean"/>
+<jsp:useBean id="publicFeedUrl" scope="request" type="java.lang.String" />
+<jsp:useBean id="actualServerUrl" scope="request" type="java.lang.String" />
+
+<table class="runnerFormTable">
+  <tr>
+    <th>Symbol Server URL:</th>
+    <td>
+      <c:choose>
+        <c:when test="${not isGuestEnabled}">
+          <div>Not available.</div>
+            <span class="smallNote">
+              Guest user is disabled.
+            </span>
+            <span class="smallNote">
+              You need to enable guest user login in TeamCity <a href="<c:url value="/admin/admin.html?item=auth"/>">Authentication Settings</a> for Symbol Server to work.
+            </span>
+        </c:when>
+        <c:otherwise>
+          <c:set var="url"><c:url value="${actualServerUrl}${publicFeedUrl}"/></c:set>
+          <div><a href="${url}">${url}</a></div>
+          <span class="smallNote">Use this URL in Visual Studio and WinDbg settings.</span>
+        </c:otherwise>
+      </c:choose>
+    </td>
+  </tr>
+</table>
\ No newline at end of file