Conflicts: cms/djangoapps/contentstore/views/item.py cms/djangoapps/contentstore/views/tests/test_container.py cms/djangoapps/contentstore/views/tests/test_tabs.py common/lib/xmodule/xmodule/modulestore/mongo/draft.py lms/djangoapps/certificates/management/commands/gen_cert_report.py lms/djangoapps/certificates/queue.py lms/djangoapps/certificates/views.py lms/djangoapps/courseware/module_render.py lms/djangoapps/courseware/tests/test_module_render.py lms/djangoapps/instructor/views/api.py lms/djangoapps/instructor/views/instructor_dashboard.py lms/djangoapps/instructor/views/legacy.py lms/djangoapps/shoppingcart/tests/test_models.py lms/djangoapps/verify_student/views.py
28 lines
1.1 KiB
HTML
28 lines
1.1 KiB
HTML
<%!
|
|
from django.utils.translation import ugettext as _
|
|
from contentstore.views.helpers import xblock_studio_url
|
|
%>
|
|
<%namespace name='static' file='static_content.html'/>
|
|
|
|
<section class="wrapper-xblock xblock-type-container level-element" data-locator="${xblock.location}" data-course-key="${xblock.location.course_key}">
|
|
<header class="xblock-header">
|
|
<div class="header-details">
|
|
${xblock.display_name_with_default}
|
|
</div>
|
|
<div class="header-actions">
|
|
<ul class="actions-list">
|
|
<li class="action-item action-view">
|
|
<a href="${xblock_studio_url(xblock)}" class="action-button">
|
|
## Translators: this is a verb describing the action of viewing more details
|
|
<span class="action-button-text">${_('View')}</span>
|
|
<i class="icon-arrow-right"></i>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</header>
|
|
% if not xblock_context['read_only']:
|
|
<span data-tooltip="${_("Drag to reorder")}" class="drag-handle"></span>
|
|
% endif
|
|
</section>
|