Change h2 when copying an experiment. It's more obvious this way.

This commit is contained in:
Karsten Heiken
2011-11-28 15:21:12 +01:00
parent 4a2d76d900
commit c04b6e688e

View File

@@ -1,7 +1,17 @@
<?php $this->load->view('header');?>
<div id="content">
<div class="title">
<?php
if(isset($copy)):
?>
<h2><?=anchor('projects', _('Projects'));?> &raquo; <?=anchor('projects/detail/' . $project['id'], $project['name']);?> &raquo; <?=sprintf(_('Create copy of %s'), $copy['name']);?></h2>
<?php
else:
?>
<h2><?=anchor('projects', _('Projects'));?> &raquo; <?=anchor('projects/detail/' . $project['id'], $project['name']);?> &raquo; <?=_('Create experiment');?></h2>
<?php
endif;
?>
</div>
<?php
$form_action = site_url('experiments/create/' . $project['id']);