mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
got rubric creation working
This commit is contained in:
@@ -147,7 +147,7 @@
|
||||
&& planner.AssignmentNeedsUpdates(Assignment)
|
||||
)
|
||||
{
|
||||
<div>need to update canvas</div>
|
||||
<div>Need to update canvas</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -164,16 +164,8 @@
|
||||
<div class="col">
|
||||
@if(Assignment.use_template)
|
||||
{
|
||||
var template = planner.LocalCourse?.AssignmentTemplates.First((t) => t.Id == Assignment.template_id);
|
||||
if(template == null)
|
||||
{
|
||||
System.Console.WriteLine($"Could not find template fof assignment, {Assignment.template_id}");
|
||||
}
|
||||
else
|
||||
{
|
||||
var html = AssignmentTemplate.GetHtml(template, Assignment);
|
||||
@((MarkupString) html)
|
||||
}
|
||||
var html = Assignment.GetDescriptionHtml(planner.LocalCourse?.AssignmentTemplates);
|
||||
@((MarkupString) html)
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user