From 5e67390354ed7471c58f1975f7a977bbed8200fc Mon Sep 17 00:00:00 2001 From: avl Date: Sun, 24 May 2009 21:59:50 +0300 Subject: [PATCH] more human readable admin --- ipf/admin/model.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ipf/admin/model.php b/ipf/admin/model.php index 5e49108..340abb1 100644 --- a/ipf/admin/model.php +++ b/ipf/admin/model.php @@ -357,7 +357,7 @@ class IPF_Admin_Model{ $context = array( 'mode'=>'add', - 'page_title'=>'Add '.$this->modelName, + 'page_title'=>'Add '.$this->verbose_name(), 'classname'=>$this->verbose_name(), 'form'=>$form, 'inlineInstances'=>$this->inlineInstances, @@ -406,7 +406,7 @@ class IPF_Admin_Model{ $context = array( 'mode'=>'change', - 'page_title'=>'Edit '.$this->modelName, + 'page_title'=>'Edit '.$this->verbose_name(), 'classname'=>$this->verbose_name(), 'object'=>$o, 'form'=>$form, @@ -540,7 +540,7 @@ class IPF_Admin_Model{ $context = array( 'orderable'=>$this->_orderable(), - 'page_title'=>$this->modelName.' List', + 'page_title'=>$this->verbose_name().' List', 'header'=>$this->header, 'objects'=>$objects, 'pager'=>$pager, -- 2.49.0