{# User-local profiles to push, and what the hub holds. A push is a private draft unless publishing is chosen: on the hub, published means visible to everyone. #}

Your profiles

{% if local %} {% for row in local %} {% set ref = row.ref %} {% endfor %}
ProfileIn your account on {{ hub_url }}
{{ ref.name }} {{ ref.version }} {% if row.visibility == 'published' %}published{% if not row.same %}, with different content{% endif %} {% elif row.visibility == 'draft' %}your draft{% if not row.same %}, older than this{% endif %} {% else %}not on the hub{% endif %} {% if row.visibility != 'published' and not (row.visibility == 'draft' and row.same) %}
{% endif %} {% if not (row.visibility == 'published' and row.same) %}
{% endif %} {% if row.visibility == 'published' %}
{% endif %}
{% else %}

No user-local profiles; built-in profiles are on every hub already.

{% endif %}

On the hub

{% if remote %} {% for spec, target in remote %} {% endfor %}
SpecificationVisibilityHere
{{ spec.name }} {{ spec.version }}{% if spec.description %} — {{ spec.description }}{% endif %} {{ 'your draft' if spec.visibility == 'draft' else ('published by you' if spec.mine else 'published') }} {{ {'new': 'not here', 'identical': 'identical', 'differs': 'different content'}[target.kind] }} {% if target.kind == 'new' %} {% endif %}
{% else %}

Nothing on the hub yet.

{% endif %}