annotatable.html 1.15 KB
Newer Older
1 2
<%! from django.utils.translation import ugettext as _ %>

3
<div class="annotatable-wrapper">
4 5
	<div class="annotatable-header">
		% if display_name is not UNDEFINED and display_name is not None:
6
		  <div class="annotatable-title">${display_name}</div>
7
		% endif
8 9 10
    </div>

    % if instructions_html is not UNDEFINED and instructions_html is not None:
11
    <div class="annotatable-section shaded">
12
        <div class="annotatable-section-title">
13 14
            ${_("Instructions")}
            <a class="annotatable-toggle annotatable-toggle-instructions expanded" href="javascript:void(0)">${_("Collapse Instructions")}</a>
15 16 17 18
        </div>
        <div class="annotatable-section-body annotatable-instructions">
            ${instructions_html}
        </div>
19 20 21
    </div>
    % endif

22
    <div class="annotatable-section">
23
        <div class="annotatable-section-title">
24 25
            ${_("Guided Discussion")}
            <a class="annotatable-toggle annotatable-toggle-annotations" href="javascript:void(0)">${_("Hide Annotations")}</a>
26
        </div>
27 28 29
        <div class="annotatable-section-body annotatable-content">
            ${content_html}
        </div>
30
    </div>
31
</div>