Dodanie nowych plików tłumaczeń, aktualizacja wersji modułu gm_omniprice do 1.2.0 oraz poprawki w kodzie i logach

This commit is contained in:
2025-01-30 15:50:33 +01:00
parent 3ae138b01d
commit 3753eb902b
25 changed files with 990 additions and 94 deletions

View File

@@ -1,13 +1,5 @@
.gm_omniprice {
margin-top: 5px;
display: inline-block;
padding: 5px 0;
font-weight: 300;
background: none !important;
color: #636363 !important;
font-size: 12px !important;
}
.gm_omniprice span {
color: #000 !important;
margin-top: 5px;
display: inline-block;
padding: 5px;
}

View File

@@ -1,4 +1,7 @@
<span class="gm_omniprice" style="color:{$gm_omniprice_color}; background-color: {$gm_omniprice_background};">
{l s='Lowest price within %d days before promotion:' sprintf=[$gm_omniprice_days] mod='gm_omniprice'}
<span class="gm_omniprice_lowest" style="color:{$gm_omniprice_price_color};">{$gm_omniprice_lowest}</span>
{if $gm_omniprice_show_real_discount && $gm_omniprice_real_discount}
<span class="gm_omniprice_real_discount">({$gm_omniprice_real_discount})</span>
{/if}
</span>

View File

@@ -6,14 +6,14 @@
<tr>
<th class="fixed-width-md"><span class="title_box">{l s='Date' mod='gm_omniprice'}</span></th>
<th class="fixed-width-md"><span class="title_box">{l s='Price' mod='gm_omniprice'}</span></th>
<th class="fixed-width-md"><span class="title_box">{l s='Promotion' mod='gm_omniprice'}</span></th>
<th class="fixed-width-md"><span class="title_box">{l s='Price type' mod='gm_omniprice'}</span></th>
</tr>
</thead>
{foreach from=$historyData item=historyItem}
<tr>
<td>{$historyItem.date}</td>
<td>{$historyItem.price_tin}</td>
<td>{if $historyItem.is_specific_price == '1'}{l s='Yes' mod='gm_omniprice'}{/if}{if $historyItem.is_specific_price == '0'}{l s='No' mod='gm_omniprice'}{/if}</td>
<td>{$historyItem.type}</td>
</tr>
{/foreach}
</table>