MyACC: limited functionalities for disabled/validate pending users
authorYasin <mohammed-yasin.rahman@lip6.fr>
Wed, 26 Feb 2014 13:47:52 +0000 (14:47 +0100)
committerYasin <mohammed-yasin.rahman@lip6.fr>
Wed, 26 Feb 2014 13:47:52 +0000 (14:47 +0100)
portal/templates/account-view.html

index 3619032..d3f724e 100644 (file)
@@ -89,6 +89,7 @@
                                                 </button>
                                        </td>
                                </tr>
+                               {%if 'Enabled'  in user_status %}
                                <tr class="even">
                                        <td class="key">Generate Keys</td>
                                        <td>
                                                </p>
                                </td>
                                </tr>
+                               {%endif%}
                        </table>
        </div>
 </div>