Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add empty TOS template
Roland Geiderebe45a9e77f0
diff --git a/docs/install.rst b/docs/install.rstindex 732350122..93b7795bd 100644--- a/docs/install.rst+++ b/docs/install.rst@@ -13,6 +13,9 @@ The application is compatible and regularly tested with* sqlite, postgres* python 2.7, 3.3 and 3.4+See the :ref:`other-changes` section for content related changes to your+installation.+Databasse@@ -142,3 +145,15 @@ the password as soon as you log in):Collect all static resources::python manage.py collectstatic+++.. _other-changes:++Other changes+-------------++If you want to use the application as a public instance, you will probably want to+change the following templates:++* **tos.html**, for your own Terms Of Service here+* **about.html**, for your contact address or other such legal requirements\ No newline at end of filediff --git a/wger/core/templates/navigation.html b/wger/core/templates/navigation.htmlindex cb468f18b..14b11aaa4 100644--- a/wger/core/templates/navigation.html+++ b/wger/core/templates/navigation.html@@ -124,6 +124,7 @@<li><a href="{% url 'software:features' %}">{% trans "Features" %}</a></li><li><a href="{% url 'software:contribute' %}">{% trans "Contribute!" %} </a></li><li><a href="{% url 'software:issues' %}">{% trans "Problems and wishes" %} </a></li>+ <li><a href="{% url 'software:tos' %}">{% trans "Terms of service" %} </a></li><li class="divider"></li><li><a href="{% url 'software:code' %}">{% trans "Get the code" %} </a></li><li><a href="{% url 'software:api' %}">{% trans "REST API" %} </a></li>diff --git a/wger/core/templates/template.html b/wger/core/templates/template.htmlindex 0d926951d..7ed5ec132 100644--- a/wger/core/templates/template.html+++ b/wger/core/templates/template.html@@ -211,6 +211,7 @@<a href="{% url 'core:about' %}">{% trans "About" %}</a>| <a href="{% url 'software:contribute' %}">{% trans "Contribute!" %}</a>| <a href="{% url 'core:contact' %}">{% trans "Get in touch" %}</a>+ | <a href="{% url 'software:tos' %}">{% trans "Terms of service" %}</a><div class="navbar-right"><em class="text-muted" style="font-size: 80%;">{{version}}</em>diff --git a/wger/software/templates/tos.html b/wger/software/templates/tos.htmlnew file mode 100644index 000000000..bfd210c65--- /dev/null+++ b/wger/software/templates/tos.html@@ -0,0 +1,11 @@+{% extends "base.html" %}+{% load i18n %}+{% load staticfiles %}+{% load wger_extras %}+++{% block title %}{% trans "Terms of service" %}{% endblock %}++{% block content %}+ Add your terms of service here+{% endblock %}diff --git a/wger/software/urls.py b/wger/software/urls.pyindex 249c54d2d..3daec914e 100644--- a/wger/software/urls.py+++ b/wger/software/urls.py@@ -22,6 +22,9 @@ urlpatterns = patterns('',url(r'^issues$',TemplateView.as_view(template_name="issues.html"),name='issues'),+ url(r'^terms-of-service$',+ TemplateView.as_view(template_name="tos.html"),+ name='tos'),url(r'^features$',TemplateView.as_view(template_name="functions.html"),