To much zero in stats

Status: Finished
Branch: https://gitlab.com/joomleague/joomleague/tree/1.6.0

Moderator: And_One

User avatar
tranceRoller
Donator
Donator
Posts: 30
Joined: Wed Sep 21, 2011 9:01 pm

To much zero in stats

Postby tranceRoller » Mon Apr 02, 2012 9:49 pm

Hello, everyone!
It is so painfull to me see stats with hundreds of zero. I suggest to create something like that:
Image
Or, to make option in backend to choose yourown symbol.
What do you think about that?
www.ogres-turnirs.lv -> JoomLeague 1.5.2

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: To much zero in stats

Postby timoline » Tue Apr 03, 2012 6:13 am

We had it like this or with a "-" , in the past, but we didnt liked it, so decided (because its a number) we use the "0" everywhere
Maybe its not so painfull if you use some nice css ;)
Joomla 1.5.x
Joomleague 1.5.....latest git version

User avatar
tranceRoller
Donator
Donator
Posts: 30
Joined: Wed Sep 21, 2011 9:01 pm

Re: To much zero in stats

Postby tranceRoller » Tue Apr 03, 2012 7:28 am

Okay :whistling:
www.ogres-turnirs.lv -> JoomLeague 1.5.2

abailey
Newbie
Posts: 3
Joined: Sat Oct 22, 2011 11:32 pm
Joomleague version: 0.93x

Re: To much zero in stats

Postby abailey » Fri May 11, 2012 3:17 pm

I too agree with this, although I can live with the zeros I do think it looked better with a "-" in place.

Perhaps this could be an option in a future release?
http://www.eplicehockey.net -> Joomla 1.5.26 + JoomLeague 0.93b
http://www.honeybadgers.co.uk -> Joomla 1.5.26 + JoomLeague 1.6.0
http://www.coventrychaos.co.uk -> Joomla 1.5.26 + JoomLeague 0.93b

matrixmarcin
Newbie
Posts: 1
Joined: Thu May 26, 2011 9:45 pm

Re: To much zero in stats

Postby matrixmarcin » Tue May 29, 2012 7:33 pm

Edit:
joomla/components/com_joomleague/views/roster/tmpl/default_players.php

Search: (line 387)

Code: Select all

echo ($stat !='' && $stat > 0) ? number_format($stat, 0, '', '.') : 0;


replace the

Code: Select all

echo ($stat !='' && $stat > 0) ? number_format($stat, 0, '', '.') : "-";


Return to “1.6.0-nathalie (Joomla: 1.5.x) - not supported”

Who is online

Users browsing this forum: No registered users and 2 guests

cron