<?php
/* Smarty version 3.1.33, created on 2025-03-22 04:25:36
  from 'app:controllerstabauthorDashb' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_67de3bc085d423_85739824',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'fc32d36e7a4ad3303ec79e51951776442360a0aa' => 
    array (
      0 => 'app:controllerstabauthorDashb',
      1 => 1719763626,
      2 => 'app',
    ),
  ),
  'includes' => 
  array (
    'app:authorDashboard/reviewRoundTab.tpl' => 1,
  ),
),false)) {
function content_67de3bc085d423_85739824 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['submission']->value->getStageId() >= @constant('WORKFLOW_STAGE_ID_EXTERNAL_REVIEW') && !$_smarty_tpl->tpl_vars['reviewRounds']->value->wasEmpty()) {?>
	<?php $_smarty_tpl->_subTemplateRender("app:authorDashboard/reviewRoundTab.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('reviewRounds'=>$_smarty_tpl->tpl_vars['reviewRounds']->value,'reviewRoundTabsId'=>"externalReviewRoundTabs",'lastReviewRoundNumber'=>$_smarty_tpl->tpl_vars['lastReviewRoundNumber']->value), 0, false);
?>

	<!-- Display queries grid -->
	<?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'default', 'queriesGridUrl', null);
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['url'][0], array( array('router'=>@constant('ROUTE_COMPONENT'),'component'=>"grid.queries.QueriesGridHandler",'op'=>"fetchGrid",'submissionId'=>$_smarty_tpl->tpl_vars['submission']->value->getId(),'stageId'=>@constant('WORKFLOW_STAGE_ID_EXTERNAL_REVIEW'),'escape'=>false),$_smarty_tpl ) );
$_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
	<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['load_url_in_div'][0], array( array('id'=>"queriesGrid",'url'=>$_smarty_tpl->tpl_vars['queriesGridUrl']->value),$_smarty_tpl ) );?>

<?php } else { ?>
	<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0], array( array('key'=>"submission.stageNotInitiated"),$_smarty_tpl ) );?>

<?php }
}
}
