diff --git a/app/views/clients/_actions.html.erb b/app/views/clients/_actions.html.erb index 6c93930..56a7823 100644 --- a/app/views/clients/_actions.html.erb +++ b/app/views/clients/_actions.html.erb @@ -1,49 +1,50 @@
<% 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: 'fd_config' do %> + 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/hosts/_fd_config.html.erb b/app/views/hosts/_fd_config.html.erb index 6445a96..c84d696 100644 --- a/app/views/hosts/_fd_config.html.erb +++ b/app/views/hosts/_fd_config.html.erb @@ -1,46 +1,47 @@

Client FileDaemon Config

 <%= @host.bacula_fd_filedaemon_config %>
   

Client Director Config

 <%= @host.bacula_fd_director_config %>
   

Client Messages Config

 <%= @host.bacula_fd_messages_config %>
   
<%= link_to fd_config_host_path(@host, token: current_user.token), - class: "btn btn-default", role: "button", download: 'fd_config' do %> + 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 %>