Skip to content

Commit 3a3e823

Browse files
authored
Merge pull request #1653 from algolia/feat/MAGE-1074-queue-archive-documentation
MAGE-1074: Add documentation link on the queue archive page
2 parents 730edd8 + bdaa0be commit 3a3e823

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

view/adminhtml/layout/algolia_algoliasearch_queuearchive_index.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1-
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd">
1+
<?xml version="1.0"?>
2+
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
24
<update handle="styles"/>
35
<body>
46
<referenceContainer name="content">
7+
<block
8+
class="Magento\Backend\Block\Template"
9+
name="queuearchive_links"
10+
template="Algolia_AlgoliaSearch::queuearchive/links.phtml"
11+
/>
512
<uiComponent name="algolia_algoliasearch_queuearchive_listing"/>
613
</referenceContainer>
714
</body>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
/** @var \Magento\Backend\Block\Template $block */
3+
?>
4+
<div class="algolia-admin-content">
5+
<div class="algolia-admin-content-wrapper">
6+
<div class="algolia-admin-content-links">
7+
<p>
8+
<span>
9+
<img src="<?php echo $block->escapeUrl($block->getViewFileUrl('Algolia_AlgoliaSearch::images/icon-docs.svg')) ?>">
10+
<a target="_blank" href="https://www.algolia.com/doc/integration/magento-2/how-it-works/indexing-queue/#indexing-queue-archives"><?php echo $block->escapeHtml(__('Indexing queue archives documentation')) ?></a>
11+
</span>
12+
</p>
13+
</div>
14+
</div>
15+
</div>

0 commit comments

Comments
 (0)