repair code reviews, improve environment configs

This commit is contained in:
Rishabh Saxena 2016-07-18 12:04:10 +05:30
parent 223a0eead9
commit 25c0046290
10 changed files with 65 additions and 67 deletions

View file

@ -93,7 +93,7 @@
-if @tickets.any?
= "(#{@tickets.first.price.symbol}#{humanized_money @total_price})"
%ul
.col.md-4
.col-md-12
- @ticket_payments.each_pair do |ticket_id, tickets|
%li
= @total_quantity[ticket_id]
@ -102,6 +102,7 @@
for
= tickets.first.price.symbol
= humanized_money tickets.first.price
%br
- if @tickets.any?
= link_to 'Buy more tickets', conference_tickets_path(@conference.short_title), class: "btn btn-default"
- else

View file

@ -29,4 +29,4 @@
%tr
%td{:colspan => "5"} No payments have been attempted.
.pull-right
= link_to "Conference Registration", conference_conference_registrations_path(@conference.short_title), class: 'btn btn-primary'
= link_to "Conference Registration", conference_conference_registration_path(@conference.short_title), class: 'btn btn-primary'