moved some donmai-specific stuff out of default config
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<h4>History for <%= @artist.name %></h4>
|
||||
<h4>Artist History</h4>
|
||||
|
||||
<div>
|
||||
<table width="100%" class="highlightable">
|
||||
@@ -16,7 +16,7 @@
|
||||
<tbody>
|
||||
<% @artist_versions.each do |artist_version| %>
|
||||
<tr class="<%= cycle 'even', 'odd' %>">
|
||||
<td><%= link_to h(artist_version.name), artist_versions_path(:artist_id => @artist.id) %></td>
|
||||
<td><%= link_to h(artist_version.name), artist_versions_path(:artist_id => artist_version.artist_id) %></td>
|
||||
<td><%= h artist_version.other_names %></td>
|
||||
<td><%= h artist_version.group_name %></td>
|
||||
<td><%= time_ago_in_words artist_version.created_at %> ago</td>
|
||||
@@ -33,14 +33,5 @@
|
||||
<%= will_paginate(@artist_versions) %>
|
||||
</div>
|
||||
|
||||
<% content_for("footer") do %>
|
||||
<li>|</li>
|
||||
<li><%= link_to "Show", artist_path(@artist) %>
|
||||
<li><%= link_to "Edit", edit_artist_path(@artist) %></li>
|
||||
<li><%= link_to "Delete", artist_path(@artist, :method => :delete) %></li>
|
||||
<li><%= link_to "History", artist_versions_path(:artist_id => @artist) %></li>
|
||||
<li><%= link_to "Posts", posts_path(:tags => @artist.name) %></li>
|
||||
<% end %>
|
||||
|
||||
<%= render :partial => "footer" %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user