fixes
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<div id="c-comments">
|
||||
<div id="a-index">
|
||||
<h1>Comments</h1>
|
||||
|
||||
<% if @posts.empty? %>
|
||||
<%= render "post_sets/blank" %>
|
||||
<% end %>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<table width="100%" class="highlightable">
|
||||
<table width="100%" class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="20%">From</th>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<table width="100%" class="highlightable">
|
||||
<table width="100%" class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="20%">From</th>
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
<%= render :partial => "wiki_pages/sidebar" %>
|
||||
|
||||
<section id="content">
|
||||
<h1>Wiki Pages</h1>
|
||||
|
||||
<table width="100%" class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -29,6 +31,10 @@
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="paginator">
|
||||
<%= numbered_paginator(@wiki_page_versions) %>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -3,23 +3,27 @@
|
||||
<%= render :partial => "sidebar" %>
|
||||
|
||||
<section id="content">
|
||||
<h1>Wiki Pages</h1>
|
||||
|
||||
<table class="striped" width="100%">
|
||||
<tr>
|
||||
<th>Title</th>
|
||||
<th>Last edited</th>
|
||||
</tr>
|
||||
<% @wiki_pages.each do |wiki_page| %>
|
||||
<thead>
|
||||
<tr>
|
||||
<td class="tag-category-<%= wiki_page.category_name %>"><%= link_to wiki_page.pretty_title, wiki_page_path(wiki_page, :nordirect => 1) %></td>
|
||||
<td><%= wiki_page.updated_at.strftime("%m/%d/%Y %I:%M") %> by <%= h wiki_page.creator.name %></td>
|
||||
<th>Title</th>
|
||||
<th>Last edited</th>
|
||||
</tr>
|
||||
<% end %>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @wiki_pages.each do |wiki_page| %>
|
||||
<tr>
|
||||
<td class="tag-category-<%= wiki_page.category_name %>"><%= link_to wiki_page.pretty_title, wiki_page_path(wiki_page, :nordirect => 1) %></td>
|
||||
<td><%= wiki_page.updated_at.strftime("%m/%d/%Y %I:%M") %> by <%= h wiki_page.creator.name %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div id="paginator">
|
||||
<%= numbered_paginator(@wiki_pages) do |page| %>
|
||||
<%= link_to(page, wiki_pages_path(:page => page, :search => params[:search])) %>
|
||||
<% end %>
|
||||
<div class="paginator">
|
||||
<%= numbered_paginator(@wiki_pages) %>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user