mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
small tweak to hide broken stuff for now :)
This commit is contained in:
parent
eb056db457
commit
6e5ce5b935
@ -539,17 +539,20 @@
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="whitespace-nowrap inline-block">
|
||||
in
|
||||
<div class="inline-block mr-4">
|
||||
<i class="material-icons float-left mr-0.5 <%= Universe.text_color %>"><%= Universe.icon %></i>
|
||||
<% total_universe_count = content.select { |doc| doc.universe_id? }.count %>
|
||||
<span class="text-sm">
|
||||
<strong class="font-bold text-gray-700"><%= number_with_delimiter total_universe_count %></strong>
|
||||
<%= 'universe'.pluralize(total_universe_count) %>
|
||||
</span>
|
||||
<% if false && content.any? { |content_page| content_page.page_type != Universe.name } %>
|
||||
<div class="whitespace-nowrap inline-block">
|
||||
in
|
||||
<div class="inline-block mr-4">
|
||||
<i class="material-icons float-left mr-0.5 <%= Universe.text_color %>"><%= Universe.icon %></i>
|
||||
<%# todo this is broken because we don't actually set universe on ContentPage imports %>
|
||||
<% total_universe_count = content.reject { |page| page.universe.nil? }.count %>
|
||||
<span class="text-sm">
|
||||
<strong class="font-bold text-gray-700"><%= number_with_delimiter total_universe_count %></strong>
|
||||
<%= 'universe'.pluralize(total_universe_count) %>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user