From: Chris W. <la...@us...> - 2004-11-28 08:15:30
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/comments/template In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5466/template Modified Files: comment_list.tmpl Log Message: ensure we actually have the object info for the description Index: comment_list.tmpl =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/comments/template/comment_list.tmpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** comment_list.tmpl 16 Feb 2004 16:19:49 -0000 1.2 --- comment_list.tmpl 28 Nov 2004 05:58:25 -0000 1.3 *************** *** 2,10 **** PROCESS status_message %] ! [% IF standalone and summary -%] <p class="commentObject"> ! [%- object_desc = PROCESS comments::comment_object( url = obj_info.url, ! title = obj_info.title ); ! MSG( 'comments.info.object', object_desc ) -%] </p> [% END -%] --- 2,11 ---- PROCESS status_message %] ! [% IF standalone and summary; ! DEFAULT obj_info = OI.object_description( object ) -%] <p class="commentObject"> ! [%- object_desc = PROCESS comments::comment_object( url = obj_info.url, ! title = obj_info.title ); ! MSG( 'comments.info.object', object_desc ) -%] </p> [% END -%] *************** *** 15,17 **** [% END -%] ! [% OI.comp( 'new_comment_form', object = object ) %] \ No newline at end of file --- 16,18 ---- [% END -%] ! [% OI.action_execute( 'new_comment_form', object = object ) %] \ No newline at end of file |