Added privacy policy section
This commit is contained in:
parent
5c05ec0a8b
commit
f3d152b454
4 changed files with 15 additions and 1 deletions
|
|
@ -95,6 +95,7 @@ Those files are markdown files that are rendered as HTML. You have to supply the
|
|||
The following files are expected:
|
||||
|
||||
* `imprint.md` with your imprint information.
|
||||
* `privacy_policy.md` with your privacy policy.
|
||||
|
||||
## Settings
|
||||
|
||||
|
|
|
|||
|
|
@ -86,7 +86,14 @@
|
|||
<footer class="footer">
|
||||
<div class="columns container">
|
||||
<div class="column">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{% url 'imprint' %}">Imprint</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{% url 'privacy_policy' %}">Privacy Policy</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="column">
|
||||
<a href="https://git.srvspace.net/jo/community-backup">Source Code</a>
|
||||
|
|
|
|||
|
|
@ -19,4 +19,5 @@ urlpatterns = [
|
|||
path("register/", views.RegisterUserView.as_view(), name="register"),
|
||||
path("delete/", views.DeleteUserView.as_view(), name="delete"),
|
||||
path("imprint/", views.ImprintView.as_view(), name="imprint"),
|
||||
path("privacy-policy/", views.PrivacyPolicyView.as_view(), name="privacy_policy"),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -51,6 +51,11 @@ class ImprintView(MarkdownView):
|
|||
md = "imprint.md"
|
||||
|
||||
|
||||
class PrivacyPolicyView(MarkdownView):
|
||||
template_name = "markdown.html"
|
||||
md = "privacy_policy.md"
|
||||
|
||||
|
||||
class BorgView(LoginRequiredMixin, ListView):
|
||||
template_name = "borg_list.html"
|
||||
content_object_name = "borg_repositories"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue