Sha256: 2d8c6616fb100817f88b6b3b5edd26b944d40a033d82d9474fb85fecd90ede35

Contents?: true

Size: 1.41 KB

Versions: 45

Compression:

Stored size: 1.41 KB

Contents

<tr>
  <% if defined?(show_admin) && show_admin -%>
    <td>
      <% form_for(oai_endpoint_row, :url => admin_feed_path(oai_endpoint_row), :html => { :method => :put }) do |f| -%>
        <% if oai_endpoint_row.banned? -%>
          <%= hidden_field_tag :status, 'approve' %>
          <%= image_submit_tag '/images/icons/exclaim.png', {:width => '16', :height => '16', :alt => t('muck.services.validate_feed') } %>
        <% elsif oai_endpoint_row.pending? -%>
           <%= hidden_field_tag :status, 'approve' %>
           <%= image_submit_tag '/images/icons/pending.png', {:width => '16', :height => '16', :alt => t('muck.services.validate_feed') } %>
        <% else -%>
          <%= hidden_field_tag :status, 'ban' %>
          <%= image_submit_tag '/images/icons/accept.png', {:width => '16', :height => '16', :alt => t('muck.services.ban_feed') } %>
        <% end -%>
      <% end -%>
    </td>
  <% end -%>
  <td><%= oai_endpoint_row.default_language.english_name %></td>
  <td>
    <%= link_to image_tag('icons/feed.png'), oai_endpoint_row.uri, :target => '_blank' %>
    <%= link_to h(oai_endpoint_row.title || oai_endpoint_row.display_uri), feed_path(oai_endpoint_row) %>
    <% if oai_endpoint_row.display_uri != oai_endpoint_row.uri %><%= link_to image_tag('icons/external.png'), oai_endpoint_row.display_uri, :target => '_blank' %><% end %>
  </td>
  <td><%= oai_endpoint_row.created_at.strftime('%d %b %y') %></td>
</tr>

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
muck-services-0.1.47 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.46 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.45 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.44 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.43 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.42 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.41 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.40 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.39 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.38 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.37 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.36 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.35 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.34 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.33 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.32 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.31 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.30 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.29 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-services-0.1.28 app/views/oai_endpoints/_oai_endpoint_row.html.erb