add integration users page
This commit is contained in:
committed by
GitHub
parent
350c4b1c2a
commit
9266694d65
@@ -0,0 +1,14 @@
|
||||
<div class="flex items-center space-x-1">
|
||||
<% if %w[archived integration].include?(params[:status]) %>
|
||||
<%= link_to t('view_active'), settings_users_path, class: 'link text-sm' %>
|
||||
<% else %>
|
||||
<% links = [] %>
|
||||
<% if current_account.users.active.exists?(role: 'integration') %>
|
||||
<% links << link_to(t('view_embedding_users'), settings_integration_users_path, class: 'link text-sm') %>
|
||||
<% end %>
|
||||
<% if current_account.users.archived.exists? %>
|
||||
<% links << link_to(t('view_archived'), settings_archived_users_path, class: 'link text-sm') %>
|
||||
<% end %>
|
||||
<%= links.join('<span class="text-neutral-700">|</span>').html_safe %>
|
||||
<% end %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user