Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Improvements after review

Anna Siwikb62036eeebe5
diff --git a/templates/dashboard/base_modal.html b/templates/dashboard/base_modal.html
index d0d419548a..e326c4393c 100644
--- a/templates/dashboard/base_modal.html
+++ b/templates/dashboard/base_modal.html
@@ -23,7 +23,7 @@
{% block cancel_action %} {% trans "Cancel" context "Dashboard modal cancel action" %} {% endblock %}
</a>
<button type="submit" class="modal-action btn-flat waves-effect">
- {% block primary_action %} {% trans "Submit" context "Dashboard modal primary action" %} {% endblock %}
+ {% block primary_action %}{% endblock %}
</button>
</div>
</form>
diff --git a/templates/dashboard/customer/modal/confirm_promote.html b/templates/dashboard/customer/modal/confirm_promote.html
index b48a534b13..e51ed0f78d 100644
--- a/templates/dashboard/customer/modal/confirm_promote.html
+++ b/templates/dashboard/customer/modal/confirm_promote.html
@@ -13,7 +13,9 @@
{% endblock %}
{% block content %}
-{% trans "Are you sure?" context "Modal promote to staff member text" %}
+{% blocktrans trimmed with customer=customer context "Modal promote to staff member text" %}
+Are you sure you want to promote {{ customer }} to staff member?
+{% endblocktrans %}
{% endblock %}
{% block primary_action %}