container_xblock_component.html 1.11 KB
Newer Older
1 2 3 4 5 6 7 8 9
<%!
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="${locator}">
    <header class="xblock-header">
        <div class="header-details">
10
            ${xblock.display_name_with_default}
11 12 13 14
        </div>
        <div class="header-actions">
            <ul class="actions-list">
                <li class="action-item action-view">
15
                    <a href="${xblock_studio_url(xblock)}" class="action-button">
16 17 18 19 20 21 22 23
                        ## 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>
24 25 26 27
    ## We currently support reordering only on the unit page.
    % if reordering_enabled:
        <span data-tooltip="${_("Drag to reorder")}" class="drag-handle"></span>
    % endif
28
</section>