Skip to content

Commit

Permalink
Add a badge indicating the number of associated data prep workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
wkirdp committed Mar 14, 2024
1 parent a04e85d commit d327c4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions primed/templates/cdsa/cdsaworkspace_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ <h2 class="accordion-header" id="headingDataPrepWorkspace">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseDataPrepWorkspace" aria-expanded="false" aria-controls="collapseDataPrepWorkspace">
<span class="fa-solid fa-computer mx-2"></span>
Associated data prep workspaces
<span class="badge mx-2 bg-secondary pill"> {{ associated_data_prep_workspace.rows|length }}</span>
</button>
</h2>
<div id="collapseDataPrepWorkspace" class="accordion-collapse collapse" aria-labelledby="headingDataPrepWorkspace" data-bs-parent="#accordionDataPrepWorkspace">
Expand Down
1 change: 1 addition & 0 deletions primed/templates/dbgap/dbgapworkspace_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ <h2 class="accordion-header" id="headingDataPrepWorkspace">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseDataPrepWorkspace" aria-expanded="false" aria-controls="collapseDataPrepWorkspace">
<span class="fa-solid fa-computer mx-2"></span>
Associated data prep workspaces
<span class="badge mx-2 bg-secondary pill"> {{ associated_data_prep_workspace.rows|length }}</span>
</button>
</h2>
<div id="collapseDataPrepWorkspace" class="accordion-collapse collapse" aria-labelledby="headingDataPrepWorkspace" data-bs-parent="#accordionDataPrepWorkspace">
Expand Down

0 comments on commit d327c4f

Please sign in to comment.