Skip to content
Snippets Groups Projects
Commit 84cdaff6 authored by Flavio TARSETTI's avatar Flavio TARSETTI
Browse files

[settings/ui][settings/templates-views] Fix issue with documentation

pointers

Fixes #545
parent ba122bc0
No related branches found
No related tags found
1 merge request!322Fix Sign-up/Sign-in form and documentation pointers
Pipeline #38120 passed
......@@ -435,3 +435,4 @@ SERIALIZATION_MODULES = {"json": "beat.web.utils.activity_stream_serializer"}
##############################################################################
DOCUMENTATION_LINK = "https://www.idiap.ch/software/beat/docs/beat/docs/stable/beat.web/doc/user/index.html"
DOCUMENTATION_FAQ_LINK = "https://www.idiap.ch/software/beat/docs/beat/docs/stable/beat.web/doc/user/faq.html"
......@@ -115,7 +115,7 @@
{% endfor %}
<div class="alert alert-warning" role="alert">Your account needs to
be validated by a recognized person on the platform. This recognized
person is known as a <a href="{{url_prefix}}/static/guide/faq.html#what-is-a-supervisor"> supervisor</a>.
person is known as a <a href="{{documentation_faq_link}}#what-is-a-supervisor"> supervisor</a>.
If you wish to become a supervisor, please follow the <a href="{% url 'contact' %}">contact information</a>.
</div>
</div>
......@@ -157,8 +157,8 @@
<div class="alert alert-danger" role="alert">{{ error }}</div>
{% endfor %}
<div class="alert alert-warning" role="alert">By requesting a <a href="{{url_prefix}}/static/guide/faq.html#what-is-a-supervisor"> supervisor</a>
account you acknowledge that you hold a position in a research laboratory. In order to become a recognized person on the platform your profile
<div class="alert alert-warning" role="alert">By requesting a <a href="{{documentation_faq_link}}#what-is-a-supervisor"> supervisor</a>
account you acknowledge that you hold a permanent position in a research laboratory. In order to become a recognized person on the platform your profile
will be checked by the administrators of the platform.
</div>
......
......@@ -199,6 +199,7 @@ def register(request, success_url=None,
context = { 'form': form,
'form_supervisor': form_supervisor,
'supervisor_form_active': supervisor_form_active,
'documentation_faq_link': settings.DOCUMENTATION_FAQ_LINK,
'url_prefix':settings.URL_PREFIX }
if extra_context is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment