From ac70c0e7533ceae4d37073c9cd135db46207e5a8 Mon Sep 17 00:00:00 2001
From: prichier <pascoualito@gmail.com>
Date: Mon, 27 Jul 2020 23:50:03 +0200
Subject: [PATCH] Add : claim from MyAccounts page

---
 hiboo/account/templates/account_profiles.html | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hiboo/account/templates/account_profiles.html b/hiboo/account/templates/account_profiles.html
index 481cd25e..d198b8c2 100644
--- a/hiboo/account/templates/account_profiles.html
+++ b/hiboo/account/templates/account_profiles.html
@@ -24,6 +24,9 @@
           {% elif service.policy in ("managed", "burst") %}
           <li><a href="{{ utils.url_for("profile.create", service_uuid=service.uuid) }}"><i class="fa fa-user-plus"></i>&nbsp;&nbsp;{% trans %}Request another profile{% endtrans %}</a></li>
           {% endif %}
+          {% if service.policy not in ("locked",) %}
+          <li><a href="{{ utils.url_for("profile.claim", service_uuid=service.uuid) }}"><i class="fa fa-user-plus"></i>&nbsp;&nbsp;{% trans %}Claim a profile{% endtrans %}</a></li>
+          {% endif %}
           {% endif %}
           <li><a href="#"><i class="fa fa-share"></i>&nbsp;&nbsp;{% trans %}Share this profile (not implemented){% endtrans %}</a></li>
           <li><a href="#"><i class="fa fa-trash"></i>&nbsp;&nbsp;{% trans %}Delete this profile (not implemented){% endtrans %}</a></li>
-- 
GitLab