mirror of https://github.com/apache/archiva.git
render the navigation links correctly
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@423761 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a266f21ec1
commit
3ee307877c
|
@ -15,6 +15,9 @@
|
||||||
--%>
|
--%>
|
||||||
|
|
||||||
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
|
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
|
||||||
|
<%@ taglib uri="/webwork" prefix="ww" %>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||||
|
<%@ taglib prefix="my" tagdir="/WEB-INF/tags" %>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Maven Repository Manager :: <decorator:title default="Maven Repository Manager" /></title>
|
<title>Maven Repository Manager :: <decorator:title default="Maven Repository Manager" /></title>
|
||||||
|
@ -65,33 +68,39 @@
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li class="none">
|
<li class="none">
|
||||||
<a href="index.html">Search</a>
|
<my:currentWWUrl action="index" namespace="/">Search</my:currentWWUrl>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<%-- TODO
|
||||||
|
<li class="none">
|
||||||
|
<a href="#">Find Artifact</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="none">
|
<li class="none">
|
||||||
<a href="find-artifact.html">Find Artifact</a>
|
<a href="#">Browse</a>
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="none">
|
|
||||||
<a href="browse.html">Browse</a>
|
|
||||||
</li>
|
</li>
|
||||||
|
--%>
|
||||||
</ul>
|
</ul>
|
||||||
<h5>Manage</h5>
|
<h5>Manage</h5>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
|
<%-- TODO
|
||||||
<li class="none">
|
<li class="none">
|
||||||
|
<a href="#">Reports</a>
|
||||||
<a href="reports.html">Reports</a>
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="none">
|
<li class="none">
|
||||||
<strong>Synchronisation</strong>
|
<a href="#">Synchronisation</a>
|
||||||
</li>
|
</li>
|
||||||
|
--%>
|
||||||
|
|
||||||
|
<li class="expanded">
|
||||||
|
<a href="#">Administration</a>
|
||||||
|
<ul>
|
||||||
<li class="none">
|
<li class="none">
|
||||||
<a href="admin.html">Administration</a>
|
<my:currentWWUrl action="configure" namespace="/admin">Configuration</my:currentWWUrl>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,34 @@
|
||||||
|
<%--
|
||||||
|
~ Copyright 2005-2006 The Apache Software Foundation.
|
||||||
|
~
|
||||||
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
~ you may not use this file except in compliance with the License.
|
||||||
|
~ You may obtain a copy of the License at
|
||||||
|
~
|
||||||
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
~
|
||||||
|
~ Unless required by applicable law or agreed to in writing, software
|
||||||
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
~ See the License for the specific language governing permissions and
|
||||||
|
~ limitations under the License.
|
||||||
|
--%>
|
||||||
|
|
||||||
|
<%@ taglib uri="/webwork" prefix="ww" %>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||||
|
<%@ attribute name="action" required="true" %>
|
||||||
|
<%@ attribute name="namespace" required="true" %>
|
||||||
|
<ww:url id="currentUrl" />
|
||||||
|
<ww:url action="${action}" namespace="${namespace}" id="url" />
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${currentUrl == url}">
|
||||||
|
<strong>
|
||||||
|
<jsp:doBody />
|
||||||
|
</strong>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<a href="${url}">
|
||||||
|
<jsp:doBody />
|
||||||
|
</a>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
Loading…
Reference in New Issue