{% extends 'wagtailadmin/shared/side_panels/includes/action_list_item.html' %}
{% load wagtailadmin_tags i18n %}

{% block content %}
    {% trans 'Locking: ' as screen_reader_title_prefix %}

    {% if lock %}
        {% with icon_name=lock_context.icon title=lock_context.locked_by help_text=lock_context.description %}
            {{ block.super }}
        {% endwith %}
    {% else %}
        {% trans 'Unlocked' as title %}

        {% if user_can_lock %}
            {% blocktrans trimmed with model_name=b