Browse Source

Removed empty conference type lists on conference list page

development
Godwin 8 years ago
parent
commit
6d23bb784c
  1. 1
      app/views/conferences/list.html.haml

1
app/views/conferences/list.html.haml

@ -18,6 +18,7 @@
= row do = row do
= columns(medium: 12, id: :conferences, class: 'list-view') do = columns(medium: 12, id: :conferences, class: 'list-view') do
- @conference_list.each do | type, list | - @conference_list.each do | type, list |
- if list.present?
%h3=_"articles.conferences.headings.types.#{type.to_s}", :t %h3=_"articles.conferences.headings.types.#{type.to_s}", :t
%ul %ul
- list.each do | conference | - list.each do | conference |

Loading…
Cancel
Save