Rename 'trial' to 'experiment'
This commit is contained in:
@@ -37,15 +37,15 @@
|
||||
// get the active project, if there is one
|
||||
if ($this->input->get('active_project'))
|
||||
$active_project = $this->project->getById($this->input->get('active_project'));
|
||||
else
|
||||
else
|
||||
$active_project = false;
|
||||
|
||||
|
||||
$projects = $this->project->getAll();
|
||||
|
||||
|
||||
if(!$active_project):
|
||||
?>
|
||||
<option disabled="disabled" selected="selected"><strong><?=_('Select a project');?></strong></option>
|
||||
<?php
|
||||
<?php
|
||||
endif;
|
||||
foreach ($projects as $project):
|
||||
?>
|
||||
@@ -75,7 +75,7 @@
|
||||
<a href="javascript:void(0);" onclick="$(this).parent().toggleClass('active').find('ul').toggle();"><?=_('Project');?> <?=$active_project['shortname'];?></a>
|
||||
<ul>
|
||||
<li><a href="<?=site_url('projects/detail/' . $active_project['id']);?>" title="<?=_('Show overview');?>"><?=_('Overview');?></a></li>
|
||||
<li><a href="<?=site_url('trials/create/' . $active_project['id']);?>" title="<?=sprintf(_('Create a new trial for the project "%s"'), $active_project['name']);?>"><?=_('New trial');?></a></li>
|
||||
<li><a href="<?=site_url('experiments/create/' . $active_project['id']);?>" title="<?=sprintf(_('Create a new experiment for the project "%s"'), $active_project['name']);?>"><?=_('New experiment');?></a></li>
|
||||
<li><a href="<?=site_url('results/project/' . $active_project['id']);?>" title="<?=sprintf(_('Show results for the project "%s"'), $active_project['name']);?>"><?=_('Show results');?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user