NoCreds: Warning Msg visible in Dashboard
[myslice.git] / portal / templates / onelab / onelab_account-view.html
index f138e3e..199444a 100644 (file)
@@ -7,6 +7,10 @@
                         Account &nbsp;>&nbsp; <a href="/account">{{ person.email }}</a>
                 </div>
        </div>
+        {%if 'no_creds'  in user_cred %}
+    <p class="command"><a href="#" style="color:red" data-toggle="modal" data-target="#myModal">NO CREDENTIALS</a> are delegated to the portal!</p>
+{%endif%}
+
 </div>
 {% if messages %}
 <ul class="messages">
                <div class="col-md-12">
                <h3>Credentials <small>Delegated to Principal Account</small></h3>
                        <table class="table">
-                                        {%if 'no_creds'  in user_cred %}
-                                               <p><a href="#" style="color:red" data-toggle="modal" data-target="#myModal">NO CREDENTIALS</a> are delegated to the portal!</p>
-                                       {%endif%}       
                                        <caption><b>Delegated User Credential</b></caption> 
                            <tr class="odd"> 
                                <th>Expiration Date</th>
                                        <p>You may get this message for several reasons.</p>
                                        <h3>Account Delegation: Automatic</h3>
                                        <ul>
+                                               <li>If your account is not yet validated</li>
                                                <li>If you press the "Clear Credentials" button</li>
                                                <li>If you "Generate a new key pair"</li>
                                                <li>If a new slice is added to your account</li>
                                        <p>In all the above mentioned cases, it is sufficient to refresh the page or go back to home page. The portal will regenrate your credentials.
                                         In some cases it may take more time than usual. If nothing works, then please logout and login again to the portal.</p>
                                        <h3>Account Delegation: Manual</h3>
+                                               <p>First of all your account needs to be validated by the manager of your organization.</p>
                                                <p>As you have uploaded your own public key, the portal can no longer generate your credentials automatically.</p>
                                                <p>In order for the portal to contact testbeds on your behalf, so as to list and reserve resources, you will need to
                                                <a href="/portal/manual_delegation" target="_blank">delegate your credentials to the portal.</a>