aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-web/archiva-webapp/src/main/webapp
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2007-10-21 03:45:59 +0000
committerBrett Porter <brett@apache.org>2007-10-21 03:45:59 +0000
commit381948f69ecf00e45fdb450a61ed51e5994d610c (patch)
tree90b5d631212cef7ed82c971c5d4dedff11ab1819 /archiva-web/archiva-webapp/src/main/webapp
parenta34338bc47a559ae1b38ef064b76adc16b960a15 (diff)
downloadarchiva-381948f69ecf00e45fdb450a61ed51e5994d610c.tar.gz
archiva-381948f69ecf00e45fdb450a61ed51e5994d610c.zip
[MRM-400] improve appearance of selected tab by removing unnecessary link
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586846 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-web/archiva-webapp/src/main/webapp')
-rw-r--r--archiva-web/archiva-webapp/src/main/webapp/WEB-INF/tags/currentWWUrl.tag18
1 files changed, 12 insertions, 6 deletions
diff --git a/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/tags/currentWWUrl.tag b/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/tags/currentWWUrl.tag
index 4241af888..761ff6640 100644
--- a/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/tags/currentWWUrl.tag
+++ b/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/tags/currentWWUrl.tag
@@ -34,13 +34,19 @@
<c:set var="text">
<jsp:doBody/>
</c:set>
-<a href="${url}">
-<c:choose>
+<c:choose>
<c:when test="${currentUrl == url}">
- <b>${text}</b>
+ <b>
+
+ ${text}
+
+ </b>
</c:when>
<c:otherwise>
+ <a href="${url}">
+
${text}
- </c:otherwise>
-</c:choose>
-</a>
+
+ </a>
+ </c:otherwise>
+</c:choose>