Skip to content

Commit

Permalink
Display message when no sources defined
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacall committed Mar 16, 2023
1 parent 726447e commit 01c0d35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/content_providers/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@
<% end %>

<%= render partial: 'common/masonry_grid', locals: { objects: sources } %>
<% if sources.empty? %>
<span class="muted">No sources defined</span>
<% end %>
</div>
<% end %>
</div>
Expand Down

0 comments on commit 01c0d35

Please sign in to comment.