From: Yasin <mohammed-yasin.rahman@lip6.fr> Date: Mon, 17 Feb 2014 15:42:50 +0000 (+0100) Subject: ManageUser: Edit Pkey disabled X-Git-Tag: myslice-1.1~331^2~7 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=894b9a1348c702630c1f11edd3364d646174b62b;p=unfold.git ManageUser: Edit Pkey disabled --- diff --git a/portal/templates/manageuserview.html b/portal/templates/manageuserview.html index 3675c9af..a877dbf5 100644 --- a/portal/templates/manageuserview.html +++ b/portal/templates/manageuserview.html @@ -86,27 +86,6 @@ </button> </td> </tr> - <tr class="odd" id="pkey_row"> - {%if 'N/A' not in user_private_key%} - <td class="key">Private Key </td> <!-- Hide if priv_key doesn't exist in myslice platform --> - <td class="value">********<a href="#"> - <button type="submit" name="dl_pkey" class="btn btn-default btn-xs" title="Download your privaye key" id="dl_pkey"> - <span class="glyphicon glyphicon-download"></span> Download - </button> - <input class="btn btn-danger btn-xs" id="delete" name="delete" type="submit" value="Delete" title="Delete your private key" - onclick="return confirm('Are you sure? If you do so, you have to delegate your credentials manually.');"/> - </td> - {%else%} - <td class="key">Private Key </td> <!-- Hide if priv_key doesn't exist in myslice platform --> - <td class="value">********<a href="#"> - <button type="submit" name="dl_pkey" class="btn btn-default btn-xs disabled" title="Download your privaye key" id="dl_pkey"> - <span class="glyphicon glyphicon-download"></span> Download - </button> - <input class="btn btn-danger btn-xs disabled" id="delete" name="delete" type="submit" title="Delete your private key" - value="Delete" /> - </td> - {%endif%} - </tr> </table> </div> </div>