Sha256: 5a921546cfa277dd54b03950b89dc1949bb74be2a51fec2edcd90c9b7f4ca73c

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

<% if @custom_tools_alert_visible %>
  <div class="w-full inset-auto bottom-0 z-50 mb-4 opacity-75 hover:opacity-100 transition-opacity duration-150">
    <a href="https://avohq.io/pricing" target="_blank" class="rounded bg-orange-700 text-white py-2 px-4 text-sm block items-center flex leading-tight">
      <%= svg "exclamation", class: "h-6 inline mr-2 text-bold flex-shrink-0 mr-1" %> Warning. <%= @custom_tools_alert_visible %> This page will not be visible in a production environment.
    </a>
  </div>
<% end %>

<% if Avo::App.error_messages.present? %>
  <% Avo::App.error_messages.each do |message| %>
    <div class="w-full inset-auto bottom-0 z-50 mb-4 opacity-75 hover:opacity-100 transition-opacity duration-150">
      <a href="https://avohq.io/pricing" target="_blank" class="rounded bg-orange-700 text-white py-2 px-4 text-sm block items-center flex leading-tight">
        <%= svg "exclamation", class: "h-6 inline mr-2 text-bold flex-shrink-0 mr-1" %> <%= message %>
      </a>
    </div>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
avo-2.8.0 app/views/avo/partials/_custom_tools_alert.html.erb
avo-2.7.1.pre.1 app/views/avo/partials/_custom_tools_alert.html.erb
avo-2.7.0 app/views/avo/partials/_custom_tools_alert.html.erb