{title help="Spreadsheet"}{tr}Spreadsheet History:{/tr} {$title}{/title}
{$description|escape}
{tabset} {if not $grid_content eq ''} {tab name="{tr}View{/tr}"}

{tr}View{/tr}

{section name=date loop=$grid_content} {/section} {section name=date loop=$grid_content} {/section} {section name=date loop=$grid_content} {/section} {section name=date loop=$grid_content} {/section}
{pagination_links cant=$ver_cant itemname="{tr}Sheet{/tr}" offset_arg="idx_{$smarty.section.date.index}" offset=$sheetIndexes[$smarty.section.date.index] show_numbers=n}{/pagination_links}
Revision: {$history[$sheetIndexes[$smarty.section.date.index]].prettystamp}
{$grid_content[$smarty.section.date.index]}
{button _keepall='y' href="tiki-view_sheets.php" sheetId=$sheetId readdate=$history[$sheetIndexes[$smarty.section.date.index]].stamp parse="y" class="view_button" _text="{tr}View{/tr}" _htmlelement="role_main" _title="{tr}View{/tr}"} {button _keepall='y' href="tiki-view_sheets.php" sheetId=$sheetId readdate=$history[$sheetIndexes[$smarty.section.date.index]].stamp parse="clone" class="clone_button" _text="{tr}Clone{/tr}" _htmlelement="role_main" _title="{tr}Clone{/tr}"} {button _keepall='y' href="tiki-view_sheets.php" sheetId=$sheetId readdate=$history[$sheetIndexes[$smarty.section.date.index]].stamp parse="rollback" class="rollback_button" _text="{tr}Roll back{/tr}" _htmlelement="role_main" _title="{tr}Roll back{/tr}"}
{/tab} {/if} {tab name="{tr}Date Selection{/tr}"}

{tr}Date Selection{/tr}

{section name=revision_date loop=$history} {/section}
{tr}Edit Date{/tr} {tr}User{/tr} {tr}Actions{/tr}
{$history[revision_date].prettystamp} {$history[revision_date].user} {tr}View{/tr} | {tr}Clone{/tr} | {tr}Roll back{/tr}
{/tab} {/tabset}