This commit is contained in:
albert
2011-07-09 20:28:40 -04:00
parent a16dfdf0dd
commit 7d80057e20
5 changed files with 26 additions and 14 deletions

View File

@@ -1,5 +1,7 @@
<div id="c-comments">
<div id="a-index">
<h1>Comments</h1>
<% if @posts.empty? %>
<%= render "post_sets/blank" %>
<% end %>

View File

@@ -8,7 +8,7 @@
<% end %>
</div>
<table width="100%" class="highlightable">
<table width="100%" class="striped">
<thead>
<tr>
<th width="20%">From</th>

View File

@@ -8,7 +8,7 @@
<% end %>
</div>
<table width="100%" class="highlightable">
<table width="100%" class="striped">
<thead>
<tr>
<th width="20%">From</th>

View File

@@ -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>

View File

@@ -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>