Commit 2d8805a9 authored by Giuseppe Terrasi's avatar Giuseppe Terrasi

import from dev trunk:
- change link markdown syntax
- change link markdown syntax
- change sidebar_upper and sidebar_lower position in homepage
- remove sidebar_upper and sidebar_lower from question.html and questions.html
- typo in mysqlfulltext disable module
parents 27a476ff 08659c8c
...@@ -21,9 +21,6 @@ except: ...@@ -21,9 +21,6 @@ except:
pass pass
ui.register(ui.HEADER_LINKS, ui.register(ui.HEADER_LINKS,
ui.Link(_('faq'), ui.Url('faq'), weight=400, name='FAQ'),
ui.Link(_('about'), ui.Url('about'), weight=300, name='ABOUT'),
ui.Link( ui.Link(
text=lambda u, c: u.is_authenticated() and _('logout') or _('login'), text=lambda u, c: u.is_authenticated() and _('logout') or _('login'),
url=lambda u, c: u.is_authenticated() and reverse('logout') or reverse('auth_signin'), url=lambda u, c: u.is_authenticated() and reverse('logout') or reverse('auth_signin'),
......
...@@ -101,7 +101,7 @@ Attacklab.wmdBase = function(){ ...@@ -101,7 +101,7 @@ Attacklab.wmdBase = function(){
var pastePollInterval = 100; var pastePollInterval = 100;
// The link and title for the help button // The link and title for the help button
var helpLink = "http://daringfireball.net/projects/markdown/syntax"; var helpLink = "http://chiedi.ubuntu-it.org/markdown_help/";
var helpHoverTitle = "Sintassi MarkDown"; var helpHoverTitle = "Sintassi MarkDown";
var helpTarget = "_blank"; var helpTarget = "_blank";
......
...@@ -18,20 +18,8 @@ ...@@ -18,20 +18,8 @@
</style> </style>
{% endblock %} {% endblock %}
{% block sidebar %} {% block sidebar %}
{% if not request.user.is_authenticated %}
{% if settings.SHOW_WELCOME_BOX %}
<div class="boxA">
<h3>{% trans "welcome to " %}{{ settings.APP_SHORT_NAME }}</h3>
<div class="body">
{{ settings.APP_INTRO|safe }}
<div class="more"><a href="{% url about %}">{% trans "about" %} </a></div>
<div class="more"><a href="{% url faq %}">{% trans "faq" %} </a></div>
</div>
</div>
{% endif %}
{% endif %}
{% include "question_list/count.html" %}
{% sidebar_upper %} {% sidebar_upper %}
{% include "question_list/count.html" %}
{% if request.user.is_authenticated %} {% if request.user.is_authenticated %}
{% tag_selector %} {% tag_selector %}
{% endif %} {% endif %}
......
...@@ -284,8 +284,6 @@ ...@@ -284,8 +284,6 @@
{% markdown_help %} {% markdown_help %}
{% sidebar_upper %}
{% cache 60 questions_tags settings.APP_URL question.id %} {% cache 60 questions_tags settings.APP_URL question.id %}
<div class="boxC"> <div class="boxC">
<p> <p>
...@@ -310,7 +308,6 @@ ...@@ -310,7 +308,6 @@
</p> </p>
</div> </div>
{% endcache %} {% endcache %}
{% sidebar_lower %}
<div class="boxC"> <div class="boxC">
<h3 class="subtitle">{% trans "Related questions" %}</h3> <h3 class="subtitle">{% trans "Related questions" %}</h3>
<div class="questions-related"> <div class="questions-related">
......
...@@ -40,9 +40,7 @@ ...@@ -40,9 +40,7 @@
{% block sidebar %} {% block sidebar %}
{% include "question_list/count.html" %} {% include "question_list/count.html" %}
{% sidebar_upper %}
{% tag_selector %} {% tag_selector %}
{% sidebar_lower %}
{% question_list_related_tags questions.paginator.page %} {% question_list_related_tags questions.paginator.page %}
{% endblock %} {% endblock %}
......
...@@ -60,4 +60,4 @@ DJANGO_VERSION = 1.3 ...@@ -60,4 +60,4 @@ DJANGO_VERSION = 1.3
OSQA_DEFAULT_SKIN = 'default' OSQA_DEFAULT_SKIN = 'default'
# disable mysqlfulltxt and local authentication (registrations users) # disable mysqlfulltxt and local authentication (registrations users)
DISABLED_MODULES = ['books', 'recaptcha', 'project_badges', 'mysqlfulltxt', 'localauth', 'oauthauth', 'facebookauth'] DISABLED_MODULES = ['books', 'recaptcha', 'project_badges', 'mysqlfulltext', 'localauth', 'oauthauth', 'facebookauth']
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment