Dashboard: hide No Creds msg while fetching projects & slices, display only if it...
[unfold.git] / portal / templates / fed4fire / fed4fire_home-view.html
index 54a2467..1f14b1d 100644 (file)
@@ -14,7 +14,7 @@
 {% widget "_widget-no_credentials.html" %}
 <div class="container dashboard">
        <div class="row">
-           <div class="col-md-12">
+           <div class="col-md-12" id="credentials_msg" style="display:none;">
        {%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>
        </div>
 </div>
+
+<script type="text/javascript">
+       $(document).ready(function() {
+        localStorage.clear();
+    });
+</script>
+
 {% endif %}