{% macro get_title(name=None, prefix="", suffix="") %}
{% if prefix %}
{{ prefix ~ " - " }}
{% endif %}
{% if admin_view.category %}
{{ admin_view.category|title ~ " - " }}
{% endif %}
{{ (name or admin_view.name)|title ~ " - " }}{{ admin_view.admin.name }}
{% if suffix %}
{{ " - " ~ suffix }}
{% endif %}
{% endmacro %}
{% macro add_child_row_action(view, page_id, page) %}
{% if page.should_allow_children() %}
{% endif %}
{% endmacro %}
{% macro delete_row_action(view, row_id, row) %}
{% if view.can_delete %}
{% endif %}
{% endmacro %}
{% macro children_row_action(view, page_id, page) %}
{% set child_count = page.children.count() %}
{% if child_count %}
{{ gettext("Children") }}
{{ child_count }}
{% endif %}
{% endmacro %}