numbered lists

This commit is contained in:
n 2015-09-28 22:52:39 +02:00
parent df0f7a5186
commit 2e5eb294fe

View file

@ -21,19 +21,19 @@
{topartists userid=$me->uniqueid limit=10} {topartists userid=$me->uniqueid limit=10}
<h3>Top Artists</h3> <h3>Top Artists</h3>
<ul> <ol>
{section name=i loop=$topartists} {section name=i loop=$topartists}
<li>{$topartists[i].name} {$topartists[i].plays}</li> <li>{$topartists[i].name} {$topartists[i].plays}</li>
{/section} {/section}
</ul> </ol>
{toptracks userid=$me->uniqueid limit=10} {toptracks userid=$me->uniqueid limit=10}
<h3>Top Tracks</h3> <h3>Top Tracks</h3>
<ul> <ol>
{section name=i loop=$toptracks} {section name=i loop=$toptracks}
<li>{$toptracks[i].artist} - {$toptracks[i].name} {$toptracks[i].plays}</li> <li>{$toptracks[i].artist} - {$toptracks[i].name} {$toptracks[i].plays}</li>
{/section} {/section}
</ul> </ol>
{if !empty($lovedArtists)} {if !empty($lovedArtists)}
<br /> <br />