diff --git a/xadmin/locale/zh_Hans/LC_MESSAGES/django.mo b/xadmin/locale/zh_Hans/LC_MESSAGES/django.mo index 2107c5b29..c30be597d 100644 Binary files a/xadmin/locale/zh_Hans/LC_MESSAGES/django.mo and b/xadmin/locale/zh_Hans/LC_MESSAGES/django.mo differ diff --git a/xadmin/templates/xadmin/edit_inline/base.html b/xadmin/templates/xadmin/edit_inline/base.html index 343c352d8..cf7e19447 100644 --- a/xadmin/templates/xadmin/edit_inline/base.html +++ b/xadmin/templates/xadmin/edit_inline/base.html @@ -6,7 +6,7 @@ {% block box_title %} {% if not formset.formset.detail_page %} - {% if has_add_permission %} + {% if formset.formset.max_num %} {% endif %} {% endif %}