From: Loic Baron Date: Wed, 2 Apr 2014 10:42:43 +0000 (+0200) Subject: Merge branch 'onelab' of ssh://git.onelab.eu/git/myslice into onelab X-Git-Tag: myslice-1.1~159 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=9cbecc70e8916a0574e32088a15617c33c03bf9d;hp=-c;p=unfold.git Merge branch 'onelab' of ssh://git.onelab.eu/git/myslice into onelab Conflicts: portal/templates/base.html --- 9cbecc70e8916a0574e32088a15617c33c03bf9d diff --combined auth/manifoldbackend.py index eb87ab87,eb87ab87..afb87821 --- a/auth/manifoldbackend.py +++ b/auth/manifoldbackend.py @@@ -61,9 -61,9 +61,13 @@@ class ManifoldBackend except User.DoesNotExist: # Create a user in Django's local database user = User.objects.create_user(username, username, 'passworddoesntmatter') -- user.first_name = "DUMMY_FIRST_NAME" #person['first_name'] -- user.last_name = "DUMMY LAST NAME" # person['last_name'] user.email = person['email'] ++ ++ if 'firstname' in person: ++ user.first_name = person['firstname'] ++ if 'lastname' in person: ++ user.last_name = person['lastname'] ++ return user # Required for your backend to work properly - unchanged in most scenarios diff --combined plugins/googlemap/static/js/googlemap.js index 6db222d4,6db222d4..8a740b2a --- a/plugins/googlemap/static/js/googlemap.js +++ b/plugins/googlemap/static/js/googlemap.js @@@ -94,6 -94,6 +94,8 @@@ //create empty LatLngBounds object in order to automatically center the map on the displayed objects this.bounds = new google.maps.LatLngBounds(); var center = new google.maps.LatLng(this.options.latitude, this.options.longitude); ++ ++ console.log("GoogleMap zoom = "+this.options.zoom); var myOptions = { zoom: this.options.zoom, center: center, diff --combined plugins/querytable/static/js/querytable.js index 375aa8f3,375aa8f3..c2f0d55e --- a/plugins/querytable/static/js/querytable.js +++ b/plugins/querytable/static/js/querytable.js @@@ -148,9 -148,9 +148,6 @@@ }); $(".dataTables_filter").append("
"); $(".dataTables_filter input").css("width","100%"); -- $(".columns_selector").append("columns"); -- $(".columns_selector").css("float","right"); -- $(".columns_selector").css("width","inherit"); }, // initialize_table /** diff --combined portal/sliceresourceview.py index 254e2fde,254e2fde..68837659 --- a/portal/sliceresourceview.py +++ b/portal/sliceresourceview.py @@@ -143,7 -143,7 +143,7 @@@ class SliceResourceView (LoginRequiredV # center on Paris latitude = 49., longitude = 9, -- zoom = 4, ++ zoom = 8, ) # -------------------------------------------------------------------------- diff --combined portal/templates/_widget-topmenu.html index 4ed429ad,4ed429ad..cf810295 --- a/portal/templates/_widget-topmenu.html +++ b/portal/templates/_widget-topmenu.html @@@ -28,13 -28,13 +28,8 @@@ diff --combined portal/templates/base.html index 1c5a2d49,e739316b..6bb7e232 --- a/portal/templates/base.html +++ b/portal/templates/base.html @@@ -1,9 -1,9 +1,9 @@@ {% load portal_filters %} {# This is required by insert_above #}{% insert_handler %} -OneLab Portal - {{ section }} +{{theme}} portal - {{ section }} - + {# This is where insert_str will end up #}{% media_container prelude %} {% include 'messages-transient-header.html' %} @@@ -31,39 -31,6 +31,39 @@@ {% insert_str prelude "css/topmenu.css" %} {% insert_str prelude "js/logout.js" %} + + {% block container %} diff --combined portal/templates/fed4fire/fed4fire_home-view.html index f7da2da1,f7da2da1..00000000 deleted file mode 100644,100644 --- a/portal/templates/fed4fire/fed4fire_home-view.html +++ /dev/null @@@ -1,121 -1,121 +1,0 @@@ --{% extends "layout.html" %} -- --{% block content %} --
-- --
-- -- -- -- -- -- -- -- -- -- -- -- -- {% if person %} -- -- -- -- --
ACCOUNTSLICESSUPPORT
-- --
-- {% if person.last_name %} -- {{person.first_name}} {{person.last_name}}
-- {% endif %} -- Email: {{person.email}} --
-- {% else %} --
-- {% include '_widget-login-user.html' %} -- {% endif %} -- -- {% if person %} -- --
Loading Slices
-- {% else %} -- {% endif %} --
-- -- --
--
--
-- -- -- -- -- -- -- -- -- -- -- -- -- {% if person %} -- -- -- -- --
INSTITUTIONSLICESREQUESTS
-- -- {% else %} -- -- {% include '_widget-login-manager.html' %} -- {% endif %} -- -- {% if person %} -- -- {% endif %} -- -- {% if person %} -- -- {% endif %} --
--
--
-- --{% endblock %} diff --combined portal/templates/fed4fire/fed4fire_widget-topmenu.html index 865a2bc5,865a2bc5..74edfdc9 --- a/portal/templates/fed4fire/fed4fire_widget-topmenu.html +++ b/portal/templates/fed4fire/fed4fire_widget-topmenu.html @@@ -27,7 -27,7 +27,7 @@@