Skip to content

Commit f2e9d8c

Browse files
authored
Update video links in admin (#850)
1 parent 3ec8829 commit f2e9d8c

File tree

3 files changed

+24
-5
lines changed

3 files changed

+24
-5
lines changed

ViewModel/Adminhtml/Common.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ class Common
4242
],
4343
'algoliasearch_synonyms' => [
4444
'title' => 'Notable features',
45-
'url' => 'https://www.youtube.com/watch?v=qzaLrHz67U4',
46-
'thumbnail' => 'https://img.youtube.com/vi/qzaLrHz67U4/mqdefault.jpg',
45+
'url' => 'https://www.youtube.com/watch?v=45NKJbrs1Z4',
46+
'thumbnail' => 'https://img.youtube.com/vi/45NKJbrs1Z4/mqdefault.jpg',
4747
],
4848
'algoliasearch_cc_analytics' => [
4949
'title' => 'Notable features',
50-
'url' => 'https://www.youtube.com/watch?v=qzaLrHz67U4',
51-
'thumbnail' => 'https://img.youtube.com/vi/qzaLrHz67U4/mqdefault.jpg',
50+
'url' => 'https://www.youtube.com/watch?v=45NKJbrs1Z4',
51+
'thumbnail' => 'https://img.youtube.com/vi/45NKJbrs1Z4/mqdefault.jpg',
5252
],
5353
];
5454

view/adminhtml/templates/merchandising/page.phtml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
11
<?php /** @var \Algolia\AlgoliaSearch\Block\Adminhtml\BaseAdminTemplate $block */ ?>
22
<?php /** @var \Algolia\AlgoliaSearch\ViewModel\Adminhtml\Merchandising\Page $viewModel */ ?>
33
<?php $viewModel = $block->getViewModel() ?>
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 $this->getViewFileUrl('Algolia_AlgoliaSearch::images/icon-docs.svg') ?>">
10+
<a target="_blank" href="https://www.algolia.com/doc/integration/magento-2/merchandising/visual-merchandising/?utm_source=magento&amp;utm_medium=extension&amp;utm_campaign=magento_2&amp;utm_term=shop-owner&amp;utm_content=doc-link">Merchandising features</a>
11+
</span>
12+
</p>
13+
</div>
14+
<div class="algolia-admin-content-videos">
15+
<p>
16+
<span>Related video:</span>
17+
<a target="_blank" href="https://www.youtube.com/watch?v=qrgmtMMxj6o"><img src="https://img.youtube.com/vi/qrgmtMMxj6o/mqdefault.jpg"></a>
18+
<a target="_blank" href="https://www.youtube.com/watch?v=qrgmtMMxj6o">Merchandising features</a>
19+
</p>
20+
</div>
21+
</div>
22+
</div>
423
<section class="algoliasearch-merchandising-options clearfix">
524
<div class="merchandising-item query-merchandising">
625
<div class="image-container">

view/adminhtml/web/css/merchandising.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
.algoliasearch-merchandising-options {
4949
max-width: 1400px;
50-
margin: 70px auto 75px;
50+
margin: 40px auto 75px;
5151
}
5252

5353
}

0 commit comments

Comments
 (0)