{/literal} {if $smarty.get.cat == 'edit'} {else} {/if} {if $result != ""} {/if}
{t}Manage Round Robin Assignments{/t}
{if $smarty.post.cat == "new"} {if $result == -1} {t}An error occurred while trying to add the round robin entry.{/t} {elseif $result == -2} {t}Please enter the title for this round robin entry.{/t} {elseif $result == -3} {t}Please enter the message for this round robin entry.{/t} {elseif $result == 1} {t}Thank you, the round robin entry was added successfully.{/t} {/if} {elseif $smarty.post.cat == "update"} {if $result == -1} {t}An error occurred while trying to update the round robin entry information.{/t} {elseif $result == -2} {t}Please enter the title for this round robin entry.{/t} {elseif $result == -3} {t}Please enter the message for this round robin entry.{/t} {elseif $result == 1} {t}Thank you, the round robin entry was updated successfully.{/t} {/if} {/if}
{t}Project:{/t} {if $info.prr_prj_id != ''} {assign var=project value=$info.prr_prj_id} {else} {assign var=project value=$smarty.request.prj_id} {/if} {include file="error_icon.tpl.html" field="project"}
{t}Assignable Users:{/t} {include file="error_icon.tpl.html" field="users[]"}
{t}Blackout Time Range:{/t}
{t}Start{/t}: {html_select_time minute_interval=5 time=$info.prr_blackout_start field_array="blackout_start" prefix="" display_seconds=false all_extra="class='default'"}
{t}End{/t}: {html_select_time minute_interval=5 time=$info.prr_blackout_end field_array="blackout_end" prefix="" display_seconds=false all_extra="class='default'"}
{if $smarty.get.cat == 'edit'} {else} {/if}
{t}Existing Round Robin Entries:{/t}
{literal} {/literal} {section name="i" loop=$list} {cycle values=$cycle assign="row_color"} {sectionelse} {/section}
 {t}Project{/t}  {t}Assignable Users{/t}
 {$list[i].prj_title}  {$list[i].users|escape:"html"}
{t}No round robin entries could be found.{/t}