Sha256: 5e905ab097a3572472cb70cbd04272fa48e135170788a8627de81abac7965a7c

Contents?: true

Size: 412 Bytes

Versions: 12

Compression:

Stored size: 412 Bytes

Contents

<span>
  <% if last_error && last_error.has_key?('timestamp') %>
    <span>
      <a href="#logs" onclick="findSpoolLogs();"><%= date_time_relative_value(Time.at(last_error["timestamp"])) %></a>
    </span>
  <% elsif !last_error.nil? && last_error.empty? %>
    <span>
      <%= _('Enable "logs" feature on proxy to search for errors') %>
    </span>
  <% else %>
    <%= _('None found') %>
  <% end %>
</span>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
foreman_openscap-0.10.4 app/views/smart_proxies/_openscap_spool.html.erb
foreman_openscap-0.10.3 app/views/smart_proxies/_openscap_spool.html.erb
foreman_openscap-0.10.2 app/views/smart_proxies/_openscap_spool.html.erb
foreman_openscap-0.10.1 app/views/smart_proxies/_openscap_spool.html.erb
foreman_openscap-0.9.3 app/views/smart_proxies/_openscap_spool.html.erb
foreman_openscap-0.10.0 app/views/smart_proxies/_openscap_spool.html.erb
foreman_openscap-0.8.6 app/views/smart_proxies/_openscap_spool.html.erb
foreman_openscap-0.9.2 app/views/smart_proxies/_openscap_spool.html.erb
foreman_openscap-0.9.1 app/views/smart_proxies/_openscap_spool.html.erb
foreman_openscap-0.8.5 app/views/smart_proxies/_openscap_spool.html.erb
foreman_openscap-0.9.0 app/views/smart_proxies/_openscap_spool.html.erb
foreman_openscap-0.8.4 app/views/smart_proxies/_openscap_spool.html.erb