<commit_before>- extends "new_base.jade"
- load static from staticfiles

- block title
  | Parlamentarai

- block middle
  .photo-box.single-title
      .transparent-bg: .title: h1 Seimo nariai

  .ui.center.aligned.zero.margin.page.grid
    .switcher
      a(href="{% url 'mp_fraction_list' %}").item Frakcijos
      a.item.active Parlamentarai

  .ui.zero.margin.page.stackable.grid
    .fourteen.wide.column
      .parliamentarians
        for mp in mps
          .parliamentarian.box
            img(src="{{ mp.photo_url }}")
            .info
              h2: a(href="{% url 'mp_profile' mp.slug %}") {{mp.full_name}}
              if mp.fraction
                a(href="{% url 'mp_fraction' mp.fraction.slug %}").fraction-name {{mp.fraction.name}}

        .ui.zero.margin.center.aligned.grid: .ui.pagination.menu
          if mp_page.has_previous
            a.item(href="?page={{ mp_page.previous_page_number }}")
              i.left.arrow.icon
              | Atgal

          .item {{ mp_page.number }} iš {{ mp_page.paginator.num_pages }}

          if mp_page.has_next
            a.item(href="?page={{ mp_page.next_page_number }}")
              | Pirmyn
              i.icon.right.arrow


    .zero.paddings.two.wide.column
      .ui.sticky
        .sidebar
          a(href="{% url 'mp_list_all' %}" class=all_klass).item: h4 Visi parlamentarai
          for fraction in fractions
            a(href="{% url 'mp_list_fraction' fraction.slug %}" class=fraction._klass).item
              if fraction.logo
                img(src="{{ fraction.logo.url }}")
              else
                img(src="{% static 'img/fractions/fraction-default.png' %}")
              .title: h4 {{fraction.name}}<commit_msg>Show page list in mp catalog.<commit_after>- extends "new_base.jade"
- load static from staticfiles

- block title
  | Parlamentarai

- block middle
  .photo-box.single-title
      .transparent-bg: .title: h1 Seimo nariai

  .ui.center.aligned.zero.margin.page.grid
    .switcher
      a(href="{% url 'mp_fraction_list' %}").item Frakcijos
      a.item.active Parlamentarai

  .ui.zero.margin.page.stackable.grid
    .fourteen.wide.column
      .parliamentarians
        for mp in mps
          .parliamentarian.box
            img(src="{{ mp.photo_url }}")
            .info
              h2: a(href="{% url 'mp_profile' mp.slug %}") {{mp.full_name}}
              if mp.fraction
                a(href="{% url 'mp_fraction' mp.fraction.slug %}").fraction-name {{mp.fraction.name}}

        .ui.zero.margin.center.aligned.grid: .ui.pagination.menu
          if mp_page.has_previous
            a.item(href="?page={{ mp_page.previous_page_number }}")
              i.left.arrow.icon
              | Atgal

          for page_num in mp_page.paginator.page_range
            if page_num = mp_page.number
              a.item.active(href="?page={{ page_num }}") {{ page_num }}
            else
              a.item(href="?page={{ page_num }}") {{ page_num }}

          if mp_page.has_next
            a.item(href="?page={{ mp_page.next_page_number }}")
              | Pirmyn
              i.icon.right.arrow


    .zero.paddings.two.wide.column
      .ui.sticky
        .sidebar
          a(href="{% url 'mp_list_all' %}" class=all_klass).item: h4 Visi parlamentarai
          for fraction in fractions
            a(href="{% url 'mp_list_fraction' fraction.slug %}" class=fraction._klass).item
              if fraction.logo
                img(src="{{ fraction.logo.url }}")
              else
                img(src="{% static 'img/fractions/fraction-default.png' %}")
              .title: h4 {{fraction.name}}
{'fraction_non_alphanumeric': 0.13586358635863585, 'fraction_numerical': 0.0022002200220022, 'mean_word_length': 1.918940609951846, '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': '6529985', 'n_tokens_mistral': 1191, 'n_tokens_neox': 1142, 'n_words': 214}