Sha256: 0b1a614476061d34de1fff52d5a20d59bd8cd08093f9af3d93849a1ad18cd50f

Contents?: true

Size: 955 Bytes

Versions: 96

Compression:

Stored size: 955 Bytes

Contents

<table cellpadding="0" cellspacing="0">
  <tr>
    <td class="indicator-container">
      <%= loading_indicator_tag(:action => :record, :id => record.id) %>
    </td>
    <%# AST Begin -%>
    <% html_actions = [] %>
    <%# AST End -%>  
    <% active_scaffold_config.action_links.each :record do |link| -%>
      <% next if skip_action_link(link) -%>
      <%# AST Begin -%>
      <% if [:delete, :show, :edit].include?(link.action.to_sym) %>
      <%# AST End -%>  
        <td>
          <%= record.authorized_for?(:action => link.crud_type) ? render_action_link(link, url_options) : "<a class='disabled #{link.action}'>#{link.label}</a>" -%>
        </td>
      <%# AST Begin -%>
      <% else %>
        <% html_actions << render_action_link(link, url_options) %>
      <% end %>
    <% end -%>
    <% unless html_actions.empty?  %>
      <td>
        <%= html_actions.join('<br>') %>
      </td>
    <% end %>
    <%# AST End -%>  
  </tr>
</table>

Version data entries

96 entries across 96 versions & 1 rubygems

Version Path
six-updater-web-0.17.2 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.17.1 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.17.0 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.16.3 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.16.2 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.16.0 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.15.4 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.15.3 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.15.2 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.15.1 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.14.12 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.14.10 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.14.9 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.14.8 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.14.7 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.14.6 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.14.5 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.14.4 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.14.3 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
six-updater-web-0.14.2 lib/six-updater-web/vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb