Skip to content

Commit

Permalink
add pro blocks links.
Browse files Browse the repository at this point in the history
  • Loading branch information
PrestaSafe committed Aug 16, 2024
1 parent ef5d24f commit 2f6bede
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion _dev/src/components/LeftPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@ const deleteAllBlocks = async () => {
Made with ❤️ by
<a class="text-indigo" href="https://www.prestasafe.com" target="_blank"
>PrestaSafe</a
>
><br />
<a href="https://prettyblocks.io/pro" class="text-red-500" target="_blank">{{ trans('get_pro') }}</a>
</div>
</div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion _dev/src/components/Modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ const getBlocksAvailable = () => {
<Block v-for="block in filteredBlocks" :key="block.code" :icon_path="block.icon_path" :name="block.name" :icon="block.icon" :description="block.description" :code="block.code" />
</div>
<!-- Footer -->
<div class="flex items-center justify-end p-5 border-t border-solid border-slate-200">
<div class="flex items-center justify-between p-5 border-t border-solid border-slate-200">
<a href="https://prettyblocks.io/pro" class="text-red-500" target="_blank">{{ trans('get_pro') }}</a>
<button
class="text-indigo bg-transparent border border-solid border-indigo hover:bg-indigo hover:text-white active:bg-indigo font-bold uppercase text-sm px-6 py-3 rounded outline-none focus:outline-none ease-linear transition-all duration-150"
type="button" v-on:click="toggleModal()">
Expand Down
1 change: 1 addition & 0 deletions src/Controller/AdminThemeManagerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ public function indexAction()
'element_added' => $translator->trans('Element added successfully', [], 'Modules.Prettyblocks.Admin'),
'error_console' => $translator->trans('An error occurred while processing your request', [], 'Modules.Prettyblocks.Admin'),
'duplicate_state_error' => $translator->trans('An error occurred while duplicating the element', [], 'Modules.Prettyblocks.Admin'),
'get_pro' => $translator->trans('Get Pro Blocks', [], 'Modules.Prettyblocks.Admin'),
],
'security_app' => [
'ajax_token' => \Configuration::getGlobalValue('_PRETTYBLOCKS_TOKEN_'),
Expand Down

0 comments on commit 2f6bede

Please sign in to comment.