We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题:actions_selection_counter=False,列表全选会有问题 错误:_actions_icnt 未定义 修改如下: {% if actions_selection_counter %} {% if cl.result_count != cl.result_list|length %} <a class="question btn btn-default" href="javascript:;" style="display: none;" title="{% trans "Click here to select the objects across all pages" %}">{% blocktrans with cl.result_count as total_count %}Select all {{ total_count }} {{ model_name }}{% endblocktrans %} {% trans "Clear selection" %} {% endif %} {% endif %} <script type="text/javascript">var _actions_icnt="{{ cl.result_list|length|default:"0" }}";</script>
The text was updated successfully, but these errors were encountered:
修改 #414
782f91e
修改 sshwsfc/xadmin#414
7c220da
No branches or pull requests
问题:actions_selection_counter=False,列表全选会有问题
错误:_actions_icnt 未定义
修改如下:
{% if actions_selection_counter %}
{% if cl.result_count != cl.result_list|length %}
<a class="question btn btn-default" href="javascript:;" style="display: none;" title="{% trans "Click here to select the objects across all pages" %}">{% blocktrans with cl.result_count as total_count %}Select all {{ total_count }} {{ model_name }}{% endblocktrans %}
{% trans "Clear selection" %}
{% endif %}
{% endif %}
<script type="text/javascript">var _actions_icnt="{{ cl.result_list|length|default:"0" }}";</script>
The text was updated successfully, but these errors were encountered: