{% extends "base.html" %} {% block title %}Forum - Norda Biznes Partner{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

Forum Norda Biznes

{{ total_topics }} temat贸w

+ Nowy temat
馃挰 Uwagi rozwojowe Zapraszamy do podzielenia si臋 swoimi opiniami
{% if topics %}
{% for topic in topics %}
{% if topic.is_pinned %} Przypi臋ty {% endif %} {% if topic.is_locked %} Zamkni臋ty {% endif %} {{ category_labels.get(topic.category, 'Pytanie') }} {{ status_labels.get(topic.status, 'Nowy') }} {{ topic.title }}
{{ topic.author.name or topic.author.email.split('@')[0] }} {% if topic.is_ai_generated %} AI {% endif %} {{ topic.created_at.strftime('%d.%m.%Y %H:%M') }}
{{ topic.reply_count }} odpowiedzi
{{ topic.views_count }} wy艣wietle艅
{% endfor %}
{% if total_pages > 1 %} {% endif %} {% else %}

Brak temat贸w

B膮d藕 pierwszy! Utw贸rz nowy temat dyskusji.

+ Utw贸rz pierwszy temat
{% endif %} {% endblock %} {% block extra_js %} function setTestTopicsVisibility(hidden) { const btn = document.getElementById('toggleTestBtn'); const hideLabel = btn.querySelector('.hide-label'); const showLabel = btn.querySelector('.show-label'); const testTopics = document.querySelectorAll('.test-topic'); if (hidden) { testTopics.forEach(t => t.style.display = 'none'); hideLabel.style.display = 'none'; showLabel.style.display = ''; btn.classList.add('active'); } else { testTopics.forEach(t => t.style.display = ''); hideLabel.style.display = ''; showLabel.style.display = 'none'; btn.classList.remove('active'); } localStorage.setItem('hideTestTopics', hidden ? 'true' : 'false'); // Update topic count const visibleTopics = document.querySelectorAll('.topic-card:not([style*="display: none"])').length; const statsEl = document.querySelector('.forum-stats'); if (statsEl) { statsEl.textContent = visibleTopics + ' temat贸w'; } } function toggleTestTopics() { const isCurrentlyHidden = localStorage.getItem('hideTestTopics') === 'true'; setTestTopicsVisibility(!isCurrentlyHidden); } // Apply saved preference on page load (function() { if (localStorage.getItem('hideTestTopics') === 'true') { setTestTopicsVisibility(true); } })(); {% endblock %}