mirror of https://github.com/docusealco/docuseal
parent
1ae635963c
commit
bd3d643318
|
After Width: | Height: | Size: 604 B |
@ -1,3 +1,6 @@
|
||||
<a href="<%= Docuseal::GITHUB_URL %>" target="_blank" class="inline">
|
||||
<img alt="GitHub Repo stars" src="https://www.docuseal.com/github-badge.svg" style="height: 22px">
|
||||
<a target="_blank" href="https://github.com/docusealco/docuseal" rel="noopener noreferrer nofollow" class="relative flex items-center rounded-full px-2 py-0.5 text-xs leading-4 mt-1 text-base-content border border-base-300">
|
||||
<span class="flex items-center justify-between space-x-0.5 font-extrabold">
|
||||
<%= svg_icon('start', class: 'h-3 w-3') %>
|
||||
<span>9k</span>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
@ -1,8 +1,10 @@
|
||||
<%= link_to Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}/plans") : "#{Docuseal::CLOUD_URL}/sign_up?#{{ redir: "#{Docuseal::CONSOLE_URL}/on_premises" }.to_query}", class: 'hidden md:inline-flex btn btn-warning btn-sm', data: { prefetch: false } do %>
|
||||
<% if request.path.starts_with?('/settings') %>
|
||||
<%= link_to "#{Docuseal::CLOUD_URL}/sign_up?#{{ redir: "#{Docuseal::CONSOLE_URL}/on_premises" }.to_query}", class: 'hidden md:inline-flex btn btn-warning btn-sm', data: { prefetch: false } do %>
|
||||
<%= t('upgrade') %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if signed_in? && current_user != true_user %>
|
||||
<span class="hidden md:inline-flex h-3 border-r border-base-content"></span>
|
||||
<%= render 'shared/test_alert' %>
|
||||
<% end %>
|
||||
<% elsif request.path.starts_with?('/settings') %>
|
||||
<span class="hidden md:inline-flex h-3 border-r border-base-content"></span>
|
||||
<% end %>
|
||||
|
||||
Loading…
Reference in new issue