diff --git a/treemodeladmin/templates/treemodeladmin/includes/tree_result_row.html b/treemodeladmin/templates/treemodeladmin/includes/tree_result_row.html index f356a6f..4da9b15 100644 --- a/treemodeladmin/templates/treemodeladmin/includes/tree_result_row.html +++ b/treemodeladmin/templates/treemodeladmin/includes/tree_result_row.html @@ -1,15 +1,24 @@ -{% load modeladmin_tags %} +{% load modeladmin_tags wagtailadmin_tags %} + {% for item in result %} {% result_row_value_display forloop.counter0 %} {% endfor %} {% if children.count > 0 %} - Explore {{ obj }}'s {{ view.child_name_plural }} + {% icon name="arrow-right" classname="default" %} {% else %} - Add a {{ obj }} {{ view.child_name }} + {% icon name="plus-inverse" classname="default" %} {% endif %}