a
    Døgª  ã                   @   s    d dl mZ G dd„ deƒZdS )é    )ÚStatusSidePanelc                       s   e Zd Z‡ fdd„Z‡  ZS )ÚSnippetStatusSidePanelc                    s>   t ƒ  ˆ ¡}g d¢}| ‡ fdd„|D ƒ¡ |  |¡|d< |S )N)	ÚviewZworkflow_history_urlZrevisions_compare_url_nameZrevision_enabledZdraftstate_enabledZlock_urlZ
unlock_urlZuser_can_lockZuser_can_unlockc                    s   i | ]}|ˆ   |¡“qS © )Úget)Ú.0Úk©Úparent_contextr   ú[/var/www/lab.imftr.de/x/nb_venv/lib/python3.9/site-packages/wagtail/snippets/side_panels.pyÚ
<dictcomp>   ó    z;SnippetStatusSidePanel.get_context_data.<locals>.<dictcomp>Zstatus_templates)ÚsuperÚget_context_dataÚupdateZget_status_templates)Úselfr
   ÚcontextZinherit©Ú	__class__r	   r   r      s
    z'SnippetStatusSidePanel.get_context_data)Ú__name__Ú
__module__Ú__qualname__r   Ú__classcell__r   r   r   r   r      s   r   N)Zwagtail.admin.ui.side_panelsr   r   r   r   r   r   Ú<module>   s   