This commit is contained in:
r888888888
2013-05-13 10:48:12 -07:00
parent 3ea4b8daaf
commit 050d231375
5 changed files with 5 additions and 23 deletions

View File

@@ -12,10 +12,6 @@
<% end %>
</h1>
<% if params[:redirected_from].present? %>
<div class="hint redirected-from">Redirected from <%= link_to params[:redirected_from], show_or_new_wiki_pages_path(:title => params[:redirected_from], :no_redirect => true) %>.</div>
<% end %>
<div id="wiki-page-body" class="prose">
<%= format_text(@wiki_page.body) %>

View File

@@ -4,13 +4,8 @@
<section id="content">
<h1 id="wiki-page-title"><%= params[:title] %></h1>
<% if params[:redirected_from].present? %>
<div class="hint redirected-from">Redirected from <%= link_to params[:redirected_from], show_or_new_wiki_pages_path(:title => params[:redirected_from], :no_redirect => true) %>.</div>
<% end %>
<div class="ui-corner-all ui-state-highlight notice">
This wiki page does not yet exist. <%= link_to "Create a new wiki page", new_wiki_page_path(:wiki_page => {:title => params[:title]}) %>.
<div id="wiki-page-body" class="prose">
<p>This wiki page does not exist. <%= link_to "Create new wiki page", new_wiki_page_path(:wiki_page => {:title => params[:title]}) %>.</p>
</div>
<%= wiki_page_alias_and_implication_list(@wiki_page)%>