You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by gs...@apache.org on 2011/02/10 13:00:29 UTC

svn commit: r1069345 - in /lucene/dev/trunk/solr/example/solr/conf/velocity: VM_global_library.vm tabs.vm

Author: gsingers
Date: Thu Feb 10 12:00:29 2011
New Revision: 1069345

URL: http://svn.apache.org/viewvc?rev=1069345&view=rev
Log:
clean up some urls

Modified:
    lucene/dev/trunk/solr/example/solr/conf/velocity/VM_global_library.vm
    lucene/dev/trunk/solr/example/solr/conf/velocity/tabs.vm

Modified: lucene/dev/trunk/solr/example/solr/conf/velocity/VM_global_library.vm
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/conf/velocity/VM_global_library.vm?rev=1069345&r1=1069344&r2=1069345&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/solr/conf/velocity/VM_global_library.vm (original)
+++ lucene/dev/trunk/solr/example/solr/conf/velocity/VM_global_library.vm Thu Feb 10 12:00:29 2011
@@ -2,7 +2,7 @@
 #macro(param $key)$request.params.get($key)#end
 
 #macro(url_for_solr)/solr#if($request.core.name != "")/$request.core.name#end#end
-#macro(url_for_home)#url_for_solr/browse#end
+#macro(url_for_home)#url_for_solr/browse?#end
 
 #macro(q)&q=$!{esc.url($params.get('q'))}#end
 

Modified: lucene/dev/trunk/solr/example/solr/conf/velocity/tabs.vm
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/conf/velocity/tabs.vm?rev=1069345&r1=1069344&r2=1069345&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/solr/conf/velocity/tabs.vm (original)
+++ lucene/dev/trunk/solr/example/solr/conf/velocity/tabs.vm Thu Feb 10 12:00:29 2011
@@ -1,6 +1,6 @@
 ##TODO: Make some nice tabs here
 #set($queryOpts = $params.get("queryOpts"))
-<span #annTitle("Click the link to demonstrate various Solr capabilities")><span>Examples: </span><span class="tab">#if($queryOpts && $queryOpts != "")<a href="#url_for_home">Simple</a>#{else}Simple#end</span>
-<span class="tab">#if($queryOpts == "spatial")Spatial#else<a href="#url_for_home?&queryOpts=spatial">Spatial</a>#end</span>
-<span class="tab">#if($queryOpts == "group")Group By#else<a href="#url_for_home?&queryOpts=group&group=true&group.field=manu_exact">Group By</a>#end</span></span>
+<span #annTitle("Click the link to demonstrate various Solr capabilities")><span>Examples: </span><span class="tab">#if($queryOpts && $queryOpts != "")<a href="#url_for_home/?#debug#annotate">Simple</a>#{else}Simple#end</span>
+<span class="tab">#if($queryOpts == "spatial")Spatial#else<a href="#url_for_home?&queryOpts=spatial#debug#annotate">Spatial</a>#end</span>
+<span class="tab">#if($queryOpts == "group")Group By#else<a href="#url_for_home?#debug#annotate&queryOpts=group&group=true&group.field=manu_exact">Group By</a>#end</span></span>
 <hr/>        
\ No newline at end of file