seitime-frappe/frappe/templates/includes/list/list.html
ci2014 3d7d8044b0 Update list.html
Add _() to More Button, to translate the button.
2017-08-09 18:42:56 +02:00

26 lines
891 B
HTML

{% if sub_title %}
<p class="lead">{{ sub_title }}</p>
{% endif %}
{% if not result -%}
<div class="text-muted no-results" style="min-height: 300px;">
<i class="mega-octicon octicon-telescope"></i>
{{ no_result_message or _("Nothing to show") }}
</div>
{% else %}
<div class="website-list" data-doctype="{{ doctype }}"
data-txt="{{ txt or '[notxt]' }}">
<!-- {% if not hide_filters -%}
{% include "templates/includes/list/filters.html" %}
{%- endif %} -->
{% if result_heading_template %}{% include result_heading_template %}{% endif %}
<div class="result">
{% for item in result %}
{{ item }}
{% endfor %}
</div>
<div class="more-block {% if not show_more -%} hide {%- endif %}">
<button class="btn btn-default btn-more btn-sm">{{ _("More") }}</button>
</div>
</div>
{%- endif %}