Skip to content

Commit

Permalink
Bug 806580 - move /legal/eula into bedrock
Browse files Browse the repository at this point in the history
initial add of legal app

added eula urls and placeholder page, waiting for text

added legal text

added missing trailing slash

Bug 806580 - move /legal/eula into bedrock
  • Loading branch information
bensternthal authored and rik committed Nov 6, 2012
1 parent b26f331 commit bf33107
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 0 deletions.
Empty file added apps/legal/__init__.py
Empty file.
Empty file added apps/legal/models.py
Empty file.
22 changes: 22 additions & 0 deletions apps/legal/templates/eula/index.html
@@ -0,0 +1,22 @@
{% extends "base-resp.html" %}

{% block page_title %}{{_('Mozilla Foundation End-User Licensing Agreements')}}{% endblock %}
{% block body_id %}legal_eula_index-page{% endblock %}
{% block body_class %}sand{% endblock %}

{% block content %}

<h1 id="main-feature">{{_('Mozilla Foundation End-User Licensing Agreements')}}</h1>

<section id="main-content">
<p>
Mozilla software is made available to you under the terms of the
<a href="http://www.mozilla.org/MPL/2.0/">Mozilla Public License 2</a>,
a free software license, which gives you the right to run the program
for any purpose, to study how it works, to give copies to your friends
and to modify it to meet your needs better. There is no
separate End User License Agreement (EULA).
</p>
</section>

{% endblock %}
6 changes: 6 additions & 0 deletions apps/legal/urls.py
@@ -0,0 +1,6 @@
from django.conf.urls.defaults import *
from mozorg.util import page

urlpatterns = patterns('',
page('eula', 'eula/index.html'),
)
1 change: 1 addition & 0 deletions settings/base.py
Expand Up @@ -453,6 +453,7 @@ def JINJA_CONFIG():
'styleguide', 'styleguide',
'privacy', 'privacy',
'redirects', 'redirects',
'legal',


# libs # libs
'l10n_utils', 'l10n_utils',
Expand Down
1 change: 1 addition & 0 deletions urls.py
Expand Up @@ -21,6 +21,7 @@
(r'^apps/', include('marketplace.urls')), (r'^apps/', include('marketplace.urls')),
(r'^persona/', include('persona.urls')), (r'^persona/', include('persona.urls')),
(r'^styleguide/', include('styleguide.urls')), (r'^styleguide/', include('styleguide.urls')),
(r'^legal/', include('legal.urls')),
(r'', include('redirects.urls')), (r'', include('redirects.urls')),
(r'', include('firefox.urls')), (r'', include('firefox.urls')),
(r'', include('mozorg.urls')), (r'', include('mozorg.urls')),
Expand Down

0 comments on commit bf33107

Please sign in to comment.