@@ -25,6 +25,8 @@ Example context (json):
25
25
"startdisabled": false,
26
26
"enddisabled": false,
27
27
"startoption": false,
28
+ "onlyend": false,
29
+ "disablesubmit": false,
28
30
"coursemappingenabled": true,
29
31
"nostudents": false,
30
32
"emailsentnotice": true,
@@ -41,7 +43,7 @@ Example context (json):
41
43
{ {#courses} }
42
44
{ {#.} }
43
45
<div title =" { { # str} } evacourseid, block_evasys_sync{ { /str} } { { evasyscourseid} }
44
- { { # str} } evainternalid, block_evasys_sync{ { /str} } { { technicalid} } " >
46
+ { { # str} } evainternalid, block_evasys_sync{ { /str} } { { technicalid} } " >
45
47
<span class =" emphasize" >{ {# str} }evacoursename, block_evasys_sync{ {/str} }</span > { {evasyscoursetitle} }</div >
46
48
<div >
47
49
<span class =" emphasize" >{ {# str} }countparticipants, block_evasys_sync{ {/str} }</span >
@@ -64,10 +66,6 @@ Example context (json):
64
66
{ {#coursemappingenabled} }
65
67
{ {> block_evasys_sync/coursemapping} }
66
68
{ {/coursemappingenabled} }
67
- <form action =" { { href} } " method =" post" id =" evasys_block_form" >
68
- <input type =" hidden" name =" sesskey" value =" { { sesskey} } " >
69
- <input type =" hidden" name =" courseid" value =" { { courseid} } " >
70
- { {#startdisabled} }<input id =" only_end" type =" hidden" name =" only_end" value =" true" >{ {/startdisabled} }
71
69
{ {#warning} }<div style =" color : red ; " >{ {# str} }warning_inconsistent_states, block_evasys_sync{ {/str} }</div >{ {/warning} }
72
70
{ {#emailsentnotice} }<div style =" color : limegreen ; " >{ {# str} }emailsentnotice, block_evasys_sync{ {/str} }</div >{ {/emailsentnotice} }
73
71
{ {#evaluationperiodsetnotice} }<div style =" color : limegreen ; " >{ {# str} }evalperiodsetnotice, block_evasys_sync{ {/str} }</div >{ {/evaluationperiodsetnotice} }
@@ -110,10 +108,10 @@ Example context (json):
110
108
{ {/block_evasys_sync/datetimepicker} }
111
109
</fieldset >
112
110
{ {^direct} }
113
- <input id =' evasyssubmitbutton' class =" in_box_button" type =" submit" value =" { { # str} } invitestudents, block_evasys_sync{ { /str} } " { { #enddisabled } } disabled{{ /enddisabled }} />
111
+ <input id =' evasyssubmitbutton' class =" in_box_button" type =" submit" value =" { { # str} } invitestudents, block_evasys_sync{ { /str} } " { { #disablesubmit } } disabled{{ /disablesubmit }} />
114
112
{ {/direct} }
115
113
{ {#direct} }
116
- <input id =' evasyssubmitbutton' class =" in_box_button" type =" submit" value =" { { # str} } planorstartevaluation, block_evasys_sync{ { /str} } " { { #enddisabled } } disabled{{ /enddisabled }} />
114
+ <input id =' evasyssubmitbutton' class =" in_box_button" type =" submit" value =" { { # str} } planorstartevaluation, block_evasys_sync{ { /str} } " { { #disablesubmit } } disabled{{ /disablesubmit }} />
117
115
{ {/direct} }
118
116
{ {/showcontrols} }
119
117
</form >
0 commit comments