From d92190b72663209866f435de37c51ed1890b1358 Mon Sep 17 00:00:00 2001 From: Loic Baron Date: Thu, 27 Feb 2014 15:09:59 +0100 Subject: [PATCH] Dashboard: added buttons for manager --- portal/templates/onelab/onelab_home-view.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/portal/templates/onelab/onelab_home-view.html b/portal/templates/onelab/onelab_home-view.html index 2855aeed..a1206de1 100644 --- a/portal/templates/onelab/onelab_home-view.html +++ b/portal/templates/onelab/onelab_home-view.html @@ -26,7 +26,7 @@ {% if person.last_name %} {{person.first_name}} {{person.last_name}}
{% endif %} - Email: {{person.email}} + Email: {{person.email}} {% else %} @@ -65,20 +65,17 @@ {% if person %} - {% if person.last_name %} -
{{person.first_name}} {{person.last_name}}
{% endif %} -
Email: {{person.email}}
+ {% else %} {% include 'onelab__widget-login-manager.html' %} {% endif %} - + -
-
+ @@ -92,6 +89,9 @@ $('div.home-panel').hide(); $('div#'+$(this).data('panel')).show(); }); + $('button#validaterequestbtn').click(function() { + window.location="/portal/validate/"; + }); $('button#ticketbtn').click(function() { window.location="/portal/contact/"; }); @@ -103,7 +103,7 @@ $.post("/rest/user/",{'filters':{'user_hrn':'$user_hrn'}}, function( data ) { var items = []; $.each( data[0].slice, function( key, val ) { - items.push( "
  • " + val.slice_hrn + "
  • " ); + items.push( "
  • " + val.slice_hrn + "
  • " ); }); $("div#home-slice-list").html($( "