Skip to content
Snippets Groups Projects
Verified Commit 44c04681 authored by tribut's avatar tribut :man_dancing:
Browse files

Hide header if no files

parent 4bde2930
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
</ul> </ul>
<% end %> <% end %>
<% if @session.filedrop_files.any? %>
<h3 class="mt-4">Files <span class="font-normal">from Speakers' Filedrop</span></h3> <h3 class="mt-4">Files <span class="font-normal">from Speakers' Filedrop</span></h3>
<ul class="space-y-4 my-4"> <ul class="space-y-4 my-4">
<% @session.filedrop_files.each do |file| %> <% @session.filedrop_files.each do |file| %>
...@@ -38,6 +39,7 @@ ...@@ -38,6 +39,7 @@
</li> </li>
<% end %> <% end %>
</ul> </ul>
<% end %>
<h3 class="mt-4">Assigned Users</h3> <h3 class="mt-4">Assigned Users</h3>
<ul class="inline-flex flex-wrap gap-1 my-1"> <ul class="inline-flex flex-wrap gap-1 my-1">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment