{% load i18n %}{% comment %} Cascade partial rendered into the issuance modal when a workspace is picked. Context: workspace — the selected Workspace accounts — list of connected SocialAccounts in that workspace grantable_permissions — list of (perm_key, label) the issuer can grant {% endcomment %}
{% if accounts %}
{% for sa in accounts %} {% endfor %}

{% translate "Select at least one. The key can only act on these accounts." %}

{% else %}

{% translate "No connected accounts in this workspace. Connect one before issuing a key." %}

{% endif %}
{% if grantable_permissions %}
{% for perm_key, label in grantable_permissions %} {% endfor %}

{% translate "Only permissions you currently hold in this workspace are listed." %}

{% else %}

{% translate "You don't hold any grantable permissions in this workspace." %}

{% endif %}