Author: Jonathan.Wage
Date: 2010-02-10 19:00:40 +0100 (Wed, 10 Feb 2010)
New Revision: 27834
Added:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content_slots/templates/_name.php
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content_slots/config/generator.yml
Log:
[1.4][sfSympalPlugin][1.0] Adding snippet of value field from slot in admin
slots list
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content_slots/config/generator.yml
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content_slots/config/generator.yml
2010-02-10 17:48:06 UTC (rev 27833)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content_slots/config/generator.yml
2010-02-10 18:00:40 UTC (rev 27834)
@@ -14,7 +14,7 @@
actions: ~
fields: ~
list:
- display: [=name, type]
+ display: [_name, type]
filter:
display: [name, type, content_list]
form:
Added:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content_slots/templates/_name.php
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content_slots/templates/_name.php
(rev 0)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/modules/sympal_content_slots/templates/_name.php
2010-02-10 18:00:40 UTC (rev 27834)
@@ -0,0 +1,4 @@
+<?php use_helper('Text') ?>
+
+<strong><?php echo link_to($sf_sympal_content_slot->getName(),
'@sympal_content_slots_edit?id='.$sf_sympal_content_slot->getId())
?></strong><br/>
+<small><?php echo
truncate_text(strip_tags($sf_sympal_content_slot->getValue()), 100) ?></small>
\ No newline at end of file
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.