fix(main): To-do point #4 done

4.) Instead of mod='ws_giftdropdown' say d='Admin.Modules.ws_giftdropdown'
This commit is contained in:
2026-06-22 10:54:39 +02:00
parent 45f14ca0bd
commit 3f9a14373d
3 changed files with 6 additions and 8 deletions
-2
View File
@@ -55,6 +55,4 @@ Todo:
```
4.) Instead of mod='ws_giftdropdown' say d='Admin.Modules.ws_giftdropdown'
5.) Make paper choice an entity
+4 -4
View File
@@ -5,16 +5,16 @@
<div class="panel">
<div class="panel-heading">
<i class="icon-gift"></i>
{l s='Gift Paper Options' mod='ws_giftdropdown'}
{l s='Gift Paper Options' d='Modules.ws_giftdropdown'}
</div>
<div class="panel-body">
<p class="help-block">
{l s='Enter one paper style per line. These options will appear as radio buttons in the checkout when the customer selects gift wrapping.' mod='ws_giftdropdown'}
{l s='Enter one paper style per line. These options will appear as radio buttons in the checkout when the customer selects gift wrapping.' d='Admin.Modules.ws_giftdropdown'}
</p>
<form method="post" action="{$form_action|escape:'htmlall':'UTF-8'}">
<div class="form-group">
<label for="gift_options" class="control-label">
{l s='Paper styles (one per line)' mod='ws_giftdropdown'}
{l s='Paper styles (one per line)' d='Modules.ws_giftdropdown'}
</label>
<textarea
id="gift_options"
@@ -27,7 +27,7 @@
<div class="panel-footer">
<button type="submit" name="submitWsGiftDropdown" class="btn btn-default pull-right">
<i class="process-icon-save"></i>
{l s='Save' mod='ws_giftdropdown'}
{l s='Save' d='Modules.ws_giftdropdown'}
</button>
</div>
</form>
+2 -2
View File
@@ -1,11 +1,11 @@
<div class="panel" id="ws-gift-panel" data-paper-choice="{$gift_paper_choice|escape:'htmlall':'UTF-8'}">
<div class="panel-heading">
<i class="icon-gift"></i>
{l s='Gift wrapping' mod='ws_giftdropdown'}
{l s='Gift wrapping' d='Modules.ws_giftdropdown'}
</div>
<div class="panel-body">
<dl class="list-unstyled">
<dt>{l s='Paper style' mod='ws_giftdropdown'}</dt>
<dt>{l s='Paper style' d='Modules.ws_giftdropdown'}</dt>
<dd><strong>{$gift_paper_choice|escape:'htmlall':'UTF-8'}</strong></dd>
</dl>
</div>