Fixing issue #731 (#754)

* Fixing issue #731, if NB_PHOTOS is upper than 1000 display it

* Fixs issue #731 now number of picture between 1000 and 1999 are displayed

* Fixs formatting
This commit is contained in:
MaximeBOURMAUD
2017-09-04 14:23:50 +02:00
committed by Pierrick Le Gall
parent d4487be684
commit 2c07301467
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ div.stat-box {
{if $NB_PHOTOS > 1}
<a class="stat-box" href="{$U_ADD_PHOTOS}">
<i class="icon-picture"></i>
<span class="number">{$NB_PHOTOS}</span><span class="caption">{'Photos'|translate}</span>
<span class="number">{$NB_PHOTOS|number_format}</span><span class="caption">{'Photos'|translate}</span>
</a>
{/if}