← Interpelacje Sejmu

Kadencja 10 · Interpelacja nr 4117

Interpelacja w sprawie realizacji wyroku Trybunału Konstytucyjnego z dnia 15 listopada 2023 r. dotyczącego wyrównania tzw. emerytur czerwcowych naliczonych w latach 2009-2019

  • Data wpływu:2024-07-29
  • Przekazano:2024-07-31
  • Zgłaszający:282
  • Adresat:minister rodziny, pracy i polityki społecznej

Treść interpelacji

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Request Rejected</title>
<meta name="viewport" content="width=device-width, initial-scale=1">

<style>
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding: 2rem;
    color: #1a1a1a;
    background: #ffffff;
  }

  .section { margin-bottom: 1.5rem; }

  a:focus, button:focus {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
  }

  button {
    padding: 0.6rem 1rem;
    min-height: 44px;
    font-size: 1rem;
    cursor: pointer;
  }

  .language-switcher {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
  }
</style>
</head>

<body>

<!-- Language Switcher -->
<div class="language-switcher" role="navigation" aria-label="Language Switcher">
  <button id="btnEN" aria-pressed="false">English</button>
  <button id="btnPL" aria-pressed="false">Polski</button>
</div>

<div id="contentWrapper" aria-live="polite">

  <h1 class="text-en" aria-hidden="true" style="display:none;">Request Rejected</h1>
  <h1 class="text-pl" aria-hidden="true" style="display:none;">Żądanie odrzucone</h1>

  <p class="text-en" aria-hidden="true" style="display:none;">
    The requested URL was rejected. Please consult with your administrator.
  </p>
  <p class="text-pl" aria-hidden="true" style="display:none;">
    Żądany adres URL został odrzucony. Skontaktuj się z administratorem systemu.
  </p>

  <div class="section">
    <span class="text-en" aria-hidden="true" style="display:none;">Your support ID is:</span>
    <span class="text-pl" aria-hidden="true" style="display:none;">Twój identyfikator wsparcia to:</span>
    <strong>3521631797246237111</strong>
  </div>

  <div class="section">
    <a href="#" id="backLink" class="text-en" aria-hidden="true" style="display:none;">[Go Back]</a>
    <a href="#" id="backLinkPL" class="text-pl" aria-hidden="true" style="display:none;">[Wróć]</a>
  </div>

</div>

<script>
  // -------------------------------------------
  // 🔧 GLOBALNA ZMIENNA – USTAW DOMYŚLNY JĘZYK:
  // 'pl' lub 'en'
  // -------------------------------------------
  let defaultLanguage = 'en';
  // -------------------------------------------

  const btnEN = document.getElementById('btnEN');
  const btnPL = document.getElementById('btnPL');
  const content = document.getElementById('contentWrapper');
  const enTexts = document.querySelectorAll('.text-en');
  const plTexts = document.querySelectorAll('.text-pl');

  function updateAriaLabels(lang) {
    if (lang === 'en') {
      btnEN.setAttribute('aria-label', 'Switch to English');
      btnPL.setAttribute('aria-label', 'Switch to Polish');
    } else {
      btnEN.setAttribute('aria-label', 'Przełącz na angielski');
      btnPL.setAttribute('aria-label', 'Przełącz na polski');
    }
  }

  function setLanguage(lang) {
    const isEN = lang === 'en';

    enTexts.forEach(el => {
      el.style.display = isEN ? '' : 'none';
      el.setAttribute('aria-hidden', !isEN);
    });

    plTexts.forEach(el => {
      el.style.display = isEN ? 'none' : '';
      el.setAttribute('aria-hidden', isEN);
    });

    btnEN.setAttribute('aria-pressed', isEN);
    btnPL.setAttribute('aria-pressed', !isEN);

    content.setAttribute('lang', lang);

    updateAriaLabels(lang);
  }

  // ustawienie języka przy starcie (w jednym miejscu)
  setLanguage(defaultLanguage);

  btnEN.addEventListener('click', () => setLanguage('en'));
  btnPL.addEventListener('click', () => setLanguage('pl'));

  // Back
  function handleBackClick(event) {
    if (history.length > 1) {
      event.preventDefault();
      history.back();
    }
  }
  document.getElementById('backLink').addEventListener('click', handleBackClick);
  document.getElementById('backLinkPL').addEventListener('click', handleBackClick);
</script>

</body>
</html>

Adresaci

  • minister rodziny, pracy i polityki społecznej

    Wysłano: 2024-07-31

Odpowiedzi (2)

  • Podsekretarz stanu Sebastian Gajewski

    Odebrano: 2024-08-12 · Tylko załącznik

  • Podsekretarz stanu Sebastian Gajewski

    Odebrano: 2024-11-15 · Tylko załącznik