<% if @user.admin? %> Administrator <% else %> User <% end %>
<% if app.oidc? %> OIDC Application <% else %> ForwardAuth Protected Application <% end %>
<% if app.landing_url.present? %> <%= link_to "Open Application", app.landing_url, target: "_blank", rel: "noopener noreferrer", class: "w-full flex justify-center items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 transition" %> <% else %>You don't have access to any applications yet. Contact your administrator if you think this is an error.
View, edit, and invite users
<% end %> <%= link_to admin_applications_path, class: "block p-6 bg-white rounded-lg border border-gray-200 shadow-sm hover:bg-gray-50 hover:shadow-md transition" do %>Register and configure applications
<% end %> <%= link_to admin_groups_path, class: "block p-6 bg-white rounded-lg border border-gray-200 shadow-sm hover:bg-gray-50 hover:shadow-md transition" do %>Create and organize user groups
<% end %>