Index: openacs-4/packages/simulation/www/siminst/map-tasks.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/siminst/map-tasks.tcl,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/simulation/www/siminst/map-tasks.tcl 19 Dec 2003 14:00:39 -0000 1.4
+++ openacs-4/packages/simulation/www/siminst/map-tasks.tcl 5 Jan 2004 10:31:41 -0000 1.5
@@ -24,13 +24,12 @@
sim_tasks st
where a.workflow_id = :workflow_id
and st.task_id = a.action_id
+ order by a.sort_order
} {
set description_html [ad_html_text_convert -maxlen 100 -from $description_mime_type -- $description]
set prop_missing_count [expr $attachment_num - $prop_not_empty_count]
}
-# TODO: Honor description_mime_type, fancy truncate
-
template::list::create \
-name "tasks" \
-elements {
@@ -45,9 +44,12 @@
attachment_num {
label "Number of attachments"
display_template {@tasks.attachment_num@}
+ hide_p 1
+ html { align right }
}
prop_missing_count {
label "Missing attachments"
display_template {@tasks.prop_missing_count@}
+ html { align center }
}
}