{#if $T.d.length == 0}
You haven't defined any roles so far. To add a new role use the link in the top right corner of the page.
{#else} {#foreach $T.d as post} {#/for}
Roles  
{$T.post.RoleName}
{#/if}