{* $Id$ *} {title help="Spreadsheet"}{$title}{/title}
{$description|escape}
{$msg}
{if $editconflict eq 'y' and $objectperms->edit_sheet} {remarksbox title='Edit Conflict Warning' type='warning'} {tr _0=$semUser|username}This sheet is already being edited by %0{/tr} {/remarksbox} {/if} {foreach from=$grid_content item=thisGrid}
{$thisGrid}
{/foreach}
{if $page} {button href="tiki-index.php" page="$page" _class="btn btn-primary me-1" _text="{tr}Back to Page{/tr}"} {/if} {if $tiki_p_view_sheet eq 'y' || $tiki_p_admin eq 'y'} {button href="tiki-sheets.php" _class="btn btn-info me-1" _text="{tr}List Spreadsheets{/tr}"} {/if}
{if $objectperms->edit_sheet} {jq notonready=true}var editSheetButtonLabel2="{tr}Cancel{/tr}";{/jq} {/if} {if $objectperms->edit_sheet} {button _id="save_button" _text="{tr}Save{/tr}" _htmlelement="role_main" _template="tiki-view_sheets.tpl" sheetId="$sheetId" _class="" _title="{tr}Tiki Sheet{/tr} | {tr}Save current spreadsheet{/tr}" _onclick="\$.sheet.saveSheet(\$.sheet.view);return false;"} {button _id="cancel_button" _text="{tr}Cancel{/tr}" _htmlelement="role_main" _template="tiki-view_sheets.tpl" sheetId="$sheetId" _class="" _title="{tr}Tiki Sheet{/tr} | {tr}Cancel editing current spreadsheet{/tr}"} {/if} {if $sheetId} {button _id="edit_button" _text="{tr}Edit{/tr}" _htmlelement="role_main" _template="tiki-view_sheets.tpl" parse="edit" _auto_args="*" _class=""} {if $parseValues eq 'y'} {if $parse eq 'y'} {button parse="n" _text="{tr}No parse{/tr}" _htmlelement="role_main" _template="tiki-view_sheets.tpl" sheetId="$sheetId" _auto_args="*"} {else} {button parse="y" _text="{tr}Parse{/tr}" _htmlelement="role_main" _template="tiki-view_sheets.tpl" sheetId="$sheetId" _auto_args="*"} {/if} {/if} {if $objectperms->view_sheet_history} {button href="tiki-history_sheets.php?sheetId=$sheetId" _text="{tr}History{/tr}"} {/if} {if $objectperms->view_sheet} {button href="tiki-export_sheet.php?sheetId=$sheetId" _text="{tr}Export{/tr}"} {/if} {if $objectperms->edit_sheet} {button href="tiki-import_sheet.php?sheetId=$sheetId" _text="{tr}Import{/tr}"} {/if} {if $chart_enabled eq 'y'} {button href="tiki-graph_sheet.php?sheetId=$sheetId" _text="{tr}Graph{/tr}"} {/if} {/if}
{if $objectperms->edit_sheet} {if $prefs.feature_contribution eq 'y'} {include file='contribution.tpl'} {/if} {/if}