From 617ab0683cf81b880b14551c1f98616c345fd483 Mon Sep 17 00:00:00 2001 From: Eric Theise Date: Mon, 16 Mar 2020 21:44:11 -0600 Subject: [PATCH] feat: add privacy policy & tos pages. addresses #9, supports #13 --- maps/templates/maps/privacy_policy.html | 55 +++++++++++++++ maps/templates/maps/terms_of_service.html | 85 +++++++++++++++++++++++ maps/urls.py | 3 + maps/views.py | 12 ++++ 4 files changed, 155 insertions(+) create mode 100644 maps/templates/maps/privacy_policy.html create mode 100644 maps/templates/maps/terms_of_service.html diff --git a/maps/templates/maps/privacy_policy.html b/maps/templates/maps/privacy_policy.html new file mode 100644 index 0000000..c0a07e3 --- /dev/null +++ b/maps/templates/maps/privacy_policy.html @@ -0,0 +1,55 @@ +{% extends 'maps/base.html' %} +{% load static %} +{% load maps_extras %} +{% block title %}{{ title |titlify }}{% endblock %} +{% block content %} + +{% include 'maps/search.html' %} +

+ The Platform Cooperativism Consortium (PCC) is dedicated to respecting and protecting your privacy. At the + PCC and ICDE, we are committed to making the processes and outcomes of our work transparent and accessible + to the public. +

+ +

Web Cookies

+ +

+ Our site may use web cookies. A web cookie is a small piece of data that is sent from a website and stored + on a user’s computer by their web browser. Web cookies are designed to improve the browsing experience of + the user by recording users’ browsing activity. Web cookies have also been identified as invisibly gathering + information about users’ habits for marketing purposes. The PCC will not use web cookies for this purpose. +

+ +

How We Share Your Information

+ +

+ Please be aware that The Platform Cooperativism Consortium works with a variety of third parties, including + Mailchimp (for our community updates), Riseup.net (for our discussion list) and Eventbrite (for public + programming), that host and manage the information that you provide on our website. Beyond that, we do not + reveal your personal information to third parties. +

+ +

Contact

+ +

+ The Platform Cooperativism Consortium is the owner and operator of the website platform.coop. Please reach + out to us if you have questions or concerns about how your privacy is handled, email us at + info@platform.coop or send a letter to: +

+ +

+ Platform Cooperativism Consortium
+ 79 5th Ave 16th floor, Rm. 1601
+ New York, NY 10003
+ USA +

+ +

Feedback

+ +

+ We welcome your feedback and input as we continue to build this privacy policy over the next several months. +

+{% endblock %} diff --git a/maps/templates/maps/terms_of_service.html b/maps/templates/maps/terms_of_service.html new file mode 100644 index 0000000..09eb489 --- /dev/null +++ b/maps/templates/maps/terms_of_service.html @@ -0,0 +1,85 @@ +{% extends 'maps/base.html' %} +{% load static %} +{% load maps_extras %} +{% block title %}{{ title |titlify }}{% endblock %} +{% block content %} + + {% include 'maps/search.html' %} +

Terms of Use ("Terms")

+ +

Last updated: 16 Mar 2020

+ +

+ Please read these Terms of Use ("Terms", "Terms of Use") carefully before using the + http://directory.platform.coop/ website (the "Service") operated by Platform Cooperativism Consortium ("us", + "we", or "our"). +

+ +

+ Your access to and use of the Service is conditioned on your acceptance of and compliance with these Terms. + These Terms apply to all visitors, users and others who access or use the Service. +

+ +

+ By accessing or using the Service you agree to be bound by these Terms. If you disagree with any part of the + terms then you may not access the Service. +

+ +

Termination

+ +

+ We may terminate or suspend access to our Service immediately, without prior notice or liability, for any reason + whatsoever, including without limitation if you breach the Terms. +

+ +

+ All provisions of the Terms which by their nature should survive termination shall survive termination, + including, without limitation, ownership provisions, warranty disclaimers, indemnity and limitations of + liability. +

+ +

Content

+ +

+ Our Service allows you to post, link, store, share and otherwise make available certain information, text, + graphics, videos, or other material ("Content"). You are responsible for the … +

+ +

+ The Content section is for businesses that allow users to create, edit, share, make content on their websites or + apps. For the full disclosure section, create your own Terms of Use. +

+ +

Links To Other Web Sites

+ +

+ Our Service may contain links to third-party web sites or services that are not owned or controlled by Platform + Cooperativism Consortium. +

+ +

+ Platform Cooperativism Consortium has no control over, and assumes no responsibility for, the content, privacy + policies, or practices of any third party web sites or services. You further acknowledge and agree that Platform + Cooperativism Consortium shall not be responsible or liable, directly or indirectly, for any damage or loss + caused or alleged to be caused by or in connection with use of or reliance on any such content, goods or + services available on or through any such web sites or services. +

+ +

Changes

+ +

+ We reserve the right, at our sole discretion, to modify or replace these Terms at any time. If a revision is + material we will try to provide at least 30 days' notice prior to any new terms taking effect. What constitutes + a material change will be determined at our sole discretion. +

+ +

Contact Us

+ +

+ If you have any questions about these Terms, please contact us. +

+ +{% endblock %} diff --git a/maps/urls.py b/maps/urls.py index 9dc8442..2d9ad62 100644 --- a/maps/urls.py +++ b/maps/urls.py @@ -1,10 +1,13 @@ from django.urls import path from . import views +from .views import PrivacyPolicyView, TermsOfServiceView urlpatterns = [ path('', views.index, name='index'), path('profile/', views.profile, name='profile'), path('organizations/', views.organization_detail, name='organization_detail'), path('individuals/', views.individual_detail, name='individual_detail'), + path('privacy-policy/', PrivacyPolicyView.as_view(), {'name': 'privacy_policy', 'title': 'Privacy Policy'}), + path('terms-of-service/', TermsOfServiceView.as_view(), {'name': 'terms_of_service', 'title': 'Terms of Service'}), ] diff --git a/maps/views.py b/maps/views.py index f6a0585..cb075a0 100644 --- a/maps/views.py +++ b/maps/views.py @@ -1,5 +1,6 @@ from django.http import HttpResponse from django.template import loader +from django.views.generic import TemplateView from django.shortcuts import get_object_or_404, render from accounts.models import User from mdi.models import Organization @@ -33,3 +34,14 @@ def individual_detail(request, user_id): context = { } return render(request, 'maps/individual_detail.html', {'individual': user}) + + +# Static pages +class PrivacyPolicyView(TemplateView): + template_name = "maps/privacy_policy.html" + + +class TermsOfServiceView(TemplateView): + template_name = "maps/terms_of_service.html" + +