Commit 7621d076 authored by Weblate's avatar Weblate

Merge remote-tracking branch 'origin/master'

parents 49ad57dd ee66dff2
......@@ -37,6 +37,11 @@
{% url 'register' as reg_url %}
{% blocktrans %}If you would like to contribute to translation of {{ project }}, you need to <a href="{{ reg_url }}">register on this server</a>.{% endblocktrans %}
</p>
{% if object.enable_acl %}
<p>
{% trans "This translation is open only to limited group of translators, if you want to contribute please get in touch with project maintainers." %}
</p>
{% endif %}
<p>
{% blocktrans %}Once you have activated your account just proceed to the <a href="{{ url }}">translation section</a>.{% endblocktrans %}
</p>
......
......@@ -162,8 +162,8 @@ def search(request):
def show_engage(request, project, lang=None):
# Get project object
obj = get_project(request, project)
# Get project object, skipping ACL
obj = get_project(request, project, skip_acl=True)
# Handle language parameter
language = None
......
......@@ -118,7 +118,8 @@ def widgets(request, project):
@cache_page(3600)
def render_widget(request, project, widget='287x66', color=None, lang=None,
extension='png'):
obj = get_project(request, project)
# We intentionally skip ACL here to allow widget sharing
obj = get_project(request, project, skip_acl=True)
# Handle language parameter
if lang is not None:
......
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