<h5class="widget-header-desc">{{ profile.comment or "No profile description" }} </h5>
<h5class="widget-header-desc">{{ profile.comment or "No profile description" }} </h5>
</div>
</div>
...
@@ -20,21 +19,36 @@
...
@@ -20,21 +19,36 @@
<ulclass="nav nav-stacked">
<ulclass="nav nav-stacked">
{% if profiles.__len__() == 0 or not service.single_profile %}
{% if profiles.__len__() == 0 or not service.single_profile %}
{% if service.policy in ("open", "burst") and profiles.__len__() <service.max_profiles%}
{% if service.policy in ("open", "burst") and profiles.__len__() <service.max_profiles%}
<li><ahref="{{ utils.url_for("profile.create",service_uuid=service.uuid)}}"><iclass="fa fa-user-plus"></i> {% trans %}Create another profile{% endtrans %}</a></li>
<li><ahref="{{ utils.url_for("profile.create",service_uuid=service.uuid)}}"><iclass="fa fa-user-plus"></i> {% trans %}Request another profile{% endtrans %}</a></li>
<li><ahref="{{ utils.url_for("profile.create",service_uuid=service.uuid)}}"><iclass="fa fa-user-plus"></i> {% trans %}Request another profile{% endtrans %}</a></li>
{% endif %}
{% endif %}
{% if service.policy not in ("locked",) %}
{% if service.policy not in ("locked",) %}
<li><ahref="{{ utils.url_for("profile.claim",service_uuid=service.uuid)}}"><iclass="fa fa-user-plus"></i> {% trans %}Claim a profile{% endtrans %}</a></li>
<li><ahref="{{ utils.url_for("profile.claim",service_uuid=service.uuid)}}"><iclass="fa fa-user-plus"></i> {% trans %}Claim another profile{% endtrans %}</a></li>
{% endif %}
{% endif %}
{% endif %}
{% endif %}
<li><ahref="#"><iclass="fa fa-share"></i> {% trans %}Share this profile (not implemented){% endtrans %}</a></li>
{% if profile.transition %}
<li><ahref="#"><iclass="fa fa-trash"></i> {% trans %}Delete this profile (not implemented){% endtrans %}</a></li>
{% set color, status = profile.STATUSES[profile.TRANSITIONS[profile.transition][1]] %}
{% set when = profile.transition_delta(True) %}
<li>
<ahref="#">
<iclass="fa fa-clock-o"></i>
{% trans status, when %}Profile will be {{ status }} in {{ when }}{% endtrans %}
</a>
</li>
{% endif %}
{% if "delete" in profile.transitions() %}
<li><ahref="{{ url_for("profile.start_transition",profile_uuid=profile.uuid,transition="delete")}}"><iclass="fa fa-trash"></i> {% trans %}Delete this profile{% endtrans %}</a></li>