Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Clients: Tiny Client Details View Improvement
Browse files Browse the repository at this point in the history
Be more precise about what is displayed in the client details
'last backups' table. Therefore the heading is renamed to
'last successful backups' and an additional row 'Status',
which displays the JobStatus, is added to the table.

Fixes #812: Add job status in the "Last Backups" section of the Client view
  • Loading branch information
fbergkemper committed Sep 1, 2017
1 parent 7ccd7ed commit a032edf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion module/Client/view/client/client/details.phtml
Expand Up @@ -66,7 +66,7 @@ $this->headTitle($title);

<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $this->translate("Last backups"); ?></h3>
<h3 class="panel-title"><?php echo $this->translate("Last successful backups"); ?></h3>
</div>

<div class="panel-body">
Expand All @@ -80,6 +80,7 @@ $this->headTitle($title);
<th><?php echo $this->translate("Level"); ?></th>
<th><?php echo $this->translate("Files"); ?></th>
<th><?php echo $this->translate("Bytes"); ?></th>
<th><?php echo $this->translate("Status"); ?></th>
<th><?php echo $this->translate("Actions"); ?></th>
</thead>
</table>
Expand Down Expand Up @@ -207,6 +208,13 @@ $this->headTitle($title);
return formatBytes(value);
}
},
{
field: 'jobstatus',
sortable: false,
formatter: function(value) {
return formatJobStatus(value);
}
},
{
field: 'action',
formatter: function(value, row, index) {
Expand Down

0 comments on commit a032edf

Please sign in to comment.