Sha256: 7d9af0fcdb91bb28022f6d475b2cb533568488c6c210e6ea96eb4714ab3dc92c

Contents?: true

Size: 823 Bytes

Versions: 7

Compression:

Stored size: 823 Bytes

Contents

<% if user_role_config.component_is_accessible?(component.manifest_name) %>
  <tr class="component-<%= component.id %>">
    <td>
      <%= link_to main_component_path(component), target: "_blank" do %>
        <%= translated_attribute component.name %>
      <% end %>
    </td>
    <td>
      <%= t "decidim.components.#{component.manifest.name}.name" %>
    </td>
    <%= td_resource_scope_for(component.scope) %>
    <td class="table-list__actions">
      <% if lookup_context.find_all("decidim/#{component.manifest_name}/admin/component/_actions").any? %>
        <%= render partial: "decidim/#{component.manifest_name}/admin/component/actions", locals: { component: component } %>
      <% else %>
        <%= render partial: "actions", locals: { component: component } %>
      <% end %>
    </td>
  </tr>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-admin-0.27.9 app/views/decidim/admin/components/_component.html.erb
decidim-admin-0.27.8 app/views/decidim/admin/components/_component.html.erb
decidim-admin-0.27.7 app/views/decidim/admin/components/_component.html.erb
decidim-admin-0.27.6 app/views/decidim/admin/components/_component.html.erb
decidim-admin-0.26.10 app/views/decidim/admin/components/_component.html.erb
decidim-admin-0.26.9 app/views/decidim/admin/components/_component.html.erb
decidim-admin-0.27.5 app/views/decidim/admin/components/_component.html.erb