mirror of
https://github.com/apache/lucene.git
synced 2025-02-20 17:07:09 +00:00
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:
parent
832800b537
commit
fa469cbbdb
@ -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
|
||||
----------------------
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user