Merge branch 'master' of disposed.de:scattport
This commit is contained in:
@@ -54,28 +54,28 @@ class Dashboard extends MY_Controller {
|
|||||||
'text' => _('Jobs finished'),
|
'text' => _('Jobs finished'),
|
||||||
'id' => 'jobs_finished',
|
'id' => 'jobs_finished',
|
||||||
'title' => _('Show all finished jobs'),
|
'title' => _('Show all finished jobs'),
|
||||||
'target' => 'jobs#finished',
|
'target' => site_url('jobs#finished'),
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'count' => $this->share->countUnseen(),
|
'count' => $this->share->countUnseen(),
|
||||||
'text' => _('Newly shared projects'),
|
'text' => _('Newly shared projects'),
|
||||||
'id' => 'shared_projects',
|
'id' => 'shared_projects',
|
||||||
'title' => _('Show all projects shared with me'),
|
'title' => _('Show all projects shared with me'),
|
||||||
'target' => 'shares',
|
'target' => site_url('shares'),
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'count' => $this->job->countRunning(),
|
'count' => $this->job->countRunning(),
|
||||||
'text' => _('Job running'),
|
'text' => _('Job running'),
|
||||||
'id' => 'jobs_running',
|
'id' => 'jobs_running',
|
||||||
'title' => _('Show all running jobs'),
|
'title' => _('Show all running jobs'),
|
||||||
'target' => 'jobs#running',
|
'target' => site_url('jobs#running'),
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'count' => $this->job->countPending(),
|
'count' => $this->job->countPending(),
|
||||||
'text' => _('Jobs pending'),
|
'text' => _('Jobs pending'),
|
||||||
'id' => 'jobs_pending',
|
'id' => 'jobs_pending',
|
||||||
'title' => _('Show all pending jobs'),
|
'title' => _('Show all pending jobs'),
|
||||||
'target' => 'jobs#pending',
|
'target' => site_url('jobs#pending'),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
$this->load->view('dashboard', $tpl);
|
$this->load->view('dashboard', $tpl);
|
||||||
|
|||||||
@@ -125,7 +125,7 @@
|
|||||||
else:
|
else:
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="3"><?=_('No experiments available.');?></td>
|
<td colspan="<?=(count($shares) > 0 || $project['public'] == 1) ? "4" : "3";?>"><?=_('No experiments available.');?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
endif;
|
endif;
|
||||||
|
|||||||
Reference in New Issue
Block a user