{% extends "base_content.html" %}
<!-- template faq.html -->
-{% load extra_tags %}
-{% load humanize %}
{% load i18n %}
-{% block title %}{% spaceless %}FAQ{% endspaceless %}{% endblock %}
-{% block forejs %}
-{% endblock %}
+{% load markup %}
+{% block title %}{% spaceless %}{% trans "FAQ" %}{% endspaceless %}{% endblock %}
+
{% block content %}
<div class="headNormal">
- {% trans "Frequently Asked Questions " %}(FAQ)
+{% trans "FAQ" %}
</div>
-<div id="main-body" class="about" style="width:100%">
-
- <div class="first">
- <h3 class="subtitle">{% trans "What kinds of questions can I ask here?" %}</h3>
- <p>{% trans "Most importantly - questions should be <strong>relevant</strong> to this community." %}
- {% trans "Before asking the question - please make sure to use search to see whether your question has alredy been answered."%}
- </p>
-
- <h3 class="subtitle">{% trans "What questions should I avoid asking?" %}</h3>
- <p>{% trans "Please avoid asking questions that are not relevant to this community, too subjective and argumentative." %}
- </p>
- </div>
-
- <div>
- <h3 class="subtitle">{% trans "What should I avoid in my answers?" %}</h3>
- <p>{{ settings.APP_TITLE }} {% trans "is a Q&A site, not a discussion group. Therefore - please avoid having discussions in your answers, comment facility allows some space for brief discussions." %}</p>
- </div>
-
- <div>
- <h3 class="subtitle">{% trans "Who moderates this community?" %}</h3>
- <p>{% trans "The short answer is: <strong>you</strong>." %}
- {% trans "This website is moderated by the users." %}
- {% trans "The reputation system allows users earn the authorization to perform a variety of moderation tasks." %}
- </p>
- </div>
-
- <div>
- <h3 class="subtitle">{% trans "How does reputation system work?" %}</h3>
- <p>{% trans "Rep system summary" %}</p>
- <p>{% blocktrans %}For example, if you ask an interesting question or give a helpful answer, your input will be upvoted. On the other hand if the answer is misleading - it will be downvoted. Each vote in favor will generate <strong>10</strong> points, each vote against will subtract <strong>2</strong> points. There is a limit of <strong>200</strong> points that can be accumulated per question or answer. The table below explains reputation point requirements for each type of moderation task.{% endblocktrans %}
- </p>
-
- <table style="font-family:arial;" cellspacing="3" cellpadding="3">
- <tr>
- <th width="40px" style="text-align:right"></th>
- <th width="300px"></th>
- </tr>
- <!--
- <tr>
- <td style="text-align:right;padding-right:5px"><strong>15</strong></td>
- <td>{% trans "upvote" %}</td>
- </tr>
- <tr>
- <td style="text-align:right;padding-right:5px"><strong>15</strong></td>
- <td>{% trans "use tags" %}</td>
- </tr>
- -->
- <tr>
- <td style="text-align:right;padding-right:5px"><strong>{{ settings.REP_TO_COMMENT }}</strong></td>
- <td>{% trans "add comments" %}</td>
- </tr>
- <tr>
- <td style="text-align:right;padding-right:5px"><strong>{{ settings.REP_TO_VOTE_DOWN }}</strong></td>
- <td>{% trans "downvote" %}</td>
- </tr>
- <tr>
- <td style="text-align:right;padding-right:5px"><strong>{{ settings.REP_TO_CLOSE_OWN }}</strong></td>
- <td>{% trans "close own questions" %}</td>
- </tr>
- <tr>
- <td style="text-align:right;padding-right:5px"><strong>{{ settings.REP_TO_REOPEN_OWN }}</strong></td>
- <td>{% trans "reopen own questions" %}</td>
- </tr>
- <tr>
- <td style="text-align:right;padding-right:5px"><strong>{{ settings.REP_TO_RETAG }}</strong></td>
- <td>{% trans "retag questions" %}</td>
- </tr>
- {% if settings.WIKI_ON %}
- <tr>
- <td style="text-align:right;padding-right:5px"><strong>{{ settings.REP_TO_EDIT_WIKI }}</strong></td>
- <td>{% trans "edit community wiki questions" %}</td>
- </tr>
- {% endif %}
- <tr>
- <td style="text-align:right;padding-right:5px"><strong>{{ settings.REP_TO_EDIT_OTHERS }}</strong></td>
- <td>{% trans "edit any answer" %}</td>
- </tr>
- <tr>
- <td style="text-align:right;padding-right:5px"><strong>{{ settings.REP_TO_CLOSE_OTHERS }}</strong></td>
- <td>{% trans "open any closed question" %}</td>
- </tr>
- <tr>
- <td style="text-align:right;padding-right:5px"><strong>{{ settings.REP_TO_DELETE_COMMENTS }}</strong></td>
- <td>{% trans "delete any comment" %}</td>
- </tr>
-
- </table>
- </div>
- {% comment %}
- {% ifequal settings.EMAIL_VALIDATION 'on' %}
- <div>
- <a id='validate'></a><h3 class="subtitle">{% trans "how to validate email title" %}</h3>
- <!--special case here message must contain paragraphs-->
- {% blocktrans %}how to validate email info with {{send_email_key_url}} {{gravatar_faq_url}}{% endblocktrans %}
- </div>
- {% endifequal %}
- {% endcomment %}
- <div>
- <a id='gravatar'></a><h3 class="subtitle">{% trans "what is gravatar" %}</h3>
- <p>{% trans "gravatar faq info" %}</p>
- </div>
- <div>
- <h3 class="subtitle">{% trans "To register, do I need to create new password?" %}</h3>
- <p>{% trans "No, you don't have to. You can login through any service that supports OpenID, e.g. Google, Yahoo, AOL, etc." %}
- <strong><a href="{% url auth_signin %}">{% trans "Login now!" %}</a> »</strong>
- </p>
- </div>
-
- <div>
- <h3 class="subtitle">{% trans "Why other people can edit my questions/answers?" %}</h3>
- <p> {% trans "Goal of this site is..." %} {% trans "So questions and answers can be edited like wiki pages by experienced users of this site and this improves the overall quality of the knowledge base content." %}
- {% trans "If this approach is not for you, we respect your choice." %}
- </p>
- </div>
- <div>
- <h3 class="subtitle">{% trans "Still have questions?" %}</h3>
- <p>{% blocktrans %}Please ask your question at {{ask_question_url}}, help make our community better!{% endblocktrans %}
- <!--
- <a href="{% url tags %}faq" class="big">{{ settings.APP_TITLE }} {% trans "questions" %}</a>{% trans "." %}
- -->
- </p>
- </div>
+<div class="content">
+{{ text|markdown }}
</div>
-<script type="text/javascript">
- //highlihts section if url has matching #anchor_name
- $(document).ready(function (){
- var hash = window.location.hash;
- if (hash.length > 1){
- $(hash).parent().addClass('highlight');
- window.location.hash = hash;
- }
- })
-</script>
{% endblock %}
<!-- end template faq.html -->
\r
{% block sidebar %}\r
<div class="boxC">\r
- <h3 class="subtitle">{% trans "Administration menu" %}</h3>\r
- <ul>\r
- {% for set in sets %}\r
- <li><a href="{% url admin_set set.name %}">{{ set.title }}</a></li>\r
- {% endfor %}\r
- </ul>\r
+ <h3 class="subtitle">{% trans "Administration menu" %}</h3>\r
+ <ul>\r
+ {% for set in sets %}\r
+ <li><a href="{% url admin_set set.name %}">{{ set.title }}</a></li>\r
+ {% endfor %}\r
+ </ul>\r
</div>\r
+ {% if markdown %}\r
+\r
+ <div class="boxC">\r
+ <p class="subtitle">{% trans "Markdown tips" %}</p>\r
+ <ul class="list-item">\r
+ <li>\r
+ {% trans "*italic* or __italic__" %}\r
+ </li>\r
+ <li>\r
+ {% trans "**bold** or __bold__" %}\r
+ </li>\r
+ <li>\r
+ <b>{% trans "link" %}</b>:[{% trans "text" %}](http://url.com/ "{% trans "title" %}")\r
+\r
+ </li>\r
+\r
+ <li>\r
+ <b>{% trans "image" %}</b>?![alt {% trans "text" %}](/path/img.jpg "{% trans "title" %}")\r
+\r
+ </li>\r
+ <li>\r
+ {% trans "numbered list:" %}\r
+ 1. Foo\r
+ 2. Bar\r
+ </li>\r
+ <li>\r
+ {% trans "basic HTML tags are also supported" %}\r
+ </li>\r
+ </ul> <p class='info-box-follow-up-links'>\r
+ <a href="http://en.wikipedia.org/wiki/Markdown" target="_blank">{% trans "learn more about Markdown" %} </a>\r
+ </p>\r
+ </div>\r
+ {% endif %}\r
{% endblock %}\r
\r
- \r
+\r
+\r