Commit b35a7800 by Damien Moulard

linting

parent e43ee267
...@@ -14,7 +14,7 @@ function load_partner_history(offset = 0) { ...@@ -14,7 +14,7 @@ function load_partner_history(offset = 0) {
partner_id: partner_data.concerned_partner_id, partner_id: partner_data.concerned_partner_id,
verif_token: partner_data.verif_token, verif_token: partner_data.verif_token,
limit: history_items_limit, limit: history_items_limit,
offset: offset, offset: offset
}, },
dataType:"json", dataType:"json",
traditional: true, traditional: true,
...@@ -82,7 +82,7 @@ function init_history() { ...@@ -82,7 +82,7 @@ function init_history() {
{ {
data: "shift_name", data: "shift_name",
title: "<spans class='dt-body-center'>Service</span>", title: "<spans class='dt-body-center'>Service</span>",
width: "60%", width: "60%"
}, },
{ {
data: "details", data: "details",
......
...@@ -152,6 +152,7 @@ function init_my_info_data() { ...@@ -152,6 +152,7 @@ function init_my_info_data() {
let pns = partner_data.name.split(" - "); let pns = partner_data.name.split(" - ");
let name = pns.length > 1 ? pns[1] : pns[0]; let name = pns.length > 1 ? pns[1] : pns[0];
$(".member_name").text(name); $(".member_name").text(name);
// Status related // Status related
...@@ -223,6 +224,7 @@ $(document).ready(function() { ...@@ -223,6 +224,7 @@ $(document).ready(function() {
// For associated people, their parent name is attached in their display name // For associated people, their parent name is attached in their display name
let partner_name_split = partner_data.name.split(', '); let partner_name_split = partner_data.name.split(', ');
partner_data.name = partner_name_split[partner_name_split.length - 1]; partner_data.name = partner_name_split[partner_name_split.length - 1];
base_location = (app_env === 'dev') ? '/members_space/' : '/'; base_location = (app_env === 'dev') ? '/members_space/' : '/';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment