| |
1 |
1 |
<master> |
| |
2 |
2 |
<property name="title">@title;noquote@</property> |
| |
3 |
3 |
<property name="context">@context;noquote@</property> |
| |
4 |
4 |
|
| |
5 |
5 |
<include src="/packages/assessment/lib/section-links" assessment_id="@assessment_id@" tab="@tab@"> |
| |
6 |
6 |
|
| |
|
7 |
<if @sections:rowcount@ eq 0> |
| |
|
8 |
<p> |
| |
|
9 |
<font color=red><b>#assessment.add_section_first#</b></font> |
| |
|
10 |
<br><a class="button" href="section-form?assessment_id=@assessment_id@&after=0">Create a new section</a> |
| |
|
11 |
</p> |
| |
|
12 |
</if> |
| |
|
13 |
<else> |
| |
7 |
14 |
<multiple name="sections"> |
| |
8 |
|
<h3><a name="@sections.sort_order@">#assessment.Section_Number#: @sections.title@</a></h3> |
| |
9 |
|
<a class="button" href="@section_form_edit_url@">#assessment.Edit#</a> |
| |
|
15 |
<a name="S@sections.section_id@"><h3>#assessment.Section_Number#</h3> |
| |
|
16 |
<a class="button" href="section-form?section_id=@sections.section_id@&assessment_id=@assessment_id@">#assessment.Edit#</a> |
| |
10 |
17 |
|
| |
11 |
18 |
<a class=button href="@section_form_add_url@">#assessment.add_new_section#</a> |
| |
12 |
19 |
<a class=button href="@catalog_section_url@">#assessment.Search_Section#</a> |
| |
13 |
20 |
<if @sections.display_type_id@ not nil><a class=button href="@section_display_form_url@">#assessment.edit_section_display#</a></if> |
| |
14 |
21 |
<a class=button href="@section_preview_url@">#assessment.section_preview#</a> |
| |
15 |
22 |
|
| |
16 |
23 |
<if @sections.sort_order@ lt @max_sort_order@> |
| |
17 |
24 |
<a href="@section_swap_down_url@"><img src="/resources/assessment/down.gif" style="border: 0;" alt="#assessment.Move_Down#"></a> |
| |
18 |
25 |
</if> |
| |
19 |
26 |
<if @sections.sort_order@ gt 1> |
| |
20 |
27 |
<a href="@section_swap_up_url@"><img src="/resources/assessment/up.gif" style="border: 0;" alt="#assessment.Move_Up#"></a> |
| |
21 |
28 |
</if> |
| |
22 |
29 |
|
| |
23 |
30 |
<a href="@section_delete_url@"><img src="/resources/acs-subsite/Delete16.gif" style="border: 0;" alt="#assessment.remove_section#"></a> |
| |
24 |
31 |
<if @sections.max_time_to_complete@ not nil> (#assessment.max_time# @sections.max_time_to_complete@) </if> |
| |
25 |
32 |
(@sections.points@ #assessment.points#) |
| |
26 |
33 |
|
| |
27 |
34 |
<if @admin_trigger_p@> |
| |
28 |
35 |
<a class=button href="@checks_admin_url@">#assessment.admin_triggers#</a> |
| |
29 |
36 |
<a class=button href="@add_edit_section_check_url@">#assessment.add_section_trigger#</a> |
| |
30 |
37 |
</if> |
| |
31 |
38 |
|
| |
32 |
39 |
<img src="/resources/assessment/spacer.gif" style="border: 0;" alt="" width="10"> |
| |
33 |
40 |
<fieldset> |
| |
34 |
41 |
<legend>#assessment.Items#</legend> |
| |
35 |
42 |
<include src="/packages/assessment/lib/section-items" assessment_id="@assessment_id@" section_id="@sections.section_id@" admin_trigger_p="@admin_trigger_p@"> |
| |
36 |
43 |
</fieldset> |
| |
37 |
44 |
</multiple> |
| |
38 |
|
|
| |
|
45 |
</else> |