Sha256: ff80ae92491b6c01fa8b69687a6d12e0e690b40c3a404a4c5ff3f97eef3b6b8d

Contents?: true

Size: 1.53 KB

Versions: 11

Compression:

Stored size: 1.53 KB

Contents

<% provide :title do %>
  <h2><%= t ".title" %></h2>
<% end %>

<div class="actions title">
  <%= link_to t("actions.new", scope: "decidim.system", name: t("models.oauth_application.name", scope: "decidim.system")), ["new", "oauth_application"], class: "new" %>
</div>

<table class="stack">
  <thead>
    <tr>
      <th></th>
      <th><%= t("models.oauth_application.fields.name", scope: "decidim.system") %></th>
      <th><%= t("models.oauth_application.fields.organization_name", scope: "decidim.system") %></th>
      <th><%= t("models.oauth_application.fields.created_at", scope: "decidim.system") %></th>
      <th class="actions"><%= t("actions.title", scope: "decidim.system") %></th>
    </tr>
  </thead>
  <tbody>
    <% @oauth_applications.each do |oauth_application| %>
      <tr>
        <td>
          <%= image_tag oauth_application.organization_logo.url %>
        </td>
        <td>
          <%= link_to oauth_application.name, oauth_application %><br>
        </td>
        <td>
          <%= link_to oauth_application.organization_name, oauth_application.organization %><br>
        </td>
        <td>
          <%= l oauth_application.created_at, format: :short %>
        </td>
        <td class="actions">
          <%= link_to t("actions.edit", scope: "decidim.system"), ["edit", oauth_application] %>
          <%= link_to t("actions.destroy", scope: "decidim.system"), oauth_application, method: :delete, class: "small alert button", data: { confirm: t(".confirm_delete") } %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
decidim-system-0.23.5 app/views/decidim/system/oauth_applications/index.html.erb
decidim-system-0.24.1 app/views/decidim/system/oauth_applications/index.html.erb
decidim-system-0.24.0 app/views/decidim/system/oauth_applications/index.html.erb
decidim-system-0.24.0.rc2 app/views/decidim/system/oauth_applications/index.html.erb
decidim-system-0.23.4 app/views/decidim/system/oauth_applications/index.html.erb
decidim-system-0.24.0.rc1 app/views/decidim/system/oauth_applications/index.html.erb
decidim-system-0.23.3 app/views/decidim/system/oauth_applications/index.html.erb
decidim-system-0.23.2 app/views/decidim/system/oauth_applications/index.html.erb
decidim-system-0.23.1 app/views/decidim/system/oauth_applications/index.html.erb
decidim-system-0.23.1.rc1 app/views/decidim/system/oauth_applications/index.html.erb
decidim-system-0.23.0 app/views/decidim/system/oauth_applications/index.html.erb