Features: None;
Fixes: None; Extra: 1) Remove redundant comments from `_kpis.html`; 2) Exclude unused `_income_overview.html` include from `index.html`; 3) Comment out GA/Yandex/Ads integration placeholder in `_filters.html`.
This commit is contained in:
parent
5962fb1145
commit
d891000b19
3 changed files with 3 additions and 14 deletions
|
|
@ -15,8 +15,8 @@
|
|||
<a href="?tf=360"
|
||||
class="px-3 py-1 rounded-full text-sm border transition-colors {% if cur == 360 %} bg-gray-900 text-white dark:bg-white dark:text-gray-900 border-transparent {% else %} border-gray-300 dark:border-gray-700 hover:bg-gray-100 dark:hover:bg-gray-800 {% endif %}">360d</a>
|
||||
{% endwith %}
|
||||
<div class="ml-auto text-xs text-gray-400">
|
||||
{% trans "TODO: Integrate GA/Yandex.Metrica & Ads metrics" %}
|
||||
</div>
|
||||
{# <div class="ml-auto text-xs text-gray-400">#}
|
||||
{# TODO: Integrate GA/Yandex.Metrica & Ads metrics#}
|
||||
{# </div>#}
|
||||
</div>
|
||||
{% endcomponent %}
|
||||
|
|
|
|||
|
|
@ -1,12 +1,6 @@
|
|||
{% load i18n unfold %}
|
||||
|
||||
{#
|
||||
KPI cards (mobile-first): GMV, Orders, AOV, Net revenue, Refund rate
|
||||
Uses `kpi` dict and `currency_symbol` provided by dashboard_callback
|
||||
#}
|
||||
|
||||
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 gap-4 mb-4">
|
||||
{# GMV #}
|
||||
{% component "unfold/components/card.html" %}
|
||||
<div class="flex items-start justify-between">
|
||||
{% component "unfold/components/text.html" %}{% trans "GMV" %} ({{ tf|default:30 }}d){% endcomponent %}
|
||||
|
|
@ -21,7 +15,6 @@
|
|||
{% endcomponent %}
|
||||
{% endcomponent %}
|
||||
|
||||
{# Orders #}
|
||||
{% component "unfold/components/card.html" %}
|
||||
<div class="flex items-start justify-between">
|
||||
{% component "unfold/components/text.html" %}{% trans "Orders" %} ({{ tf|default:30 }}d){% endcomponent %}
|
||||
|
|
@ -36,7 +29,6 @@
|
|||
{% endcomponent %}
|
||||
{% endcomponent %}
|
||||
|
||||
{# AOV #}
|
||||
{% component "unfold/components/card.html" %}
|
||||
<div class="flex items-start justify-between">
|
||||
{% component "unfold/components/text.html" %}{% trans "AOV" %} ({{ tf|default:30 }}d){% endcomponent %}
|
||||
|
|
@ -51,7 +43,6 @@
|
|||
{% endcomponent %}
|
||||
{% endcomponent %}
|
||||
|
||||
{# Net revenue #}
|
||||
{% component "unfold/components/card.html" %}
|
||||
<div class="flex items-start justify-between">
|
||||
{% component "unfold/components/text.html" %}{% trans "Net revenue" %} ({{ tf|default:30 }}d){% endcomponent %}
|
||||
|
|
@ -66,7 +57,6 @@
|
|||
{% endcomponent %}
|
||||
{% endcomponent %}
|
||||
|
||||
{# Refund rate #}
|
||||
{% component "unfold/components/card.html" %}
|
||||
<div class="flex items-start justify-between">
|
||||
{% component "unfold/components/text.html" %}{% trans "Refund rate" %} ({{ tf|default:30 }}d){% endcomponent %}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@
|
|||
<div class="xl:col-span-2">
|
||||
{% include "admin/dashboard/_daily_sales.html" %}
|
||||
</div>
|
||||
{% include "admin/dashboard/_income_overview.html" %}
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mt-6">
|
||||
|
|
|
|||
Loading…
Reference in a new issue