Sha256: 951b519a168bb267fd9947ca4b0fe4edac4de32e88c8f56b7cea19b20d1e15bf
Contents?: true
Size: 1.78 KB
Versions: 25
Compression:
Stored size: 1.78 KB
Contents
<div id="feed-container" class="show-feed"> <%= output_errors('', {:class => 'help-box'}) %> <h1><%= t('muck.raker.feed') %>: <%= feed.title %></h1> <div><span class="label"><%= t('muck.raker.feed_id') %></span>: <%= feed.id.to_s %></div> <% if feed.display_uri != feed.uri %><div><%= t('muck.raker.feed_display_address') %></span>: <%= link_to feed.display_uri, feed.display_uri %></div><% end %> <div><span class="label"><%= t('muck.raker.feed_metadata_address') %></span>: <%= link_to feed.uri, feed.uri %></div> <div><span class="label"><%= t('muck.raker.entries_count') %></span>: <%= feed.entries_count.nil? ? "0" : feed.entries_count.to_s %></div> <div><span class="label"><%= t('muck.raker.contributor') %></span>: <%= feed_contributor_link(@feed) %></div> <% if defined?(show_admin) && show_admin -%> <% form_for(feed, :url => admin_feed_path(feed), :html => { :method => :put }) do |f| -%> <div><span class="label"><%= t('muck.raker.approval_status') %></span>: <% if feed.banned? -%> <%= hidden_field_tag :status, 'approve' %> <%= image_submit_tag '/images/icons/exclaim.png', {:width => '16', :height => '16', :alt => t('muck.raker.validate_feed') } %> <% elsif feed.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 -%> </div> <% end -%> <% end %> <hr/> <%= render :partial => 'feeds/entry', :collection => @entries %> <%= will_paginate @entries %> </div>
Version data entries
25 entries across 25 versions & 1 rubygems