Commit 569ff7fc authored by Jerome Mariette's avatar Jerome Mariette
Browse files

delete all french from pi1

parent 5afd3f74
......@@ -209,12 +209,6 @@ class tx_nG6_pi1 extends tslib_pibase {
$smarty->assign('h_project_analysis', tx_nG6_utils::trace_hierarchy($project_analysis));
$smarty->assign('project_analysis', $project_analysis);
}
if (isset($this->LOCAL_LANG[$this->LLkey]) && count($this->LOCAL_LANG[$this->LLkey]) > 0) {
$smarty->assign('llang', $this->LOCAL_LANG[$this->LLkey]);
} else {
$smarty->assign('llang', $this->LOCAL_LANG['default']);
}
return $smarty->fetch('project_view.tpl');
}
......@@ -278,12 +272,7 @@ class tx_nG6_pi1 extends tslib_pibase {
}
$smarty->assign('h_run_analysis', tx_nG6_utils::trace_hierarchy($run_analysis));
$smarty->assign('run_analysis', $run_analysis);
}
if (isset($this->LOCAL_LANG[$this->LLkey]) && count($this->LOCAL_LANG[$this->LLkey]) > 0) {
$smarty->assign('llang', $this->LOCAL_LANG[$this->LLkey]);
} else {
$smarty->assign('llang', $this->LOCAL_LANG['default']);
}
}
return $smarty->fetch('run_view.tpl');
}
......
This diff is collapsed.
......@@ -17,107 +17,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div id="user_information_dialog" title=""></div>
<div id="error_dialog" title=""></div>
<input type="hidden" id="cancel_btn_label" value="{$llang.cancel_btn_label}" />
<input type="hidden" id="ok_btn_label" value="{$llang.ok_btn_label}" />
<input type="hidden" id="yes_btn_label" value="{$llang.yes_btn_label}" />
<input type="hidden" id="no_btn_label" value="{$llang.no_btn_label}" />
<input type="hidden" id="add_btn_label" value="{$llang.add_btn_label}" />
<input type="hidden" id="close_btn_label" value="{$llang.close_btn_label}" />
<input type="hidden" id="confirmation_dialog_title" value="{$llang.confirmation_dialog_title}" />
<input type="hidden" id="information_error_title" value="{$llang.information_error_title}" />
<input type="hidden" id="hide_dialog_title" value="{$llang.hide_dialog_title}" />
<input type="hidden" id="hide_confirmation_msg" value="{$llang.hide_confirmation_msg}" />
<input type="hidden" id="unhide_dialog_title" value="{$llang.unhide_dialog_title}" />
<input type="hidden" id="unhide_confirmation_msg" value="{$llang.unhide_confirmation_msg}" />
<input type="hidden" id="information_error_msg" value="{$llang.information_error_msg}" />
<input type="hidden" id="create_new_user_dialog_msg" value="{$llang.create_new_user_dialog_msg}" />
<input type="hidden" id="information_dialog_zero_check" value="{$llang.information_dialog_zero_check}" />
<input type="hidden" id="delete_confirmation_msg" value="{$llang.delete_confirmation_msg}" />
<input type="hidden" id="deleting_dialog_msg" value="{$llang.deleting_dialog_msg}" />
<input type="hidden" id="delete_authentication_dialog_msg" value="{$llang.delete_authentication_dialog_msg|replace:'###SPAN_SERVER###':$server_name}" />
<input type="hidden" id="empty_form_btn_label" value="{$llang.empty_form_btn_label}" />
<input type="hidden" id="error_dialog_first_name" value="{$llang.error_dialog_first_name}" />
<input type="hidden" id="error_dialog_last_name" value="{$llang.error_dialog_last_name}" />
<input type="hidden" id="error_dialog_user_name" value="{$llang.error_dialog_user_name}" />
<input type="hidden" id="error_dialog_empty_group" value="{$llang.error_dialog_empty_group}" />
<input type="hidden" id="error_dialog_already_access" value="{$llang.error_dialog_already_access}" />
<input type="hidden" id="error_dialog_new_member_ok" value="{$llang.error_dialog_new_member_ok}" />
<input type="hidden" id="error_dialog_empty_email" value="{$llang.error_dialog_empty_email}" />
<input type="hidden" id="error_dialog_empty_password" value="{$llang.error_dialog_empty_password}" />
<input type="hidden" id="user_login" value="{$llang.user_login}" />
<input type="hidden" id="error_dialog_username_exist" value="{$llang.error_dialog_username_exist}" />
<input type="hidden" id="error_dialog_email_exist" value="{$llang.error_dialog_email_exist}" />
<input type="hidden" id="add_user_email" value="{$llang.add_user_email}" />
<input type="hidden" id="add_user_title" value="{$llang.add_user_title}" />
<input type="hidden" id="create_user_email" value="{$llang.create_user_email}" />
<input type="hidden" id="create_user_title" value="{$llang.create_user_title}" />
<input type="hidden" id="send_an_email" value="{$llang.send_an_email}" />
<input type="hidden" id="server_name" value="{$server_name}" />
<input type="hidden" id="from_email" value="{$from_email}" />
<input type="hidden" id="user_id" value="{$user_id}" />
<input type="hidden" id="pid" value="{$pid}" />
<input type="hidden" id="user_name" value="{$llang.user_name}" />
<input type="hidden" id="user_last_name" value="{$llang.last_name}" />
<input type="hidden" id="user_first_name" value="{$llang.first_name}" />
<input type="hidden" id="user_email" value="{$llang.email}" />
<input type="hidden" id="user_right" value="{$llang.right}" />
<input type="hidden" id="user_password" value="{$llang.password}" />
<input type="hidden" id="user_group" value="{$llang.group}" />
<input type="hidden" id="deleting_dialog_title" value="{$llang.deleting_dialog_title}" />
<input type="hidden" id="delete_success_msg" value="{$llang.delete_success_msg}" />
<input type="hidden" id="delete_dialog_rigth_error" value="{$llang.delete_dialog_rigth_error}" />
<input type="hidden" id="delete_dialog_authentification_error" value="{$llang.delete_dialog_authentification_error}" />
<input type="hidden" id="delete_dialog_connection_error" value="{$llang.delete_dialog_connection_error}" />
<input type="hidden" id="add_user_dialog_title" value="{$llang.add_user_dialog_title}" />
<input type="hidden" id="publish_dialog_title" value="{$llang.publish_dialog_title}" />
<input type="hidden" id="publish_confirmation_msg" value="{$llang.publish_confirmation_msg}" />
<input type="hidden" id="unpublish_dialog_title" value="{$llang.unpublish_dialog_title}" />
<input type="hidden" id="unpublish_confirmation_msg" value="{$llang.unpublish_confirmation_msg}" />
<input type="hidden" id="DataTables_length_menu" value="{$llang.DataTables_length_menu}" />
<input type="hidden" id="DataTables_zero_records" value="{$llang.DataTables_zero_records}" />
<input type="hidden" id="DataTables_info" value="{$llang.DataTables_info}" />
<input type="hidden" id="DataTables_info_empty" value="{$llang.DataTables_info_empty}" />
<input type="hidden" id="DataTables_info_filtered" value="{$llang.DataTables_info_filtered}" />
<input type="hidden" id="DataTables_search" value="{$llang.DataTables_search}" />
<input type="hidden" id="DataTables_pagination_first" value="{$llang.DataTables_pagination_first}" />
<input type="hidden" id="DataTables_pagination_last" value="{$llang.DataTables_pagination_last}" />
<input type="hidden" id="DataTables_pagination_next" value="{$llang.DataTables_pagination_next}" />
<input type="hidden" id="DataTables_pagination_previous" value="{$llang.DataTables_pagination_previous}" />
<input type="hidden" id="Jeditable_dblClickTitle" value="{$llang.Jeditable_dblClickTitle}" />
<input type="hidden" id="Datepicker_closeText" value="{$llang.Datepicker_closeText}" />
<input type="hidden" id="Datepicker_prevText" value="{$llang.Datepicker_prevText}" />
<input type="hidden" id="Datepicker_nextText" value="{$llang.Datepicker_nextText}" />
<input type="hidden" id="Datepicker_currentText" value="{$llang.Datepicker_currentText}" />
<input type="hidden" id="Datepicker_monthNames" value="{$llang.Datepicker_monthNames}" />
<input type="hidden" id="Datepicker_monthNamesShort" value="{$llang.Datepicker_monthNamesShort}" />
<input type="hidden" id="Datepicker_dayNames" value="{$llang.Datepicker_dayNames}" />
<input type="hidden" id="Datepicker_dayNamesShort" value="{$llang.Datepicker_dayNamesShort}" />
<input type="hidden" id="Datepicker_dayNamesMin" value="{$llang.Datepicker_dayNamesMin}" />
<input type="hidden" id="Datepicker_weekHeader" value="{$llang.Datepicker_weekHeader}" />
<input type="hidden" id="data_folder" value="{$data_folder}" />
<input type="hidden" id="view" value="project" />
<input type="hidden" id="ids" value="{$project_ids}" />
<input type="hidden" id="right_level_admin" value="{$llang.right_level_admin}" />
<input type="hidden" id="right_level_manager" value="{$llang.right_level_manager}" />
<input type="hidden" id="right_level_member" value="{$llang.right_level_member}" />
<input type="hidden" id="multi_user_delete" value="{$llang.multi_user_delete}" />
<input type="hidden" id="single_user_delete" value="{$llang.single_user_delete}" />
{* If no project can be displayed *}
{if $projects|@count == 0 || ($projects|@count == 1 && $projects[key($projects)].hidden == 1 && !$projects[key($projects)].is_admin)}
{$llang.no_raw}
Sorry no results to display
{* If a single project has to be displayed *}
{elseif $projects|@count == 1}
......@@ -125,21 +36,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<input type="hidden" id="is_project_admin" value="{$projects[key($projects)].is_admin}" />
<div class="project">
<h2>{$llang.project} {$projects[key($projects)].name} :</h2>
<h2>Project {$projects[key($projects)].name} :</h2>
<p><strong>{$projects[key($projects)].description}</strong> <br />
{(($llang.run_analysis_project_desc|replace:"###PROJECT_NAME###":$projects[key($projects)].name)|replace:"###NB_RUN###":($project_runs|@count))|replace:"###NB_ANALYSIS###":($project_analysis|@count)}
{$project_runs|@count} run(s) and {$project_analysis|@count} analyse(s) have been done on the run {$projects[key($projects)].name}.
<br />
{assign var="project_size" value="<span id='size' class='tx-nG6-mini-wait'></span>"}
{($llang.project_desc|replace:"###PROJECT_SIZE###":"<strong>###PROJECT_SIZE###</strong>")|replace:"###PROJECT_SIZE###":$project_size}
Raw data and analysis results use <strong>$project_size</strong> on the hard drive for the whole project.
</p>
</div>
<br />
<ul id="myTab" class="nav nav-tabs">
<li class="active"><a href="#runs" data-toggle="tab">{$llang.runs_done}</a></li>
<li><a href="#analyses" data-toggle="tab">{$llang.analyzes_done}</a></li>
<li class="active"><a href="#runs" data-toggle="tab">Runs</a></li>
<li><a href="#analyses" data-toggle="tab">Analyses</a></li>
{if $login_user}
<li><a href="#users" data-toggle="tab">{$llang.manage_users}</a></li>
<li><a href="#users" data-toggle="tab">Users</a></li>
{/if}
</ul>
......@@ -172,10 +83,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{if $projects[key($projects)].is_admin && $login_user && $display_analysis_result}
<th><center><input type="checkbox" id="chk_all_analysis"></center></th>
{/if}
<th nowrap>{$llang.name}</th>
<th>{$llang.description}</th>
<th>{$llang.software}</th>
<th>{$llang.version}</th>
<th nowrap>Name</th>
<th>Description</th>
<th>Sofware</th>
<th>Version</th>
</tr>
</thead>
<tbody>
......@@ -185,9 +96,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<tfoot>
<tr>
<th align="left" colspan="5">
{$llang.toolbar_title}
<button id="hide_analysis" type="button" class="btn pill-l"><span><span>{$llang.hide_btn}</span></span></button><button id="unhide_analysis" type="button" class="btn pill-r"><span><span>{$llang.unhide_btn}</span></span></button>
&nbsp;<button id="delete_analysis" type="button" class="btn"><span><span>{$llang.delete_btn}</span></span></button>
With selection :
<button id="hide_analysis" type="button" class="btn pill-l"><span><span>hide</span></span></button><button id="unhide_analysis" type="button" class="btn pill-r"><span><span>unhide</span></span></button>
&nbsp;<button id="delete_analysis" type="button" class="btn"><span><span>delete</span></span></button>
</th>
</tr>
</tfoot>
......@@ -209,11 +120,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<input type="hidden" id="current_project_id" value="{$projects[key($projects)].id}" />
<p>
{if $projects[key($projects)].is_admin}
{$llang.users_management_help_msg_administrator}
In the table below are listed all users with an access to the project.
{elseif $projects[key($projects)].is_manager}
{$llang.users_management_help_msg_manager}
In the table below are listed all users with an access to the project, the administrator is the user who had run the pipeline. As a manager, you are in charge of managing access to the project. To manage users access, you can use the add and the delete buttons on the bottom of the table. The add button will display a form so you can seek for a user or add a brand new one. 2 access levels are available: the manager who has the right to create new users and to modify users' information he had created, and member who has only the right to browse the project.
{elseif $projects[key($projects)].is_member}
{$llang.users_management_help_msg_member}
In the table below are listed all users with an access to the project, the administrator is the user who had run the pipeline and the manager is the user in charge of managing access to the project. As a project member you can browse all the data related to the project. For further information, send an email to the project manager(s).
{/if}
</p>
<table class="display" id="users_data_table">
......@@ -222,13 +133,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{if $needs_action}
<th><center><input type="checkbox" id="chk_all_user"></center></th>
{/if}
<th nowrap>{$llang.user_name}</th>
<th>{$llang.lastlogin}</th>
<th>{$llang.cruser}</th>
<th>{$llang.last_name}</th>
<th>{$llang.first_name}</th>
<th>{$llang.email}</th>
<th>{$llang.right}</th>
<th nowrap>Login</th>
<th>Last login</th>
<th>Creator</th>
<th>Last name</th>
<th>First name</th>
<th>Email</th>
<th>Right</th>
</tr>
</thead>
<tbody>
......@@ -267,7 +178,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<td>
{if $user_values.right_id=='2' && !$projects[key($projects)].is_admin}
<select id="cbb_right_level_{$user_values.id}" name="right_level" disabled>
<option value="2" selected="selected">{$llang.right_level_admin}</option>
<option value="2" selected="selected">Administrator</option>
</select>
{else}
{if ($projects[key($projects)].is_admin && $user_values.id!=$user_id)
......@@ -278,19 +189,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{/if}
<select id="cbb_right_level_{$user_values.id}" name="right_level" {$disabled}>
{if $projects[key($projects)].is_admin}
<option value="2" selected="selected">{$llang.right_level_admin}</option>
<option value="2" selected="selected">Administrator</option>
{/if}
{if $user_values.right_id=='1'}
<option value="1" selected="selected">{$llang.right_level_manager}</option>
<option value="1" selected="selected">Manager</option>
{else}
<option value="1">{$llang.right_level_manager}</option>
<option value="1">Manager</option>
{/if}
{if $user_values.right_id=='0'}
<option value="0" selected="selected">{$llang.right_level_member}</option>
<option value="0" selected="selected">Member</option>
{else}
<option value="0">{$llang.right_level_member}</option>
<option value="0">Member</option>
{/if}
</select>
{/if}
......@@ -303,8 +214,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<tfoot>
<tr>
<th align="left" colspan="7">
{$llang.toolbar_title}
<button id="add_user" type="button" class="btn pill-l"><span><span>{$llang.add_user_btn}</span></span></button><button id="del_user" type="button" class="btn pill-r"><span><span>{$llang.delete_user_btn}</span></span></button>
With selection :
<button id="add_user" type="button" class="btn pill-l"><span><span>add user</span></span></button><button id="del_user" type="button" class="btn pill-r"><span><span>delete user</span></span></button>
</th>
</tr>
</tfoot>
......@@ -328,12 +239,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{/foreach}
{* Then display the table *}
<div class="project">
<h2>{$llang.project_list}</h2>
<h2>Projects list you can access:</h2>
<p>
{$llang.list_project_desc|replace:"###NB_PROJECT###":($projects|@count)}
You have access to {$projects|@count} projects.
<br />
{assign var="project_size" value="<span id='size' class='tx-nG6-mini-wait'></span>"}
{($llang.list_project_size_desc|replace:"###PROJECT_SIZE###":"<strong>###PROJECT_SIZE###</strong>")|replace:"###PROJECT_SIZE###":$project_size}
Raw data and analysis results use <strong>$project_size</strong> on the hard drive for all projects.
</p>
</div>
<br />
......@@ -343,9 +254,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{if $is_at_least_admin_of_1_project && $login_user}
<th><center><input type="checkbox" id="chk_all_project"></center></th>
{/if}
<th>{$llang.project_name}</th>
<th>{$llang.date}</th>
<th>{$llang.description}</th>
<th>Project Name</th>
<th>Date</th>
<th>Description</th>
</tr>
</thead>
<tbody>
......@@ -380,10 +291,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<tfoot>
<tr>
<th align="left" colspan="3">
{$llang.toolbar_title}
<button id="hide_project" type="button" class="btn pill-l"><span><span>{$llang.hide_btn}</span></span></button><button id="unhide_project" type="button" class="btn pill-r"><span><span>{$llang.unhide_btn}</span></span></button>
&nbsp;<button id="delete_project" type="button" class="btn"><span><span>{$llang.delete_btn}</span></span></button>&nbsp;
<button id="publish_project" type="button" class="btn pill-l"><span><span>{$llang.publish_btn}</span></span></button><button id="unpublish_project" type="button" class="btn pill-r"><span><span>{$llang.unpublish_btn}</span></span></button>
With selection :
<button id="hide_project" type="button" class="btn pill-l"><span><span>hide</span></span></button><button id="unhide_project" type="button" class="btn pill-r"><span><span>unhide</span></span></button>
&nbsp;<button id="delete_project" type="button" class="btn"><span><span>delete</span></span></button>&nbsp;
<button id="publish_project" type="button" class="btn pill-l"><span><span>publish</span></span></button><button id="unpublish_project" type="button" class="btn pill-r"><span><span>unpublish</span></span></button>
</th>
</tr>
</tfoot>
......
......@@ -17,91 +17,42 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div id="user_information_dialog" title=""></div>
<div id="error_dialog" title=""></div>
<input type="hidden" id="cancel_btn_label" value="{$llang.cancel_btn_label}" />
<input type="hidden" id="ok_btn_label" value="{$llang.ok_btn_label}" />
<input type="hidden" id="yes_btn_label" value="{$llang.yes_btn_label}" />
<input type="hidden" id="no_btn_label" value="{$llang.no_btn_label}" />
<input type="hidden" id="confirmation_dialog_title" value="{$llang.confirmation_dialog_title}" />
<input type="hidden" id="information_error_title" value="{$llang.information_error_title}" />
<input type="hidden" id="hide_dialog_title" value="{$llang.hide_dialog_title}" />
<input type="hidden" id="hide_confirmation_msg" value="{$llang.hide_confirmation_msg}" />
<input type="hidden" id="unhide_dialog_title" value="{$llang.unhide_dialog_title}" />
<input type="hidden" id="unhide_confirmation_msg" value="{$llang.unhide_confirmation_msg}" />
<input type="hidden" id="information_error_msg" value="{$llang.information_error_msg}" />
<input type="hidden" id="information_dialog_zero_check" value="{$llang.information_dialog_zero_check}" />
<input type="hidden" id="delete_confirmation_msg" value="{$llang.delete_confirmation_msg}" />
<input type="hidden" id="deleting_dialog_msg" value="{$llang.deleting_dialog_msg}" />
<input type="hidden" id="delete_authentication_dialog_msg" value="{$llang.delete_authentication_dialog_msg|replace:'###SPAN_SERVER###':$server_name}" />
<input type="hidden" id="user_login" value="{$llang.user_login}" />
<input type="hidden" id="user_pwd" value="{$llang.user_pwd}" />
<input type="hidden" id="user_id" value="{$user_id}" />
<input type="hidden" id="deleting_dialog_title" value="{$llang.deleting_dialog_title}" />
<input type="hidden" id="delete_success_msg" value="{$llang.delete_success_msg}" />
<input type="hidden" id="delete_dialog_rigth_error" value="{$llang.delete_dialog_rigth_error}" />
<input type="hidden" id="delete_dialog_authentification_error" value="{$llang.delete_dialog_authentification_error}" />
<input type="hidden" id="delete_dialog_connection_error" value="{$llang.delete_dialog_connection_error}" />
<input type="hidden" id="DataTables_length_menu" value="{$llang.DataTables_length_menu}" />
<input type="hidden" id="DataTables_zero_records" value="{$llang.DataTables_zero_records}" />
<input type="hidden" id="DataTables_info" value="{$llang.DataTables_info}" />
<input type="hidden" id="DataTables_info_empty" value="{$llang.DataTables_info_empty}" />
<input type="hidden" id="DataTables_info_filtered" value="{$llang.DataTables_info_filtered}" />
<input type="hidden" id="DataTables_search" value="{$llang.DataTables_search}" />
<input type="hidden" id="DataTables_pagination_first" value="{$llang.DataTables_pagination_first}" />
<input type="hidden" id="DataTables_pagination_last" value="{$llang.DataTables_pagination_last}" />
<input type="hidden" id="DataTables_pagination_next" value="{$llang.DataTables_pagination_next}" />
<input type="hidden" id="DataTables_pagination_previous" value="{$llang.DataTables_pagination_previous}" />
<input type="hidden" id="Jeditable_dblClickTitle" value="{$llang.Jeditable_dblClickTitle}" />
<input type="hidden" id="Datepicker_closeText" value="{$llang.Datepicker_closeText}" />
<input type="hidden" id="Datepicker_prevText" value="{$llang.Datepicker_prevText}" />
<input type="hidden" id="Datepicker_nextText" value="{$llang.Datepicker_nextText}" />
<input type="hidden" id="Datepicker_currentText" value="{$llang.Datepicker_currentText}" />
<input type="hidden" id="Datepicker_monthNames" value="{$llang.Datepicker_monthNames}" />
<input type="hidden" id="Datepicker_monthNamesShort" value="{$llang.Datepicker_monthNamesShort}" />
<input type="hidden" id="Datepicker_dayNames" value="{$llang.Datepicker_dayNames}" />
<input type="hidden" id="Datepicker_dayNamesShort" value="{$llang.Datepicker_dayNamesShort}" />
<input type="hidden" id="Datepicker_dayNamesMin" value="{$llang.Datepicker_dayNamesMin}" />
<input type="hidden" id="Datepicker_weekHeader" value="{$llang.Datepicker_weekHeader}" />
<input type="hidden" id="server_name" value="{$server_name}" />
<input type="hidden" id="user_id" value="{$user_id}" />
<input type="hidden" id="data_folder" value="{$data_folder}" />
<input type="hidden" id="view" value="run" />
<input type="hidden" id="ids" value="{$run_ids}" />
{* If no runs can be displayed *}
{if $runs|@count == 0 || ($runs|@count == 1 && $runs[key($runs)].hidden == 1 && !$runs[key($runs)].is_admin) }
{$llang.no_raw}
Sorry no results to display
{* If a single run has to be displayed *}
{elseif $runs|@count == 1}
<div class="run">
<h2>{$llang.run} {$runs[key($runs)].name} :</h2>
<h2>Run {$runs[key($runs)].name} :</h2>
<p><strong>{$runs[key($runs)].description}</strong> <br />
{if $run_analysis|@count > 0}
{($llang.miltiple_analysis_run_desc|replace:"###RUN_NAME###":$runs[key($runs)].name)|replace:"###NB_ANALYSIS###":($run_analysis|@count)}
{$run_analysis|@count} analysis have been done on the run {$runs[key($runs)].name}.
{else}
{($llang.single_analysis_run_desc|replace:"###RUN_NAME###":$runs[key($runs)].name)|replace:"###NB_ANALYSIS###":($run_analysis|@count)}
{$run_analysis|@count} analysis has been done on the run {$runs[key($runs)].name}.
{/if}
<br />
{assign var="run_size" value="<span id='size' class='tx-nG6-mini-wait'></span>"}
{($llang.run_desc|replace:"###RUN_SIZE###":"<strong>###RUN_SIZE###</strong>")|replace:"###RUN_SIZE###":$run_size}
Raw data and analysis results use <strong>$run_size</strong> on the hard drive.
</p>
</div>
<table class="tx-nG6-pi1-listrow">
<tr>
<th align="left">{$llang.project_name}</th>
<th align="left">{$llang.date}</th>
<th align="left">{$llang.species}</th>
<th align="left">{$llang.type}</th>
<th align="left">{$llang.data_nature}</th>
<th align="left">{$llang.nb_sequences}</th>
<th align="left">{$llang.full_seq_size}</th>
<th align="left">{$llang.sequencer}</th>
<th align="left">Project name</th>
<th align="left">Date</th>
<th align="left">Species</th>
<th align="left">Type</th>
<th align="left">Data nature</th>
<th align="left">Number of sequences</th>
<th align="left">Full sequences length</th>
<th align="left">Sequencer</th>
</tr>
<tr>
<td align="left">{$runs[key($runs)].project_name}</td>
......@@ -117,8 +68,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<br />
<ul id="myTab" class="nav nav-tabs">
<li class="active"><a href="#analyses" data-toggle="tab">{$llang.analyzes_done}</a></li>
<li><a href="#downloads" data-toggle="tab">{$llang.downloads}</a></li>
<li class="active"><a href="#analyses" data-toggle="tab">Analyses</a></li>
<li><a href="#downloads" data-toggle="tab">Downloads</a></li>
</ul>
<div id="myTabContent" class="tab-content">
......@@ -139,10 +90,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{if $runs[key($runs)].is_admin && $login_user && $display_analysis_result}
<th><center><input type="checkbox" id="chk_all_analysis"></center></th>
{/if}
<th nowrap>{$llang.name}</th>
<th>{$llang.description}</th>
<th>{$llang.software}</th>
<th>{$llang.version}</th>
<th nowrap>Name</th>
<th>Description</th>
<th>Software</th>
<th>Version</th>
</tr>
</thead>
<tbody>
......@@ -152,9 +103,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<tfoot>
<tr>
<th align="left" colspan="5">
{$llang.toolbar_title}
<button id="hide_analysis" type="button" class="btn pill-l"><span><span>{$llang.hide_btn}</span></span></button><button id="unhide_analysis" type="button" class="btn pill-r"><span><span>{$llang.unhide_btn}</span></span></button>
&nbsp;<button id="delete_analysis" type="button" class="btn"><span><span>{$llang.delete_btn}</span></span></button>
With selection :
<button id="hide_analysis" type="button" class="btn pill-l"><span><span>hide</span></span></button><button id="unhide_analysis" type="button" class="btn pill-r"><span><span>unhide</span></span></button>
&nbsp;<button id="delete_analysis" type="button" class="btn"><span><span>delete</span></span></button>
</th>
</tr>
</tfoot>
......@@ -175,7 +126,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{/foreach}
</ul>
{if $nb_files == 0}
<p>{$llang.not_synchro}</p>
<p>Results folder not synchronized yet</p>
{/if}
</div>
......@@ -194,12 +145,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{/foreach}
{* Then display the table *}
<div class="run">
<h2>{$llang.run_list}</h2>
<h2>Runs list you can access :</h2>
<p>
{$llang.list_run_desc|replace:"###NB_RUN###":($runs|@count)}
You have access to {$runs|@count} runs.
<br />
{assign var="run_size" value="<span id='size' class='tx-nG6-mini-wait'></span>"}
{($llang.run_desc|replace:"###RUN_SIZE###":"<strong>###RUN_SIZE###</strong>")|replace:"###RUN_SIZE###":$run_size}
Raw data and analysis results use <strong>$run_size</strong> on the hard drive.
</p>
</div>
<br />
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment