Devin's changes to integrate the store

This commit is contained in:
OrbitServer committed 2012-12-06 16:06:47 +08:00
1 parent e68c52bc00
commit 9683741ec9
26 files changed
+1639 -37

No files matched your search

+17 -8
View File
@@ -1,12 +1,12 @@
<div class="main2">
<h1><%= t('list.purchase') %></h1>
<table>
<h1 class="list_title"><%= t('list.purchase') %></h1>
<table class="table main-list">
<thead>
<tr>
<td><%= t(:title) %></td>
<td><%= t(:intro) %></td>
<td><%= t(:author) %></td>
<td><%= t(:action) %></td>
<th><%= t(:title) %></th>
<th><%= t(:intro) %></th>
<th><%= t(:author) %></th>
<th><%= t(:action) %></th>
</tr>
</thead>
<%# @purchases.each do |purchase| %>
@@ -15,7 +15,7 @@
<td><%= purchase.title %></td>
<td><%= purchase.intro %></td>
<td><%= purchase.author %></td>
<td class="action">
<td>
<% if purchase.downloaded %>
<%= t(:downloaded) %>
<% else %>
@@ -25,4 +25,13 @@
</tr>
<%# end %>
</table>
</div>
</div>
<style type="text/css">
.list_title {
background: #eee;
font-weight: bold;
margin: 0;
padding: 20px 6px;
font-size: 18px;
}
</style>