app/views/avo/debug/status.html.erb in avo-3.0.0.beta1 vs app/views/avo/debug/status.html.erb in avo-3.0.0.pre1
- old
+ new
@@ -1,7 +1,7 @@
<%
- license = Avo.license
+ license = Avo::App.license
information_items = [
'license_key',
'ruby_version',
'rails_version',
'environment',
@@ -12,13 +12,13 @@
]
hq_payload = Avo::Licensing::HQ.new(request).payload
%>
<div class="flex flex-col">
<%= render Avo::PanelComponent.new(name: 'Avo Status', description: 'Use this page to debug your Avo instance.') do |c| %>
- <% c.with_tools do %>
+ <% c.tools do %>
<% end %>
- <% c.with_bare_content do %>
+ <% c.bare_content do %>
<div class="grid gap-4 grid-cols-2">
<div class="relative flex flex-col bg-white rounded shadow-panel p-4 space-y-4 h-full">
<div class="flex justify-between w-full">
<div class="font-semibold">License info</div>
<div class="flex justify-self-end">
@@ -72,19 +72,18 @@
<div class="font-semibold">Plugins</div>
</div>
<div class="flex flex-col flex-1">
<div>
<ul>
- <li>Avo <%= Avo::VERSION %></li>
<% Avo.plugin_manager.plugins.each do |plugin| %>
- <li><%= plugin.klass.to_s.split("::").first %> <%= plugin.klass.version %></li>
+ <li><%= plugin.klass.to_s.split("::").first %></li>
<% end %>
</ul>
</div>
</div>
</div>
<%= render Avo::PanelComponent.new(title: "Report") do |c| %>
- <% c.with_body do %>
+ <% c.body do %>
<div class="p-4">
<turbo-frame id="debug-report" src="<%= root_path %>avo_private/debug/report" target="_top" class="block">
Loading...
</turbo-frame>
</div>