Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 390
- Log:
Initial import of Canvass, a donations-based poll application.
- Author:
- rool
- Date:
- Mon Mar 21 14:58:04 +0000 2011
- Size:
- 1108 Bytes
1 | <table border="1" cellspacing="1" cellpadding="0"> |
2 | <tr> |
3 | <th><%= Donation.human_attribute_name( :invoice_number ) %></th> |
4 | <td><%= @donation.invoice_number %></td> |
5 | </tr> |
6 | <tr> |
7 | <th><%= Donation.human_attribute_name( :updated_at ) %></th> |
8 | <td><%= @donation.updated_at %></td> |
9 | </tr> |
10 | <tr> |
11 | <th><%= Donation.human_attribute_name( :poll_title ) %></th> |
12 | <td><%= donationshelp_poll_link( @donation ) %></td> |
13 | </tr> |
14 | <tr> |
15 | <th><%= Donation.human_attribute_name( :amount_for_sorting ) %></th> |
16 | <td><%= currencyhelp_compose( @donation.currency, @donation.amount_integer, @donation.amount_fraction ) %></td> |
17 | <tr> |
18 | </table> |
19 | |
20 | <p> |
21 | <%= apphelp_view_hint( :not_tax_invoice ) %> |
22 | </p> |
23 | |
24 | <div class="buttons aligned"> |
25 | <%= |
26 | apphelp_protected_button_to( |
27 | :index, |
28 | { |
29 | :method => :user_donations_path, |
30 | :text => donationshelp_index_text( @donation.user ) |
31 | }, |
32 | { :user_id => @donation.user_id } |
33 | ) |
34 | %> |
35 | <% if ( current_user.admin? ) -%> |
36 | <%= apphelp_protected_button_to( :index, { :method => :donations_path } ) %> |
37 | <% end -%> |
38 | </div> |