Skip to content

Commit

Permalink
Display count of model variants
Browse files Browse the repository at this point in the history
  • Loading branch information
ujh committed Apr 25, 2024
1 parent c026bc1 commit 5551247
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions app/views/admins/dashboards/show.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,24 @@ table class="table table-striped"
td
table
tr
td= CollectedPen.count
td style="text-align:right"= CollectedPen.count
td
tr
td style="text-align:right"= Pens::MicroCluster.count
td
= "#{Pens::MicroCluster.count} micro clusters"
|  
| micro clusters
- if @stats.pens_micro_clusters_to_assign_count.positive?
b
| (
|  
= link_to "#{@stats.pens_micro_clusters_to_assign_count} to assign", admins_pens_micro_clusters_path
| )
tr
td style="text-align:right"= Pens::ModelVariant.count
td
|  
| model variants
tr
td Number of "Currently Inked"
td= CurrentlyInked.count
Expand Down

0 comments on commit 5551247

Please sign in to comment.