Development (#250)
* Fixed fonts * Fixed assets * Fixed logo in emails * Switched to immediate email delivery * Fixed prod emails and added deployment tasks * Fixed deployments * Updated README * Added Bike Collectives Core to README * Fixed issue with map loading * Fixed issue with map loading * Added map JSON data to assets precompilation * Fixed error sending to conference administrators * Let error report signature wrap * Fixed backtrace in error reports * Fixed backtrace in error reports * Moved pronoun heading to make it more obvoius I moved the "Pronoun" heading directly above the input field. It turned out that a lot of users were entering "He or "She" in the name field, I believe that was because of the placement of the "Pronoun" heading. I also needed to remove the optional warning but I'm hoping that won't cause problems. * Added an error message when no email address is used on login * Fixed select guest table * Added house rules to housing admin and review * Edit workshop locale warning
This commit is contained in:
@@ -8,15 +8,22 @@
|
||||
|
||||
- first_row = true
|
||||
%table.hosts.admin-edit
|
||||
- @hosts.each do |id, registration|
|
||||
- unless first_row
|
||||
%tr.spacer
|
||||
%td
|
||||
%tr.host
|
||||
%th
|
||||
.name=registration.user.name
|
||||
.address=registration.housing_data['address']
|
||||
- if registration.housing_data['notes'].present?
|
||||
.host-notes=paragraph(registration.housing_data['notes'])
|
||||
%td.inner-table{colspan: 2}=host_guests_table(registration)
|
||||
- first_row = false
|
||||
- @hosts.sort_by{ |id, registration| registration.user.name }.each do |id, registration|
|
||||
- if @housing_data[id][:space].map { |k,v| v }.sum > 0
|
||||
- unless first_row
|
||||
%tr.spacer
|
||||
%td
|
||||
%tr.host
|
||||
%th
|
||||
.name=registration.user.name
|
||||
.address=location_link(Location.find_location(registration.housing_data['address'], @this_conference.city))
|
||||
- if registration.housing_data['notes'].present?
|
||||
.host-notes=paragraph(registration.housing_data['notes'])
|
||||
- if registration.housing_data['info'].present?
|
||||
%div=_'articles.conference_registration.headings.housing.Rules', :t
|
||||
.house-rules
|
||||
=richtext(registration.housing_data['info'], 4)
|
||||
|
||||
%td.inner-table{colspan: 2}
|
||||
=host_guests_table(registration)
|
||||
- first_row = false
|
||||
|
||||
Reference in New Issue
Block a user