Guest details for hosts
This commit is contained in:
@@ -326,6 +326,10 @@ table, .table {
|
||||
overflow: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
&.full {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.table-scroller {
|
||||
@@ -462,6 +466,7 @@ body.expanded-element {
|
||||
|
||||
.responsive-table {
|
||||
display: block;
|
||||
width: 100%;
|
||||
|
||||
.table-td {
|
||||
padding: 1em;
|
||||
|
||||
@@ -91,4 +91,3 @@
|
||||
= javascripts
|
||||
= inline_scripts
|
||||
= emit_js_translations
|
||||
=# javascript_include_tag :jsreader
|
||||
|
||||
@@ -47,7 +47,27 @@
|
||||
= row do
|
||||
= columns(medium: 12) do
|
||||
%h4=_'articles.conference_registration.headings.hosting_info', :t
|
||||
= richtext @host.housing_data['info']
|
||||
#house-rules{lang: @host.user.locale.to_s == I18n.locale.to_s ? nil : @host.user.locale}
|
||||
= richtext @host.housing_data['info']
|
||||
- elsif @guests
|
||||
= row do
|
||||
= columns(medium: 12) do
|
||||
%h3=_'articles.conference_registration.headings.Hosting', :t
|
||||
%p=_'articles.conference_registration.paragraphs.Hosting', :p, vars: { count: @guests.sum { |s| s.size } }
|
||||
= row do
|
||||
= columns(medium: 12) do
|
||||
%h4=_'articles.conference_registration.headings.guests', :t
|
||||
- @guests.each do |space, guests|
|
||||
%h5=_"forms.labels.generic.#{space}"
|
||||
%table.full
|
||||
- guests.each do |guest|
|
||||
%tr
|
||||
%th=guest.user.name
|
||||
%th=guest.from
|
||||
%tr
|
||||
- if guest.housing_data['other'].present?
|
||||
%td{colspan: 2, lang: guest.user.locale.to_s == I18n.locale.to_s ? nil : guest.user.locale}
|
||||
= paragraph guest.housing_data['other']
|
||||
|
||||
= row do
|
||||
= columns(medium: 12) do
|
||||
|
||||
Reference in New Issue
Block a user