Sha256: 4586c51e373f2cfa2324d8324dffa4d46021490c17090a6013f87f12c0d41ac5

Contents?: true

Size: 879 Bytes

Versions: 9

Compression:

Stored size: 879 Bytes

Contents

- page_title t('.page_title', label: @fluentd.label)

%p.float-right
  = link_to configtest_daemon_setting_history_path(id: @backup_file.file_id), method: "post", class: "btn btn-secondary" do
    = icon('fa-legal')
    = t("terms.configtest")
  = link_to reuse_daemon_setting_history_path(id: @backup_file.file_id), method: 'post', class: "btn btn-primary" do
    = icon('fa-pencil')
    = t("terms.reuse")

- if @backup_file.note.content.present?
  .row
    .col-xl-12
      %p= @backup_file.note.content

.row
  .col-xl-12
    %h2
      ="#{t('.target_config')}(#{params[:id]})"
    %pre
      = preserve do
        = @backup_file.content

  .col-xl-12.diff
    %h2
      Diff:
    %div
      = t(".diff_description", file_name: params[:id] )
      .float-right
        = link_to t(".show_current"), daemon_setting_path(@fluentd)
    = preserve render "/shared/settings/diff"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fluentd-ui-1.2.1 app/views/fluentd/settings/histories/show.html.haml
fluentd-ui-1.2.0 app/views/fluentd/settings/histories/show.html.haml
fluentd-ui-1.1.0 app/views/fluentd/settings/histories/show.html.haml
fluentd-ui-1.0.1 app/views/fluentd/settings/histories/show.html.haml
fluentd-ui-1.0.0 app/views/fluentd/settings/histories/show.html.haml
fluentd-ui-1.0.0.beta.1 app/views/fluentd/settings/histories/show.html.haml
fluentd-ui-1.0.0.alpha.3 app/views/fluentd/settings/histories/show.html.haml
fluentd-ui-1.0.0.alpha.2 app/views/fluentd/settings/histories/show.html.haml
fluentd-ui-1.0.0.alpha.1 app/views/fluentd/settings/histories/show.html.haml