Sha256: 6ff847900812a4d4756a2b5e5795fd82f2173efefaeb29aced5aaeb36916ef21

Contents?: true

Size: 694 Bytes

Versions: 9

Compression:

Stored size: 694 Bytes

Contents

<% @page_title = 'Page Not Found' %>
<h2>Oops</h2>

<p>Sorry we could not find the page you we looking for!</p>

<p>Here are some alternative suggestions</p>

<ul>
  <li><a href="/sitemap">Sitemap</a></li>
</ul>

<% unless Document.with_state(:published).empty? %>
  <h3>Recent pages</h3>


  <p>Updated <%= time_ago_in_words Document.with_state(:published).latest.first.updated_at %> ago</p>

  <ol id="latest_pages">
    <% Document.with_state(:published).latest.only(10).each do |page| %>
      <li>
        [<%= page.label.titleize %>] <a href="<%= document_path(page) %>"><%= page.title %></a>
      </li>
    <% end %>
  </ol>
<% else %>
  <p> No pages have been added yet</p>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
qcms-2.1.0 app/views/pages/404.html.erb
qcms-2.0.0 app/views/pages/404.html.erb
qcms-1.3.10 app/views/pages/404.html.erb
qcms-1.3.9 app/views/pages/404.html.erb
qcms-1.3.8 app/views/pages/404.html.erb
qcms-1.3.7 app/views/pages/404.html.erb
qcms-1.3.6 app/views/pages/404.html.erb
qcms-1.3.5 app/views/pages/404.html.erb
qcms-1.3.3 app/views/pages/404.html.erb