<commit_before>include ./mixins/personalisation-mode

ul.personalisations.transport-modes
  +renderMode('transport', 'by_foot', 'by-foot', transport_modes)
  +renderMode('transport', 'bicycle', 'bicycle', transport_modes)
  +renderMode('transport', 'public_transport', 'public-transport', transport_modes)
  +renderMode('transport', 'car', 'car', transport_modes)

ul.personalisations.transport-details.public-details(class=transport_modes.indexOf('public_transport') != -1 ? undefined : 'hidden')
  .arrow.top
  +renderMode('transport_detailed_choices', 'bus', 'bus', public_modes)
  +renderMode('transport_detailed_choices', 'tram', 'tram', public_modes)
  +renderMode('transport_detailed_choices', 'metro', 'public-transport', public_modes)
  +renderMode('transport_detailed_choices', 'train', 'train', public_modes)
  +renderMode('transport_detailed_choices', 'ferry', 'ferry', public_modes)

ul.personalisations.transport-details.bicycle-details(class=bicycle_details_classes)
  .arrow.top
  li(data-type='bicycle_parked' class=transport_detailed_choices.bicycle.bicycle_parked ? 'selected' : '')
    a(href="#")
      span.text
        != t('personalisation.bicycle_parked')
  li(data-type='bicycle_with' class=transport_detailed_choices.bicycle.bicycle_with ? 'selected' : '')
    a(href="#")
      span.text
        != t('personalisation.bicycle_with')<commit_msg>Fix subway icon in transport mode selection<commit_after>include ./mixins/personalisation-mode

ul.personalisations.transport-modes
  +renderMode('transport', 'by_foot', 'by-foot', transport_modes)
  +renderMode('transport', 'bicycle', 'bicycle', transport_modes)
  +renderMode('transport', 'public_transport', 'public-transport', transport_modes)
  +renderMode('transport', 'car', 'car', transport_modes)

ul.personalisations.transport-details.public-details(class=transport_modes.indexOf('public_transport') != -1 ? undefined : 'hidden')
  .arrow.top
  +renderMode('transport_detailed_choices', 'bus', 'bus', public_modes)
  +renderMode('transport_detailed_choices', 'tram', 'tram', public_modes)
  +renderMode('transport_detailed_choices', 'metro', 'subway', public_modes)
  +renderMode('transport_detailed_choices', 'train', 'train', public_modes)
  +renderMode('transport_detailed_choices', 'ferry', 'ferry', public_modes)

ul.personalisations.transport-details.bicycle-details(class=bicycle_details_classes)
  .arrow.top
  li(data-type='bicycle_parked' class=transport_detailed_choices.bicycle.bicycle_parked ? 'selected' : '')
    a(href="#")
      span.text
        != t('personalisation.bicycle_parked')
  li(data-type='bicycle_with' class=transport_detailed_choices.bicycle.bicycle_with ? 'selected' : '')
    a(href="#")
      span.text
        != t('personalisation.bicycle_with')
{'fraction_non_alphanumeric': 0.15231548480463097, 'fraction_numerical': 0.000723589001447178, 'mean_word_length': 7.037790697674419, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3823585', 'n_tokens_mistral': 927, 'n_tokens_neox': 897, 'n_words': 121}