Fix result links for experiments
This commit is contained in:
@@ -89,7 +89,7 @@
|
|||||||
<?php
|
<?php
|
||||||
if ($job['finished_at'] != '0000-00-00 00:00:00'):
|
if ($job['finished_at'] != '0000-00-00 00:00:00'):
|
||||||
?>
|
?>
|
||||||
<p><a href="<?=site_url('results/show/' . $experiment['id']);?>" class="button results"><?=_('Show results');?></a></p>
|
<p><a href="<?=site_url('results/experiment/' . $experiment['id']);?>" class="button results"><?=_('Show results');?></a></p>
|
||||||
<?php
|
<?php
|
||||||
endif;
|
endif;
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
<?php
|
<?php
|
||||||
if ($experiment['finished_at'] != 0):
|
if ($experiment['finished_at'] != 0):
|
||||||
?>
|
?>
|
||||||
<a href="<?=site_url('experiments/results/' . $experiment['id']);?>" title="<?=sprintf(_('Show results for this experiment'), $experiment['name']);?>"><?=_('Show results');?></a> |
|
<a href="<?=site_url('results/experiment/' . $experiment['id']);?>" title="<?=sprintf(_('Show results for this experiment'), $experiment['name']);?>"><?=_('Show results');?></a> |
|
||||||
<?php
|
<?php
|
||||||
endif;
|
endif;
|
||||||
?>
|
?>
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
<td><?=$job['name'];?></td>
|
<td><?=$job['name'];?></td>
|
||||||
<td><span class="<?=$job['cssclass'];?>"><?=$job['humanstatus'];?></span></td>
|
<td><span class="<?=$job['cssclass'];?>"><?=$job['humanstatus'];?></span></td>
|
||||||
<td>
|
<td>
|
||||||
<a href="<?=site_url('experiments/results/' . $job['id']);?>" title="<?= sprintf(_('Show results for this experiment'), $job['name']);?>"><?=_('Show results');?></a> |
|
<a href="<?=site_url('results/experiment/' . $job['id']);?>" title="<?= sprintf(_('Show results for this experiment'), $job['name']);?>"><?=_('Show results');?></a> |
|
||||||
<a href="<?=site_url('experiments/edit/' . $job['id']);?>" title="<?= sprintf(_('Edit this experiment'), $job['name']);?>"><?=_('Edit');?></td>
|
<a href="<?=site_url('experiments/edit/' . $job['id']);?>" title="<?= sprintf(_('Edit this experiment'), $job['name']);?>"><?=_('Edit');?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
Reference in New Issue
Block a user