Moved history above comments

This commit is contained in:
Marcin Kurczewski 2014-10-05 21:06:43 +02:00
parent c49e9fd3f5
commit 4e2b422d43
3 changed files with 5 additions and 4 deletions

View file

@ -152,7 +152,7 @@
} }
#post-view-wrapper .post-history-wrapper { #post-view-wrapper .post-history-wrapper {
padding: 1em; padding: 1em 0;
display: none; display: none;
word-break: break-all; word-break: break-all;
} }

View file

@ -1,3 +1,4 @@
<h1>History</h1>
<table class="history"> <table class="history">
<tbody> <tbody>
<% _.each(history, function( historyEntry) { %> <% _.each(history, function( historyEntry) { %>

View file

@ -254,9 +254,6 @@
<%= postContentTemplate({post: post}) %> <%= postContentTemplate({post: post}) %>
<div id="post-comments-target">
</div>
<% if (privileges.canViewHistory) { %> <% if (privileges.canViewHistory) { %>
<div class="post-history-wrapper"> <div class="post-history-wrapper">
<%= historyTemplate({ <%= historyTemplate({
@ -265,5 +262,8 @@
}) %> }) %>
</div> </div>
<% } %> <% } %>
<div id="post-comments-target">
</div>
</div> </div>
</div> </div>