Modified annotatable to retrieve and display instructor comments from span elements. Instructor commentaries are displayed in tooltips with a reply link when the highlighted area is clicked. The commentaries are connected to inline discussion forums by anchors (for now).
This commit is contained in:
@@ -1,22 +1,14 @@
|
||||
<div class="annotatable-wrapper" id="${element_id}-wrapper">
|
||||
|
||||
<div class="annotatable-header">
|
||||
<div class="help-icon"></div>
|
||||
% if display_name is not UNDEFINED and display_name is not None:
|
||||
<div class="annotatable-title">${display_name} </div>
|
||||
% endif
|
||||
<div class="annotatable-description">Annotated Reading + Guided Discussion</div>
|
||||
<a href="javascript:void(0)" class="annotatable-toggle">Hide Annotations</a>
|
||||
</div>
|
||||
|
||||
<div class="annotatable-content">
|
||||
${html_content}
|
||||
</div>
|
||||
<div class="annotatable-header">
|
||||
<div class="help-icon"></div>
|
||||
% if display_name is not UNDEFINED and display_name is not None:
|
||||
<div class="annotatable-title">${display_name} </div>
|
||||
% endif
|
||||
<div class="annotatable-description">Annotated Reading + Guided Discussion</div>
|
||||
<a href="javascript:void(0)" class="annotatable-toggle">Hide Annotations</a>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$('#${element_id}-wrapper').data('spans', ${json_discussion_for});
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="annotatable-content">
|
||||
${html_content}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user