Commit 0fbac578 by Félicie

text updated and add for manage regular shifts

parent ddcbb3a0
Pipeline #2343 passed with stage
in 1 minute 25 seconds
......@@ -826,7 +826,7 @@ class CagetteMember(models.Model):
# member = CagetteMember(m['id'], m['email'])
# m['next_shifts'] = member.get_next_shift()
if not m['parent_name'] is False:
m['name'] += ' (en binôme avec ' + m['parent_name'] + ')'
m['name'] += ' (suppléant.e de son binôme ' + m['parent_name'] + ')'
del m['parent_name']
members.append(m)
......
......@@ -293,7 +293,7 @@ $(document).ready(function() {
let search_str = $('#search_member_input').val();
$.ajax({
url: `/members/search/${search_str}?search_type=shift_template_data`,
url: '/members/search/' + search_str,
dataType : 'json',
success: function(data) {
$('#partner_data_area').hide();
......
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