1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-18 02:41:27 +02:00

Flextype Admin Plugin: Snippets fixes #154

This commit is contained in:
Awilum
2019-06-18 16:14:10 +03:00
parent de756b456f
commit e537c022ff

View File

@@ -64,7 +64,7 @@
<div class="modal-body">
<label for="shortcode">{{ tr('admin_shortcode') }}</label>
<div class="alert alert-dark clipboard" role="alert">
<span id="snippet">[snippet fetch="<span class="js-snippets-snippet-placeholder"></span>"]</span>
<span id="snippet">[snippets_fetch id="<span class="js-snippets-snippet-placeholder"></span>"]</span>
<button class="js-clipboard-btn btn" data-clipboard-target="#snippet">
{{ tr('admin_copy') }}
</button>
@@ -72,7 +72,7 @@
<br>
<label for="template_code">{{ tr('admin_template_code') }}</label>
<div id="template_code" class="alert alert-dark clipboard" role="alert">
<span id="html">&lcub;&lcub; snippet('<span class="js-snippets-php-placeholder"></span>') &rcub;&rcub;</span>
<span id="html">&lcub;&lcub; snippets_exec('<span class="js-snippets-php-placeholder"></span>') &rcub;&rcub;</span>
<button class="js-clipboard-btn btn" data-clipboard-target="#html">
{{ tr('admin_copy') }}
</button>