Modified:Displaying photos count only when photos are enabled

This commit is contained in:
Awais-cb 2018-06-25 12:01:02 +05:00
parent f9b9f72c11
commit 8b884b4139

View file

@ -189,11 +189,13 @@
<br>
<span class="line-height-1 smaller-90 new1"> {lang code='Videos'} </span>
</button>
{if $Cbucket->configs['photosSection']==yes}
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
<span class="line-height-1 bigger-170 blue">{$user.total_photos}</span>
<br>
<span class="line-height-1 smaller-90 new1"> {lang code="photos"} </span>
</span>
{/if}
<span class="btn btn-primary new1" style="background-color: #000000;color: #ffffff">
<span class="line-height-1 bigger-170 blue">{$user.num_visits|number_format}</span>
<br>