{literal} {/literal} {if $smarty.get.cat == 'edit'} {else} {/if} {if $result != ""} {/if}
{t}Manage Releases{/t} ({t}Current Project:{/t} {$project.prj_title})
{if $smarty.post.cat == "new"} {if $result == -1} {t}An error occurred while trying to add the new release.{/t} {elseif $result == -2} {t}Please enter the title for this new release.{/t} {elseif $result == 1} {t}Thank you, the release was added successfully.{/t} {/if} {elseif $smarty.post.cat == "update"} {if $result == -1} {t}An error occurred while trying to update the release information.{/t} {elseif $result == -2} {t}Please enter the title for this release.{/t} {elseif $result == 1} {t}Thank you, the release was updated successfully.{/t} {/if} {/if}
{t}Title:{/t} {include file="error_icon.tpl.html" field="title"}
{t}Tentative Date:{/t} {html_select_date field_array="scheduled_date" prefix="" time=$info.pre_scheduled_date start_year="-10" end_year="+10" all_extra='class="default"'}
{t}Status:{/t}
{if $smarty.get.cat == 'edit'} {else} {/if}
{t}Existing Releases:{/t}
{literal} {/literal} {section name="i" loop=$list} {cycle values=$cycle assign="row_color"} {sectionelse} {/section}
 {t}Title{/t}  {t}Tentative Date{/t}  {t}Status{/t}
 {$list[i].pre_title}  {$list[i].pre_scheduled_date}  {$list[i].pre_status}
{t}No releases could be found.{/t}