Skip to content

Commit 01c0d35

Browse files
committed
Display message when no sources defined
1 parent 726447e commit 01c0d35

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

app/views/content_providers/show.html.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@
7878
<% end %>
7979

8080
<%= render partial: 'common/masonry_grid', locals: { objects: sources } %>
81+
<% if sources.empty? %>
82+
<span class="muted">No sources defined</span>
83+
<% end %>
8184
</div>
8285
<% end %>
8386
</div>

0 commit comments

Comments
 (0)