]> source.dussan.org Git - archiva.git/commitdiff
[MRM-400] improve appearance of selected tab by removing unnecessary link
authorBrett Porter <brett@apache.org>
Sun, 21 Oct 2007 03:45:59 +0000 (03:45 +0000)
committerBrett Porter <brett@apache.org>
Sun, 21 Oct 2007 03:45:59 +0000 (03:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586846 13f79535-47bb-0310-9956-ffa450edef68

archiva-web/archiva-webapp/src/main/webapp/WEB-INF/tags/currentWWUrl.tag

index 4241af88886919d5e24414a2225579630b308e1a..761ff6640c55e910ed909840cd36b4f0a97d028c 100644 (file)
 <c:set var="text">\r
   <jsp:doBody/>\r
 </c:set>\r
-<a href="${url}">\r
-<c:choose>
+<c:choose>\r
   <c:when test="${currentUrl == url}">\r
-    <b>${text}</b>\r
+    <b>\r
+\r
+    ${text}\r
+\r
+    </b>\r
   </c:when>\r
   <c:otherwise>\r
+    <a href="${url}">\r
+\r
     ${text}\r
-  </c:otherwise>
-</c:choose>
-</a>\r
+\r
+    </a>\r
+  </c:otherwise>\r
+</c:choose>\r