add archive frontend table class

This commit is contained in:
Spen 2013-11-18 16:38:06 +08:00 committed by Manson Wang
parent d1fd2b6984
commit 385e77f189
1 changed files with 4 additions and 4 deletions

View File

@ -8,15 +8,15 @@
<tr>
<th class="column-ctrl col-title"><%= sortable(:title, t("archive.Title"))%></th>
<th class="column-ctrl col-file"><%= t("archive.Files")%></th>
<th class="column-ctrl col-file"><%= t(:promoter)%></th>
<th class="column-ctrl col-promoter"><%= t(:promoter)%></th>
</tr>
</thead>
<tbody>
<% @archive_files.each_with_index do |post,i| %>
<tr <% if ( (i + 1) % 2 ) == 0 %> class="even" <% end %>>
<td><div class="o-archives-title"><%= post.title %></div></td>
<td>
<td class="col-title"><div class="o-archives-title"><%= post.title %></div></td>
<td class="col-file">
<div class="o-archives-list-item">
<% if !post.archive_file_multiples.blank? %>
<ol>
@ -32,7 +32,7 @@
<% end %>
</div>
</td>
<td>
<td class="col-promoter">
<% unless post.get_users.blank? %>
<div class="promoter-block">
<ul>