diff --git a/app/views/codebooks/show.html.erb b/app/views/codebooks/show.html.erb index 66082fd..40f8f82 100644 --- a/app/views/codebooks/show.html.erb +++ b/app/views/codebooks/show.html.erb @@ -10,12 +10,12 @@ <% end %>

Derived categories:

- + <% if @categories_histogram %> <% if @enqueued_at %>

Category derivation was started at <%= @enqueued_at %>. Please allow up to 2 minutes for the process to complete. You can reload the page to monitor progress.

<% end %> - + <% if @total_codes.to_i > 0 %> <% end %> - + <% unless @enqueued_at %> <%= button_to "Derive Categories", codebook_enqueue_categories_path(@context, params: { enqueued: true }, method: :put ) %> <% end %> - -

tmi-graph query:

-

- <%= Codebook.category_query(@context_key)[:explainer] %>
- <%= Codebook.category_query(@context_key)[:query] %> -

+ + <% if @categories_histogram.keys.any? %> +

tmi-graph query:

+

+ <%= Codebook.category_query(@context_key)[:explainer] %>
+ <%= Codebook.category_query(@context_key)[:query] %> +

+ <% end %> <% else %>

By design, identities are not categorized.

<% end %> - +

Alphabetically