{extends "layout_view.tpl"} {block name="title"} {title}{$title}{/title} {/block} {block name="content"} {foreach $list as $goal} {foreachelse} {/foreach}
{tr}Goal{/tr} {tr}Eligible Groups{/tr} {tr}Actions{/tr}
{$goal.name|escape} {if $goal.type eq 'group'} {tr}Group{/tr} {/if}
{$goal.description|escape}
    {foreach $goal.eligible as $groupName}
  • {$groupName|escape}
  • {foreachelse}
  • {tr}No eligible groups!{/tr}
  • {/foreach}
{icon name="edit"} {tr}Modify{/tr} {permission_link mode=text type=goal id=$goal.goalId title=$goal.name} {icon name="delete"} {tr}Delete{/tr}
{tr}No goals configured yet!{/tr}
{tr}Create Goal{/tr} {/block}