1 <!-- question_edit_tips.html -->
4 <script type="text/javascript">
5 var currentSideBar = 'div#title_side_bar';
6 function changeSideBar(enabled_bar) {
7 $(currentSideBar).hide();
8 currentSideBar = enabled_bar;
9 $(currentSideBar).fadeIn('slow');
13 $('div#editor_side_bar').hide();
14 $('div#tags_side_bar').hide();
16 $('input#id_title').focus(function(){changeSideBar('div#title_side_bar')});
17 $('textarea#editor').focus(function(){changeSideBar('div#editor_side_bar')});
18 $('input#id_tags').focus(function(){changeSideBar('div#tags_side_bar')});
22 <div class="boxC" id="title_side_bar">
23 <p class="subtitle darkred">{% trans "Title Tips" %}</p>
25 <ul class="list-item">
28 {% blocktrans with settings.APP_SHORT_NAME as app_title %}
29 ask a question relevant to the {{ app_title }} community
34 {% trans "please try provide enough details" %}
37 {% trans "be clear and concise" %}
40 <p class='info-box-follow-up-links'>
41 <a href="{% url faq %}" target="_blank" title="{% trans "see frequently asked questions" %}">{% trans "faq" %} »</a>
46 <div class="boxC" id="editor_side_bar">
47 <p class="subtitle darkred">{% trans "Markdown Basics" %}</p>
48 <ul class="list-item">
50 {% trans "*italic* or __italic__" %}
53 {% trans "**bold** or __bold__" %}
56 <b>{% trans "link" %}</b>:[{% trans "text" %}](http://url.com/ "{% trans "title" %}")
61 <b>{% trans "image" %}</b>:![alt {% trans "text" %}](/path/img.jpg "{% trans "title" %}")
65 {% trans "numbered list:" %}
70 {% trans "basic HTML tags are also supported" %}
73 <p class='info-box-follow-up-links'>
74 <a href="/markdown_help" target="_blank">{% trans "learn more about Markdown" %} </a>
78 <div class="boxC" id="tags_side_bar" align="left">
79 <p class="subtitle darkred">{% trans "What Are Tags" %}</p>
80 <ul class="list-item">
82 {% trans "Tags are words that will tell others what this question is about." %}
85 {% trans "They will help other find your question." %}
88 {% trans "A question can have up to five tags, but it must have at least one." %}
94 <!-- end question_edit_tips.html -->