Apache Solr open-source search software
SOLR-4388 Fix overview link and autoAddReplicas
Upayavira2bd051c8de12
diff --git a/solr/webapp/web/index.html b/solr/webapp/web/index.htmlindex e9c14cdfde3..df85ef4b66c 100644--- a/solr/webapp/web/index.html+++ b/solr/webapp/web/index.html@@ -177,7 +177,7 @@ limitations under the License.</div><div id="collection-menu" class="sub-menu" ng-show="currentCollection"><ul>- <li class="overview" ng-class="{active:page=='collection-overview'}"><a href="#/{{currentCore.name}}/collection-overview"><span>Overview</span></a></li>+ <li class="overview" ng-class="{active:page=='collection-overview'}"><a href="#/{{currentCollection.name}}/collection-overview"><span>Overview</span></a></li><li class="analysis" ng-class="{active:page=='analysis'}"><a href="#/{{currentCollection.name}}/analysis"><span>Analysis</span></a></li><li class="dataimport" ng-class="{active:page=='dataimport'}"><a href="#/{{currentCollection.name}}/dataimport"><span>Dataimport</span></a></li><li class="documents" ng-class="{active:page=='documents'}"><a href="#/{{currentCollection.name}}/documents"><span>Documents</span></a></li>diff --git a/solr/webapp/web/partials/collection_overview.html b/solr/webapp/web/partials/collection_overview.htmlindex 5b44c08c625..820035f3b83 100644--- a/solr/webapp/web/partials/collection_overview.html+++ b/solr/webapp/web/partials/collection_overview.html@@ -36,7 +36,7 @@ limitations under the License.<dd class="value">{{selectedCollection.replicationFactor}}</dd><dt>Auto-add replicas:</dt>- <dd class="ico value" ng-class="selectedCollection.autoAddReplicas ? 'ico-1' : 'ico-0'"><span>yes</span></dd>+ <dd class="ico value" ng-class="selectedCollection.autoAddReplicas=='true' ? 'ico-1' : 'ico-0'"><span>yes</span></dd><dt>Router name:</dt><dd class="value">{{selectedCollection.router.name}}</dd>