Skip to content

Commit

Permalink
Switch additional workspace pills to the extra_pills block
Browse files Browse the repository at this point in the history
  • Loading branch information
amstilp committed Aug 7, 2024
1 parent 3ca24c9 commit d7d8bc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions primed/templates/cdsa/cdsaworkspace_detail.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "anvil_consortium_manager/workspace_detail.html" %}
{% load render_table from django_tables2 %}

{% block pills %}
{% block extra_pills %}
{% if workspace_data_object.gsr_restricted %}
{% include "snippets/gsr_restricted_badge.html" %}
{% endif %}
Expand All @@ -27,9 +27,7 @@
></span>
</span>
{% endif %}

{{ block.super }}
{% endblock pills %}
{% endblock extra_pills %}

{% block workspace_data %}
<dl class="row">
Expand Down
6 changes: 2 additions & 4 deletions primed/templates/dbgap/dbgapworkspace_detail.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
{% extends "anvil_consortium_manager/workspace_detail.html" %}
{% load render_table from django_tables2%}

{% block pills %}
{% block extra_pills %}
{% if workspace_data_object.gsr_restricted %}
{% include "snippets/gsr_restricted_badge.html" %}
{% endif %}


{{ block.super }}
{% endblock pills %}
{% endblock extra_pills %}

{% block workspace_data %}
<dl class="row">
Expand Down

0 comments on commit d7d8bc3

Please sign in to comment.