{if $prj_id == ''} {t}This page can only be accessed in relation to a project. Please go to the project page and choose{/t} "{t}Edit Columns to Display{/t}" {t}to access this page.{/t}
{t}Manage Projects{/t}
{else}
{if $result != ""} {/if} {assign var=default_rank value=1} {foreach from=$available item=column key=field_name} {cycle values=$cycle assign="row_color"} {assign var=default_rank value=$default_rank+1} {/foreach}
{t}Manage Columns to Display{/t} {include file="help_link.tpl.html" topic="column_display"} ({t}Current Project{/t}: {$project_name})
{if $result == -1} {t}An error occurred while trying to save columns to display.{/t} {elseif $result == 1} {t}Thank you, columns to display was saved successfully.{/t} {/if}
{t}Column Name{/t} {t}Minimum Role{/t} {t}Order{/t}
{$column.title} {if $selected[$field_name].min_role == ''} {assign var="selected_role" value=$column.default_role} {else} {assign var="selected_role" value=$selected[$field_name].min_role} {/if} {if $selected[$field_name].rank == ''} {assign var=selected_rank value=$default_rank} {else} {assign var=selected_rank value=$selected[$field_name].rank} {/if}
{/if}