Files
prestashop/tools/profiling/templates/functions/total-querying-time.tpl

14 lines
383 B
Smarty
Raw Normal View History

{**
* For the full copyright and license information, please view the
* docs/licenses/LICENSE.txt file that was distributed with this source code.
*}
{function name=total_querying_time}
{if $data >= 100}
<span class="danger">{$data}</span>
{elseif $data >= 50}
<span class="warning">{$data}</span>
{else}
<span class="success">{$data}</span>
{/if}
{/function}