]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/osqaadmin/base.html
typo in one of the lines of text
[osqa.git] / forum / skins / default / templates / osqaadmin / base.html
index f3a55aeeaf411cb99f89a23004daec9a417e17bc..47b77b6e5cb1ca8d212906aa9762a901ab5cfcdc 100644 (file)
@@ -5,6 +5,7 @@
 \r
 {% block forejs %}\r
     <link rel="stylesheet" type="text/css" media="screen" href="{% media "/media/style/admin.css" %}"/>\r
+    <script type="text/javascript" src="{% media "/media/js/osqa.admin.js" %}"></script>\r
     {% block adminjs %}{% endblock %}\r
 {% endblock %}\r
 \r
 \r
 {% block sidebar %}\r
     <div class="boxC">\r
+        <a href="{% url admin_switch_interface %}?to=djstyle">{% trans "Switch to django style interface" %}</a>\r
         <h3 class="subtitle">{% trans "Administration menu" %}</h3>\r
         <ul>\r
-        {% for set in sets %}\r
+        {% for set in allsets.values %}\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