add layout for download page
[opensuse:software-o-o.git] / app / views / promomailer / promo_order.rhtml
1 *<%=@order[:amount]%>* PromoDVDs to <%=@order[:name]%> <<%=@order[:email]%>>
2
3 CSV:
4 <% attributes = %w( title name company street1 street2 zip city county country phone email amount material deadline created_at reason ) -%>
5 <%= attributes.join(', ') %>
6 <%= attributes.map{|a| @order[a].to_s.gsub(",", "-")}.join(', ') %>
7
8 Pretty print:
9 <%=@order[:title]%> <%=@order[:name]%>
10 <%=@order[:company]%>
11 <%=@order[:street1]%>
12 <%=@order[:street2]%>
13 <%=@order[:zip]%> *<%=@order[:city]%>*
14 <%=@order[:county]%>
15 *<%=@order[:country]%>*
16
17 Email: <%=@order[:email]%>
18 Phone: <%=@order[:phone]%>
19
20 Orders:
21 <%=@order[:amount]%> PromoDVDs
22 <%=@order[:material]%>
23 until:
24 <%=@order[:deadline]%>
25
26 Reason:
27 <%=@order[:reason]%>
28
29