Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 464
- Log:
Canvass version 1.0.2.
- Author:
- rool
- Date:
- Sat May 03 09:48:48 +0100 2014
- Size:
- 1264 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 | <% if current_user.admin? -%> |
19 | <tr> |
20 | <th><%= Donation.human_attribute_name( :notes ) %></th> |
21 | <td><%= h( @donation.notes ) %></td> |
22 | <tr> |
23 | <% end -%> |
24 | </table> |
25 | |
26 | <p> |
27 | <%= apphelp_view_hint( :not_tax_invoice ) %> |
28 | </p> |
29 | |
30 | <div class="buttons aligned"> |
31 | <%= |
32 | apphelp_protected_button_to( |
33 | :index, |
34 | { |
35 | :method => :user_donations_path, |
36 | :text => donationshelp_index_text( @donation.user ) |
37 | }, |
38 | { :user_id => @donation.user_id } |
39 | ) |
40 | %> |
41 | <% if ( current_user.admin? ) -%> |
42 | <%= apphelp_protected_button_to( :index, { :method => :donations_path } ) %> |
43 | <% end -%> |
44 | </div> |