Skip to content

Commit

Permalink
related resources 2.9 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Sep 11, 2023
1 parent 970f38a commit 6ddbb58
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{% endif %}

<div class="accordion mrgn-tp-lg mrgn-bttm-lg">
{%- if (not data.related_type) or c.action=='new_resource' -%}
{%- if (not data.related_type) or c.action=='new' -%}
<details class="acc-group" open="open">
<summary class="wb-toggle tgl-tab" data-toggle='{"parent": ".accordion", "group": ".acc-group"}'>
{{ _("Metadata Fields for Resources Only (Not for Related Items)") }}
Expand All @@ -36,7 +36,7 @@
</div>
</details>
{% endif %}
{%- if data.related_type or c.action=='new_resource' -%}
{%- if data.related_type or c.action=='new' -%}
<details class="acc-group" {% if data.related_type %}open="open"{% endif %}>
<summary class="wb-toggle tgl-tab" data-toggle='{"parent": ".accordion", "group": ".acc-group"}'>
{{ _("Metadata Fields for Related Items Only") }}
Expand Down

0 comments on commit 6ddbb58

Please sign in to comment.