first commit
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{namespace solr=WapplerSystems\Meilisearch\ViewHelpers}
|
||||
{namespace meilisearch=WapplerSystems\Meilisearch\ViewHelpers}
|
||||
<f:layout name="Backend/WithPageTree"/>
|
||||
|
||||
<f:section name="Main">
|
||||
<f:for each="{documents}" as="document">
|
||||
<f:render partial="Backend/ApacheSolr/SingleDocument" arguments="{document: document, documentType: documentType, documentsCount: '{f:count(subject: documents)}'}"/>
|
||||
<f:render partial="Backend/ApacheMeilisearch/SingleDocument" arguments="{document: document, documentType: documentType, documentsCount: '{f:count(subject: documents)}'}"/>
|
||||
</f:for>
|
||||
</f:section>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{namespace solr=WapplerSystems\Meilisearch\ViewHelpers}
|
||||
{namespace meilisearch=WapplerSystems\Meilisearch\ViewHelpers}
|
||||
<f:layout name="Backend/WithPageTree"/>
|
||||
|
||||
<f:section name="Main">
|
||||
@@ -64,7 +64,7 @@
|
||||
<h2>Site: {site.label}</h2>
|
||||
|
||||
<f:if condition="{connectedHosts}">
|
||||
<f:be.infobox title="Following Apache Solr servers have been contacted:" state="0">
|
||||
<f:be.infobox title="Following Meilisearch servers have been contacted:" state="0">
|
||||
<ul>
|
||||
<f:for each="{connectedHosts}" as="connectedHost">
|
||||
<li>{connectedHost}</li>
|
||||
@@ -74,7 +74,7 @@
|
||||
</f:if>
|
||||
|
||||
<f:if condition="{missingHosts}">
|
||||
<f:be.infobox title="Unable to contact following Apache Solr servers:" state="2">
|
||||
<f:be.infobox title="Unable to contact following Meilisearch servers:" state="2">
|
||||
<ul>
|
||||
<f:for each="{missingHosts}" as="missingHost">
|
||||
<li>{missingHost}</li>
|
||||
@@ -102,7 +102,7 @@
|
||||
|
||||
<hr class="double" />
|
||||
|
||||
No solr server running? You can use <strong><a href="http://www.hosted-solr.com/" target="_blank">hosted-solr.com</a></strong> to setup a solr core with just a few clicks.
|
||||
No meilisearch server running? You can use <strong><a href="http://www.hosted-meilisearch.com/" target="_blank">hosted-meilisearch.com</a></strong> to setup a meilisearch core with just a few clicks.
|
||||
</f:section>
|
||||
|
||||
<f:section name="Statistics">
|
||||
@@ -129,7 +129,7 @@
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h2>
|
||||
<f:translate key="solr.backend.search_statistics_module.top_search_phrases"/>
|
||||
<f:translate key="meilisearch.backend.search_statistics_module.top_search_phrases"/>
|
||||
</h2>
|
||||
|
||||
<ul>
|
||||
@@ -149,7 +149,7 @@
|
||||
<div class="row section-with-header">
|
||||
<div class="col-md-12">
|
||||
<h2>
|
||||
<f:translate key="solr.backend.search_statistics_module.top_search_phrases_without_hits"/>
|
||||
<f:translate key="meilisearch.backend.search_statistics_module.top_search_phrases_without_hits"/>
|
||||
</h2>
|
||||
|
||||
<ul>
|
||||
@@ -168,7 +168,7 @@
|
||||
<div class="row section-with-header">
|
||||
<div class="col-md-12">
|
||||
<h2>
|
||||
<f:translate key="solr.backend.search_statistics_module.search_phrases_header"/>
|
||||
<f:translate key="meilisearch.backend.search_statistics_module.search_phrases_header"/>
|
||||
</h2>
|
||||
|
||||
<f:if condition="{search_phrases_statistics}">
|
||||
@@ -178,16 +178,16 @@
|
||||
<tr class="t3-row-header">
|
||||
<th class="nowrap"> </th>
|
||||
<th>
|
||||
<f:translate key="solr.backend.search_statistics_module.item_phrase"/>
|
||||
<f:translate key="meilisearch.backend.search_statistics_module.item_phrase"/>
|
||||
</th>
|
||||
<th>
|
||||
<f:translate key="solr.backend.search_statistics_module.item_count"/>
|
||||
<f:translate key="meilisearch.backend.search_statistics_module.item_count"/>
|
||||
</th>
|
||||
<th>
|
||||
<f:translate key="solr.backend.search_statistics_module.results"/>
|
||||
<f:translate key="meilisearch.backend.search_statistics_module.results"/>
|
||||
</th>
|
||||
<th>
|
||||
<f:translate key="solr.backend.search_statistics_module.percentage"/>
|
||||
<f:translate key="meilisearch.backend.search_statistics_module.percentage"/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -206,7 +206,7 @@
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:be.infobox state="2">
|
||||
<f:translate key="solr.backend.search_statistics_module.no_records_found"/>
|
||||
<f:translate key="meilisearch.backend.search_statistics_module.no_records_found"/>
|
||||
</f:be.infobox>
|
||||
</f:else>
|
||||
</f:if>
|
||||
@@ -232,7 +232,7 @@
|
||||
</div>
|
||||
<div id="collapse-core{iterator.index}" class="panel-collapse collapse {f:if(condition: '{iterator.isFirst}', then: 'in')}">
|
||||
<div class="panel-body">
|
||||
<f:render partial="Backend/ApacheSolr/FieldTypesForSingleCore" arguments="{indexFieldsInfoForCore: indexFieldsInfoForCore}"/>
|
||||
<f:render partial="Backend/ApacheMeilisearch/FieldTypesForSingleCore" arguments="{indexFieldsInfoForCore: indexFieldsInfoForCore}"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -309,18 +309,18 @@
|
||||
<f:comment>
|
||||
<!-- The additionalPrams M:'...' can be removed whe TYPO3 8 support will be dropped. -->
|
||||
</f:comment>
|
||||
<solr:backend.security.ifHasAccessToModule extension="Solr" main="searchbackend" sub="indexqueue">
|
||||
<meilisearch:backend.security.ifHasAccessToModule extension="Meilisearch" main="searchbackend" sub="indexqueue">
|
||||
<span class="btn btn-default">
|
||||
|
||||
<f:link.action action="requeueDocument" arguments="{uid: document.uid, type: document.type}"
|
||||
controller="Backend\Search\IndexQueueModule"
|
||||
pluginName="searchbackend_SolrIndexqueue"
|
||||
additionalParams="{M:'searchbackend_SolrIndexqueue',route: 'searchbackend_SolrIndexqueue'}" title="ReQueue for all languages">
|
||||
pluginName="searchbackend_MeilisearchIndexqueue"
|
||||
additionalParams="{M:'searchbackend_MeilisearchIndexqueue',route: 'searchbackend_MeilisearchIndexqueue'}" title="ReQueue for all languages">
|
||||
<core:icon identifier="actions-refresh" />
|
||||
</f:link.action>
|
||||
|
||||
</span>
|
||||
</solr:backend.security.ifHasAccessToModule>
|
||||
</meilisearch:backend.security.ifHasAccessToModule>
|
||||
</td>
|
||||
</tr>
|
||||
</f:for>
|
||||
|
Reference in New Issue
Block a user