Skip to content

Commit

Permalink
Fix - Variable "admin" does not exist. (#6727)
Browse files Browse the repository at this point in the history
* Fix - Variable "admin" does not exist.

* Change to associationadmin.label
  • Loading branch information
ggabrovski authored Jan 2, 2021
1 parent ef02c3a commit 2ad75fe
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ This code manages the many-to-[one|many] association field popup
// populate the popup container
field_dialog_content_{{ id }}.html(html);
{% if admin.label is not empty %}
{% if associationadmin.label is not empty %}
field_dialog_title_{{ id }}.html("{{ associationadmin.label|trans({}, associationadmin.translationdomain) }}");
{% endif %}
Expand Down Expand Up @@ -170,7 +170,7 @@ This code manages the many-to-[one|many] association field popup
// populate the popup container
field_dialog_content_{{ id }}.html(html);
{% if admin.label is not empty %}
{% if associationadmin.label is not empty %}
field_dialog_title_{{ id }}.html("{{ associationadmin.label|trans({}, associationadmin.translationdomain) }}");
{% endif %}
Expand Down Expand Up @@ -212,7 +212,7 @@ This code manages the many-to-[one|many] association field popup
// populate the popup container
field_dialog_content_{{ id }}.html(html);
{% if admin.label is not empty %}
{% if associationadmin.label is not empty %}
field_dialog_title_{{ id }}.html("{{ associationadmin.label|trans({}, associationadmin.translationdomain) }}");
{% endif %}
Expand Down

0 comments on commit 2ad75fe

Please sign in to comment.