-@title@ Administration
+@title@ #assessment.Administration#
-After this Assessment:
+#assessment.after_this_asm#
-Immediately
+#assessment.immediately#
-Manually
+#assessment.manually#
-Branches
+#assessment.branches#
Index: openacs-4/packages/assessment/www/admin/checks-admin.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/admin/Attic/checks-admin.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/assessment/www/admin/checks-admin.tcl 24 Jan 2005 17:45:56 -0000 1.1
+++ openacs-4/packages/assessment/www/admin/checks-admin.tcl 25 Jan 2005 22:03:44 -0000 1.2
@@ -2,7 +2,7 @@
This page allows to add branches or actions to the question and its choices.
- @author Anny Flore (annyflores@viaro.net) Viaro Networks (www.viaro.net)
+ @author Anny Flores (annyflores@viaro.net) Viaro Networks (www.viaro.net)
@date 2005-01-07
} {
assessment_id:integer
@@ -19,8 +19,8 @@
ad_script_abort
}
-set title "$assessment_data(title) Triggers"
-set context_bar [ad_context_bar [list "one-a?assessment_id=$assessment_id" $title] "$title Triggers"]
+set title "$assessment_data(title) \#assessment.triggers\#"
+set context_bar [ad_context_bar [list "one-a?assessment_id=$assessment_id" $title] "$title \#assessment.triggers\#"]
db_multirow aa_checks get_aa_checks {}
@@ -29,7 +29,7 @@
-multirow aa_checks \
-key inter_item_check_id \
-bulk_actions {
- "Delete" "confirm-delete" "Delete checked items"
+ "\#assessment.Delete\#" "confirm-delete" "\#assessment.delete_checked\#"
}\
-bulk_action_method post \
-bulk_action_export_vars {
@@ -38,16 +38,16 @@
section_id
{type_check t}
}\
- -row_pretty_plural "assessment triggers" \
+ -row_pretty_plural "[_ assessment.Assessment] [_ assessment.triggers]" \
-elements {
name {
- label "Name"
+ label "[_ assessment.Name]"
display_template {
@aa_checks.name@
}
}
action_name {
- label "Action To Perform"
+ label "[_ assessment.action_to_perform]"
}
counter {
display_template {
@@ -57,7 +57,7 @@
- Notify user
+ #assessment.notify_user#
}
@@ -71,7 +71,7 @@
-multirow i_checks \
-key inter_item_check_id \
-bulk_actions {
- "Delete" "confirm-delete" "Delete checked items"
+ "\#assessment.Delete\#" "confirm-delete" "\#assessment.delete_checked\#"
}\
-bulk_action_method post \
-bulk_action_export_vars {
@@ -80,16 +80,16 @@
section_id
{type_check t}
}\
- -row_pretty_plural "assessment triggers" \
+ -row_pretty_plural "[_ assessment.Assessment] [_ assessment.triggers]" \
-elements {
name {
- label "Name"
+ label "[_ assessment.Name]"
display_template {
@i_checks.name@
}
}
action_name {
- label "Action To Perform"
+ label "[_ assessment.action_to_perform]"
}
inter_item_check_id {
display_template {
@@ -99,7 +99,7 @@
- Notify user
+ #assessment.notify_user#
}
}
}
@@ -112,7 +112,7 @@
-multirow m_checks \
-key inter_item_check_id \
-bulk_actions {
- "Delete" "confirm-delete" "Delete checked items"
+ "\#assessment.Delete\#" "confirm-delete" "\#assessment.delete_checked\#"
}\
-bulk_action_method post \
-bulk_action_export_vars {
@@ -121,20 +121,20 @@
section_id
{type_check t}
}\
- -row_pretty_plural "assessment triggers" \
+ -row_pretty_plural "[_ assessment.Assessment] [_ assessment.triggers]" \
-elements {
name {
- label "Name"
+ label "[_ assessment.Name]"
display_template {
@m_checks.name@
}
}
action_name {
- label "Action To Perform"
+ label "[_ assessment.action_to_perform]"
}
inter_item_check_id {
display_template {
- Notify user
+ #assessment.notify_user#
}
}
}
@@ -145,7 +145,7 @@
-multirow branches \
-key inter_item_check_id \
-bulk_actions {
- "Delete" "confirm-delete" "Delete checked items"
+ "\#assessment.Delete\#" "confirm-delete" "\#assessment.delete_checked\#"
}\
-bulk_action_method post \
-bulk_action_export_vars {
@@ -154,16 +154,16 @@
section_id
{type_check f}
}\
- -row_pretty_plural "assessment triggers" \
+ -row_pretty_plural "[_ assessment.Assessment] [_ assessment.triggers]" \
-elements {
name {
- label "Name"
+ label "[_ assessment.Name]"
display_template {
@branches.name@
}
}
section_id_to {
- label "Goes to section"
+ label "[_ assessment.goes_to_section]"
display_col sname
}
Index: openacs-4/packages/assessment/www/admin/index.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/admin/Attic/index.adp,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/assessment/www/admin/index.adp 10 Jan 2005 19:04:22 -0000 1.5
+++ openacs-4/packages/assessment/www/admin/index.adp 25 Jan 2005 22:03:44 -0000 1.6
@@ -2,7 +2,10 @@
@title;noquote@
@context;noquote@
-#assessment.admin_categories#
+#assessment.admin_categories#
+| #assessment.admin_actions# | #assessment.admin_requests#
+
Index: openacs-4/packages/assessment/www/admin/one-a.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/admin/Attic/one-a.adp,v
diff -u -r1.11 -r1.12
--- openacs-4/packages/assessment/www/admin/one-a.adp 24 Jan 2005 15:09:45 -0000 1.11
+++ openacs-4/packages/assessment/www/admin/one-a.adp 25 Jan 2005 22:03:44 -0000 1.12
@@ -82,6 +82,7 @@
#assessment.Copy_this_assess# #assessment.Lets_you_use_this_a#
+
@@ -106,6 +107,9 @@
#assessment.edit_section_display#
+#assessment.admin_triggers#
+
Index: openacs-4/packages/assessment/www/admin/request-notification.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/admin/Attic/request-notification.adp,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/assessment/www/admin/request-notification.adp 24 Jan 2005 17:52:14 -0000 1.1
+++ openacs-4/packages/assessment/www/admin/request-notification.adp 25 Jan 2005 22:03:44 -0000 1.2
@@ -1,3 +1,4 @@
+@title@
\ No newline at end of file
Index: openacs-4/packages/assessment/www/admin/request-notification.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/admin/Attic/request-notification.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/assessment/www/admin/request-notification.tcl 24 Jan 2005 17:52:14 -0000 1.1
+++ openacs-4/packages/assessment/www/admin/request-notification.tcl 25 Jan 2005 22:03:44 -0000 1.2
@@ -8,6 +8,8 @@
assessment_id
section_id
}
+set check_name [db_string get_name {}]
+set title "[_ assessment.request_notif] $check_name"
form create notify
set type "as_inter_item_checks_notif"
@@ -63,26 +65,25 @@
-key request_id\
-bulk_actions\
{
- "Unsubscribe" "unsubscribe" "Unsubscribe user to this rule"
+ "\#assessment.unsubscribe\#" "unsubscribe" "\#assessment.unsubscribe_user\#"
}\
-bulk_action_method post -bulk_action_export_vars {
inter_item_check_id
type_id
assessment_id
section_id
}\
- -no_data "There are no users to notify"\
+ -no_data "\#assessment.there_are_no_users\#"\
-row_pretty_plural "notify_users"\
-elements {
name {
- label "UserName"
+ label "[_ assessment.User_ID] [_ assessment.Name]"
}
interval_name {
- label "Interval"
-
+ label "[_ notifications.lt_Notification_Interval]"
}
delivery_name {
- label "Delivery Method"
+ label "[_ notifications.Delivery_Method]"
}
}
db_multirow notify_users notify_users { *SQL* }
Index: openacs-4/packages/assessment/www/admin/request-notification.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/admin/Attic/request-notification.xql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/assessment/www/admin/request-notification.xql 24 Jan 2005 17:52:14 -0000 1.1
+++ openacs-4/packages/assessment/www/admin/request-notification.xql 25 Jan 2005 22:03:44 -0000 1.2
@@ -15,5 +15,12 @@
+
+
+ select name from as_inter_item_checks where inter_item_check_id=:inter_item_check_id
+
+
+
+
Index: openacs-4/packages/assessment/www/admin/section-select.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/admin/Attic/section-select.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/assessment/www/admin/section-select.tcl 24 Jan 2005 17:53:05 -0000 1.1
+++ openacs-4/packages/assessment/www/admin/section-select.tcl 25 Jan 2005 22:03:44 -0000 1.2
@@ -1,5 +1,4 @@
ad_page_contract {
-
@author Anny Flores (annyflores@viaro.net) Viaro Networks (www.viaro.net)
@date 2005-01-07
@@ -24,7 +23,7 @@
set title $assessment_data(title)
set context_bar [ad_context_bar [list "one-a?assessment_id=$assessment_id" $title] "$title Triggers"]
-set title "Section Select"
+set title "[_ assessment.section_select]"
ad_form -name get_section -form {
inter_item_check_id:key
{assessment_id:text(hidden)
@@ -33,9 +32,9 @@
{value $section_id}}
{section_id_to:text(select)
- {label "Choose a section to branch"}
+ {label "[_ assessment.section_to_branch]"}
{options $sections_list}
- {help_text "The section where the condition will lead you."}
+ {help_text "[_ assessment.lead_you]"}
}
} -new_data {