diff --git a/app/views/clients/_actions.html.erb b/app/views/clients/_actions.html.erb index 56a7823..35c8966 100644 --- a/app/views/clients/_actions.html.erb +++ b/app/views/clients/_actions.html.erb @@ -1,50 +1,46 @@
<% if @client.is_backed_up? %> <%= button_or_disabled_with_label( @client.host.blocked?, 'Restore Files', restore_client_path(@client), class: "btn btn-default", role: "button", icon_class: 'glyphicon glyphicon-cloud-download', text_class: 'text-warning') %> <% end %> <% if @client.host %> <%= link_to host_path(@client.host), class: "btn btn-default", role: "button" do %> Manage Client <% end %> <% end %> <%= link_to fd_config_host_path(@client.host, token: current_user.token), class: "btn btn-default", role: "button", download: 'bacula-fd.conf' do %> Download Config <% end %> <%= link_to '#', data: { toggle: 'modal', target: "#js-fd-config"} do %> <% end %>
-
- -<%= link_to 'Back to clients', clients_path %> - diff --git a/app/views/clients/jobs.html.erb b/app/views/clients/jobs.html.erb index 28b8c01..a4a9d58 100644 --- a/app/views/clients/jobs.html.erb +++ b/app/views/clients/jobs.html.erb @@ -1,20 +1,18 @@ <%= render partial: 'header' %>

Recent Jobs (<%= @jobs.total_count %>)

<%= page_entries_info @jobs, entry_name: 'job' %>
<%= paginate @jobs %>
<%= render partial: 'recent_jobs' %>
- -<%= link_to 'Back to clients', clients_path %> diff --git a/app/views/clients/users.html.erb b/app/views/clients/users.html.erb index f90ec0e..40e2672 100644 --- a/app/views/clients/users.html.erb +++ b/app/views/clients/users.html.erb @@ -1,26 +1,24 @@ <%= render partial: 'header' %>

Collaborators for <%= @client.host.name %>

<% if @client.manually_inserted? && @available_users.any? %>
<%= bootstrap_form_for(@invitation, layout: :inline) do |f| %> <%= f.select :user_id, options_for_select(@available_users), include_blank: 'Pick a user', skip_label: true %> <%= f.hidden_field :host_id %> <%= button_tag type: :submit, class: 'btn btn-default' do %> Invite New User <% end %> <% end %>
<% end %>
<%= render partial: 'users' %>
- -<%= link_to 'Back to clients', clients_path %>