Merge pull request #383 from ZeusWPI/fix/382

Don't hide everything if there is no locationlink
This commit is contained in:
redfast00 2020-03-24 20:05:22 +01:00 committed by GitHub
commit dee04b8cae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,20 +73,19 @@
</div>
</section>
<!-- LOCATION -->
<% if item[:locationlink] %>
<section class="section">
<div class="columns">
<div class="column is-8 is-offset-2">
<div class="content has-text-justified is-medium-responsive">
<%= yield %>
</div>
<%= render '/partials/_map.erb', location: item[:locationlink] %>
<!-- LOCATION -->
<% if item[:locationlink] %>
<%= render '/partials/_map.erb', location: item[:locationlink] %>
<% end %>
</div>
</div>
</section>
<% end %>
<!-- SPONSORED BY -->
<% if item[:sponsors] %>