Skip to content
Browse files

Bug 806580 - move /legal/eula into bedrock

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...
1 parent b26f331 commit bf33107f062482a23bf54ed72005bca20c6683d4 @bensternthal bensternthal committed with rik Oct 29, 2012
View
0 apps/legal/__init__.py
No changes.
View
0 apps/legal/models.py
No changes.
View
22 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 %}
View
6 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'),
+)
View
1 settings/base.py
@@ -453,6 +453,7 @@ def JINJA_CONFIG():
'styleguide',
'privacy',
'redirects',
+ 'legal',
# libs
'l10n_utils',
View
1 urls.py
@@ -21,6 +21,7 @@
(r'^apps/', include('marketplace.urls')),
(r'^persona/', include('persona.urls')),
(r'^styleguide/', include('styleguide.urls')),
+ (r'^legal/', include('legal.urls')),
(r'', include('redirects.urls')),
(r'', include('firefox.urls')),
(r'', include('mozorg.urls')),

0 comments on commit bf33107

Please sign in to comment.
Something went wrong with that request. Please try again.