Sha256: e9b63040514d151d20762bcce4fb70570a6936b51411b698153ce25d10712291

Contents?: true

Size: 1.4 KB

Versions: 25

Compression:

Stored size: 1.4 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.raker.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.raker.validate_feed') } %>
        <% else -%>
          <%= hidden_field_tag :status, 'ban' %>
          <%= image_submit_tag '/images/icons/accept.png', {:width => '16', :height => '16', :alt => t('muck.raker.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

25 entries across 25 versions & 1 rubygems

Version Path
muck-raker-0.2.11 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.2.10 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.2.9 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.2.8 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.2.7 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.2.6 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.2.5 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.2.4 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.2.3 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.2.2 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.2.0 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.1.49 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.1.48 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.1.47 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.1.46 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.1.45 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.1.43 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.1.42 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.1.41 app/views/oai_endpoints/_oai_endpoint_row.html.erb
muck-raker-0.1.40 app/views/oai_endpoints/_oai_endpoint_row.html.erb