views: simplify timestamp styling on wiki page versions.

This commit is contained in:
evazion
2019-09-19 02:40:51 -05:00
parent ee1a6fa96f
commit dacd5b0fc6
3 changed files with 2 additions and 8 deletions

View File

@@ -3,7 +3,8 @@
<%= render "wiki_pages/sidebar" %>
<section id="content">
<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>
<h1 id="wiki-page-title"><%= @wiki_page_version.pretty_title %></h1>
<p class="fineprint"><%= time_ago_in_words_tagged(@wiki_page_version.updated_at) %></p>
<div id="wiki-page-body" class="dtext prose">
<% if @wiki_page_version.visible? %>