diff --git a/app/views/clients/_actions.html.erb b/app/views/clients/_actions.html.erb new file mode 100644 index 0000000..89ae5b8 --- /dev/null +++ b/app/views/clients/_actions.html.erb @@ -0,0 +1,47 @@ +
Name | <%= @client.name %> |
Uname | <%= @client.uname %> |
Active Jobs | <%= @client.running_jobs %> |
Last Backup | <%= @client.last_job_date_formatted %> |
File Retention | <%= @client.file_retention_days %> days |
Job Retention | <%= @client.job_retention_days %> days |
Total Space Used | <%= number_to_human_size @client.backup_jobs_size %> |
Client Quota | <%= number_to_human_size @client.quota %> |
Space Used % | <% if @client.quota.to_f > 0 %> <%= pretty_percentage(@client.backup_jobs_size.to_f / @client.quota, @client.quota) %> <% end %> |
Files count | <%= number_by_magnitude(@client.files_count) %> |
<%= notice %>
-<% if @client.host %> -