diff --git a/tailbone/templates/master/view_row.mako b/tailbone/templates/master/view_row.mako index bd5a52d3..39bbfdb0 100644 --- a/tailbone/templates/master/view_row.mako +++ b/tailbone/templates/master/view_row.mako @@ -4,7 +4,7 @@ <%def name="title()">${model_title} <%def name="content_title()"> -

${instance}

+

${row_title}

<%def name="context_menu_items()"> diff --git a/tailbone/views/master.py b/tailbone/views/master.py index b48afa8f..c5573397 100644 --- a/tailbone/views/master.py +++ b/tailbone/views/master.py @@ -1731,12 +1731,14 @@ class MasterView(View): return self.render_to_response('view_row', { 'instance': row, 'instance_title': self.get_instance_title(parent), + 'row_title': self.get_row_instance_title(row), 'instance_url': self.get_action_url('view', parent), 'instance_editable': self.row_editable(row), 'instance_deletable': self.row_deletable(row), 'rows_creatable': self.rows_creatable and self.rows_creatable_for(parent), 'model_title': self.get_row_model_title(), 'model_title_plural': self.get_row_model_title_plural(), + 'parent_instance': parent, 'parent_model_title': self.get_model_title(), 'action_url': self.get_row_action_url, 'form': form})