Skip to content

Commit

Permalink
feat: add privacy policy & tos pages. addresses #9, supports #13
Browse files Browse the repository at this point in the history
  • Loading branch information
erictheise committed Mar 17, 2020
1 parent 4c252ae commit 617ab06
Show file tree
Hide file tree
Showing 4 changed files with 155 additions and 0 deletions.
55 changes: 55 additions & 0 deletions maps/templates/maps/privacy_policy.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{% extends 'maps/base.html' %}
{% load static %}
{% load maps_extras %}
{% block title %}{{ title |titlify }}{% endblock %}
{% block content %}
<div class="page-header">
<h1><span class="pc-ff--sans pc-fw--normal">Platform Co-op</span><br/> Directory</h1>
<p class="subhead">Subhead.</p>
</div>
{% include 'maps/search.html' %}
<p>
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.
</p>

<h2>Web Cookies</h2>

<p>
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.
</p>

<h2>How We Share Your Information</h2>

<p>
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.
</p>

<h2>Contact</h2>

<p>
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
<a href="mailto:[email protected]">[email protected]</a> or send a letter to:
</p>

<p>
Platform Cooperativism Consortium<br />
79 5th Ave 16th floor, Rm. 1601<br />
New York, NY 10003<br />
USA
</p>

<h2>Feedback</h2>

<p>
We welcome your feedback and input as we continue to build this privacy policy over the next several months.
</p>
{% endblock %}
85 changes: 85 additions & 0 deletions maps/templates/maps/terms_of_service.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{% extends 'maps/base.html' %}
{% load static %}
{% load maps_extras %}
{% block title %}{{ title |titlify }}{% endblock %}
{% block content %}
<div class="page-header">
<h1><span class="pc-ff--sans pc-fw--normal">Platform Co-op</span><br/> Directory</h1>
<p class="subhead">Subhead.</p>
</div>
{% include 'maps/search.html' %}
<h2>Terms of Use ("Terms")</h2>

<p>Last updated: 16 Mar 2020</p>

<p>
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").
</p>

<p>
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.
</p>

<p>
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.
</p>

<h2>Termination</h2>

<p>
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.
</p>

<p>
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.
</p>

<h2>Content</h2>

<p>
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 …
</p>

<p>
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.
</p>

<h2>Links To Other Web Sites</h2>

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

<p>
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.
</p>

<h2>Changes</h2>

<p>
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.
</p>

<h2>Contact Us</h2>

<p>
If you have any questions about these Terms, please contact us.
</p>

{% endblock %}
3 changes: 3 additions & 0 deletions maps/urls.py
Original file line number Diff line number Diff line change
@@ -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/<int:organization_id>', views.organization_detail, name='organization_detail'),
path('individuals/<int:user_id>', 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'}),
]
12 changes: 12 additions & 0 deletions maps/views.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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"


0 comments on commit 617ab06

Please sign in to comment.