File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change 57
57
<% end %>
58
58
<% end %>
59
59
60
+ <% if @exercise . soft_deadline_for ( current_user ) %>
61
+ < li >
62
+ Deadline: <%= @exercise . _softdeadline_for ( current_user ) %>
63
+ <% if @exercise . soft_deadline_spec_obj . universal_description %>
64
+ (<%= @exercise . soft_deadline_spec_obj . universal_description %> )
65
+ <% end %>
66
+ <% if Exercise . deadline_expired? ( @exercise . soft_deadline_for ( current_user ) ) %>
67
+ <% if current_user . administrator? %>
68
+ (expired (if you weren't an admin))
69
+ <% else %>
70
+ (expired)
71
+ <% end %>
72
+ <% end %>
73
+ </ li >
74
+ <% end %>
75
+
60
76
<% if @exercise . deadline_for ( current_user ) %>
61
77
< li >
62
- Deadline: <%= @exercise . deadline_for ( current_user ) %>
78
+ After the deadline has passed, you can still return the exercise until <%= @exercise . deadline_for ( current_user ) %>
63
79
<% if @exercise . deadline_spec_obj . universal_description %>
64
80
(<%= @exercise . deadline_spec_obj . universal_description %> )
65
81
<% end %>
66
- <% if @exercise . expired_for? ( current_user ) %>
82
+ <% if Exercise . deadline_expired? ( @exercise . deadline_for ( current_user ) ) %>
67
83
<% if current_user . administrator? %>
68
84
(expired (if you weren't an admin))
69
85
<% else %>
70
86
(expired)
71
87
<% end %>
72
88
<% end %>
89
+ < br > However, you will only get <%= @course . soft_deadline_point_multiplier * 100 %> % of the points.
73
90
</ li >
74
91
<% end %>
75
92
You can’t perform that action at this time.
0 commit comments