This commit is contained in:
r888888888
2014-04-17 14:17:11 -07:00
parent fad0ab7c93
commit 90f3156a73
5 changed files with 27 additions and 9 deletions

View File

@@ -6,7 +6,11 @@
<h1 id="wiki-page-title"><%= @wiki_page_version.pretty_title %> <span class="version">(<%= time_ago_in_words_tagged(@wiki_page_version.updated_at) %>)</span></h1>
<div id="wiki-page-body" class="dtext prose">
<%= format_text(@wiki_page_version.body) %>
<% if @wiki_page_version.visible? %>
<%= format_text(@wiki_page_version.body) %>
<% else %>
<p>This artist has requested removal of their information.</p>
<% end %>
</div>
</section>
</div>

View File

@@ -13,16 +13,20 @@
</h1>
<div id="wiki-page-body" class="prose">
<%= format_text(@wiki_page.body) %>
<% if @wiki_page.visible? %>
<%= format_text(@wiki_page.body) %>
<% if @wiki_page.artist %>
<p><%= link_to "View artist", @wiki_page.artist %></p>
<% if @wiki_page.artist %>
<p><%= link_to "View artist", @wiki_page.artist %></p>
<% end %>
<%= wiki_page_alias_and_implication_list(@wiki_page) %>
<% else %>
<p>This artist has requested removal of their information.</p>
<% end %>
<%= wiki_page_alias_and_implication_list(@wiki_page) %>
</div>
<%= wiki_page_post_previews(@wiki_page) %>
<%= wiki_page_post_previews(@wiki_page) %>
</section>
</div>
</div>