{# Workspace files panel. Includes: files = user's bucket objects (newest first) shared_files= shared-media objects user_bucket = display name of the user's bucket prompt = CTA text (what the paired editor is for) #} {% macro human_size(b) %} {%- if b >= 1073741824 %}{{ "%.1f GB"|format(b/1073741824) }} {%- elif b >= 1048576 %}{{ "%.1f MB"|format(b/1048576) }} {%- elif b >= 1024 %}{{ "%.0f KB"|format(b/1024) }} {%- else %}{{ b }} B{% endif -%} {% endmacro %}

Your files

bucket: {{ user_bucket }}
{% if files %} {% else %}

No saved files yet. {{ prompt | default("Work saved into your bucket will appear here when you return.") }}

{% endif %} {% if shared_files %}

Shared media

{% endif %}