2011-01-28 03:51:47 +01:00
|
|
|
{% extends "two_column_body.html" %}
|
|
|
|
{#
|
|
|
|
this template is split into several
|
|
|
|
blocks that are included here
|
|
|
|
the blocks are within directory templates/main_page
|
|
|
|
relative to the skin directory
|
|
|
|
|
|
|
|
there is no html markup in this file
|
|
|
|
#}
|
|
|
|
<!-- questions.html -->
|
2013-04-11 10:41:53 +02:00
|
|
|
{% block forejs %}
|
|
|
|
{% include "main_page/custom_head_javascript.html" ignore missing %}
|
|
|
|
{% endblock %}
|
2011-01-28 03:51:47 +01:00
|
|
|
{% block title %}{% spaceless %}{% trans %}Questions{% endtrans %}{% endspaceless %}{% endblock %}
|
|
|
|
{% block content %}
|
2014-05-30 16:15:44 +02:00
|
|
|
|
|
|
|
{% if not request.user.is_authenticated() %}
|
|
|
|
<p id="welcome">
|
2015-03-18 17:58:06 +01:00
|
|
|
Bienvenue dans le bistro de Publik, si c'est votre premier passage, nous
|
2014-05-30 16:15:44 +02:00
|
|
|
vous recommandons de commencer votre visite par la <a href="{% url 'faq' %}">page
|
|
|
|
de bienvenue</a>.
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
2011-01-28 03:51:47 +01:00
|
|
|
{% include "main_page/tab_bar.html" %}
|
|
|
|
{% include "main_page/headline.html" %}
|
2011-12-27 14:49:42 +01:00
|
|
|
{# ==== BEGIN: main_page/content.html === #}
|
|
|
|
<div id="question-list">
|
|
|
|
{% include "main_page/questions_loop.html" %}
|
|
|
|
</div>
|
|
|
|
{# ==== END: main_page/content.html === #}
|
2011-01-28 03:51:47 +01:00
|
|
|
{% include "main_page/paginator.html" %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block sidebar %}
|
|
|
|
{% include "main_page/sidebar.html" %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block endjs %}
|
2013-04-11 10:41:53 +02:00
|
|
|
<script type="text/javascript">
|
|
|
|
{# cant cache this #}
|
|
|
|
askbot['settings']['showSortByRelevance'] = {{ show_sort_by_relevance|as_js_bool }};
|
2013-10-30 07:10:57 +01:00
|
|
|
askbot['messages']['questionSingular'] = '{{ settings.WORDS_QUESTION_SINGULAR|escapejs }}';
|
|
|
|
askbot['messages']['answerSingular'] = '{{ settings.WORDS_ANSWER_SINGULAR|escapejs }}';
|
|
|
|
askbot['messages']['acceptOwnAnswer'] = '{{ settings.WORDS_ACCEPT_OR_UNACCEPT_OWN_ANSWER|escapejs }}';
|
|
|
|
askbot['messages']['followQuestions'] = '{{ settings.WORDS_FOLLOW_QUESTIONS|escapejs }}';
|
2013-04-11 10:41:53 +02:00
|
|
|
</script>
|
2011-01-28 03:51:47 +01:00
|
|
|
{% include "main_page/javascript.html" %}
|
2013-04-11 10:41:53 +02:00
|
|
|
{% include "main_page/custom_javascript.html" ignore missing %}
|
2011-01-28 03:51:47 +01:00
|
|
|
{% endblock %}
|
|
|
|
<!-- end questions.html -->
|