SOLR-3660: Velocity: Link to admin page broken

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364333 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jan Høydahl 2012-07-22 15:43:28 +00:00
parent 832800b537
commit fa469cbbdb
3 changed files with 4 additions and 1 deletions

View File

@ -115,6 +115,8 @@ Bug Fixes
* SOLR-3642: Correct broken check for multivalued fields in stats.facet
(Yandong Yao, hossman)
* SOLR-3660: Velocity: Link to admin page broken (janhoy)
Other Changes
----------------------

View File

@ -4,6 +4,7 @@
#macro(url_root)/solr#end
## TODO: s/url_for_solr/url_for_core/ and s/url_root/url_for_solr/
#macro(core_name)$request.core.name#end
#macro(url_for_solr)#{url_root}#if($request.core.name != "")/$request.core.name#end#end
#macro(url_for_home)#url_for_solr/browse#end

View File

@ -3,7 +3,7 @@
#parse("head.vm")
</head>
<body>
<div id="admin"><a href="#url_for_solr">Solr Admin</a></div>
<div id="admin"><a href="#url_root/#/#core_name">Solr Admin</a></div>
<div id="header">
#parse("header.vm")
</div>