Skip to content

Commit

Permalink
ENHANCE: Add warnings to alignment editor when no tasks or ILOs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcu committed Mar 5, 2016
1 parent a2936e5 commit 3653f78
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,15 @@ <h3 class="panel-title">
</div><!--/heading-->

<div class="panel-body">
<table class="table table-task-alignment col-sm-12">
<div class="large-notice-block" ng-hide="tasks.length > 0">
<i class="fa fa-2x fa-tasks"></i>
<p>No tasks in this unit</p>
</div>
<div class="large-notice-block" ng-hide="unit.ilos.length > 0">
<i class="fa fa-2x fa-graduation-cap"></i>
<p>No learning outcomes in this unit</p>
</div>
<table class="table table-task-alignment col-sm-12" ng-hide="tasks.length == 0 || unit.ilos.length == 0">
<thead>
<tr>
<th class="task" colspan="{{(showTaskName ? 3 : 2) - (source === unit ? 1 : 0)}}">Task</th>
Expand Down

0 comments on commit 3653f78

Please sign in to comment.