{% load i18n primaryactions_tags %} {% if request.user|should_display_primary_actions_block:object %} {% endif %}