From 468ce027a2b166d21e22ec7657fc06990ce86599 Mon Sep 17 00:00:00 2001 From: spiderr Date: Sat, 30 Jul 2022 21:39:19 -0400 Subject: migrate from font-awesome 3.2.1 icon- to 6.1.2 fa- --- templates/menu_stats.tpl | 6 +++--- templates/referrer_stats.tpl | 18 ++++++++---------- templates/referrer_stats_ctm_inc.tpl | 4 ++-- templates/user_stats.tpl | 2 +- 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/templates/menu_stats.tpl b/templates/menu_stats.tpl index cf7d6d3..230ccdb 100644 --- a/templates/menu_stats.tpl +++ b/templates/menu_stats.tpl @@ -2,13 +2,13 @@ {if $packageMenuTitle} {tr}{$packageMenuTitle}{/tr} {/if} {/strip} diff --git a/templates/referrer_stats.tpl b/templates/referrer_stats.tpl index 1067f98..6265ba2 100644 --- a/templates/referrer_stats.tpl +++ b/templates/referrer_stats.tpl @@ -18,11 +18,9 @@ - -
{assign var=refCount value=0} @@ -32,12 +30,12 @@ {assign var=totalReg value=$totalReg+$regCount} {assign var=hostHash value=$host|md5} - + - + {if $aggregateStats.$host} - - + + {/if} @@ -48,7 +46,7 @@ {foreach from=$aggregateStats.$host.values item=paramValues key=paramKey}
- + diff --git a/templates/referrer_stats_ctm_inc.tpl b/templates/referrer_stats_ctm_inc.tpl index bb30742..1a1b2be 100644 --- a/templates/referrer_stats_ctm_inc.tpl +++ b/templates/referrer_stats_ctm_inc.tpl @@ -2,8 +2,8 @@ - - + + diff --git a/templates/user_stats.tpl b/templates/user_stats.tpl index 8e60b44..89cf28e 100644 --- a/templates/user_stats.tpl +++ b/templates/user_stats.tpl @@ -24,7 +24,7 @@ [Referrers] {/if} - + {foreachelse} -- cgit v1.3
{booticon iname='icon-search' class="btn btn-default btn-sm" onclick="BitBase.toggleElementDisplay('`$hostHash`','table-row-group');"}{booticon iname='fa-magnifying-glass' class="btn btn-default btn-sm" onclick="BitBase.toggleElementDisplay('`$hostHash`','table-row-group');"}
 
{$host|escape}
[{math equation="round((x / y) * 100)" x=$reg|@count y=$totalRegistrations}% ] {booticon iname='icon-clock'}
[{math equation="round((x / y) * 100)" x=$reg|@count y=$totalRegistrations}% ] {booticon iname='fa-clock'}
{$reg|@count} {booticon iname="icon-user"}{$aggregateStats.$host.info.orders|default:"0"} {booticon iname="icon-shopping-cart"}{$reg|@count} {booticon iname="fa-user"}{$aggregateStats.$host.info.orders|default:"0"} {booticon iname="fa-cart-shopping"} {$gCommerceCurrencies->format($aggregateStats.$host.info.revenue|default:"0.00")}
User{booticon iname="icon-shopping-cart"}{booticon iname="fa-cart-shopping"} Revenue
{$tableHash.info.title|default:"unknown"}{$tableHash.info.users|count|default:"0"} {booticon iname="icon-user"}{$tableHash.info.orders|default:"0"} {booticon iname="icon-shopping-cart"}{$tableHash.info.users|count|default:"0"} {booticon iname="fa-user"}{$tableHash.info.orders|default:"0"} {booticon iname="fa-cart-shopping"} {$gCommerceCurrencies->format($tableHash.info.revenue)}
{booticon iname="icon-user"} {$reg}
{booticon iname="fa-user"} {$reg}