Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Added about page. Bug 611382.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred Wenzel committed Jan 13, 2011
1 parent 912b778 commit 0588856
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 1 deletion.
7 changes: 7 additions & 0 deletions apps/dashboard/templates/dashboard/dashboard.html
Expand Up @@ -53,6 +53,13 @@ <h3>{{ _('URL Provided?') }}</h3>
</div><!--
--><div class="col middle wide">
<div id="welcome" class="block prose">
{% trans about_url=url('about') %}
<strong>Welcome to Firefox Input!</strong> This is Mozilla's primary user
feedback application. <a href="{{ about_url }}">Learn more...</a>
{% endtrans %}
</div>

{% include "dashboard/includes/feedback_chart.html" %}

<div id="messages" class="block">
Expand Down
6 changes: 5 additions & 1 deletion media/css/input.css
Expand Up @@ -117,7 +117,11 @@ header, footer, article, section { display: block; }
font-style: italic;
}
.block.prose p {
margin: 1em 0;
line-height: 120%;
margin: 0 0 1em 0;
}
.block.prose strong {
font-weight: bold;
}


Expand Down
44 changes: 44 additions & 0 deletions templates/about.html
@@ -0,0 +1,44 @@
{% extends "base.html" %}

{% block page_title %}{{ _('About Firefox Input') }}{% endblock %}

{% block content %}
<div class="block prose">
<h2>{{ _('Hello!') }}</h2>
<p>
{% trans %}
<strong>Firefox Input</strong> is Mozilla's primary feedback mechanism. It is
set up to be a method of one-way communication about your experiences in using
Firefox, the Internet you view it through, and what Mozilla can do to make
that experience better. The system is available over a wide-variety of
submission mechanisms over all three major channels of builds.
{% endtrans %}
</p>
<p>
{% trans feedback_url=url('feedback.release_feedback') %}
To submit feedback for your version of Firefox, please go to <a href="{{
feedback_url }}">the feedback submission page</a>!
{% endtrans %}
</p>

<h2>{{ _('Open Data') }}</h2>

<p>
{% trans data_url='https://wiki.mozilla.org/Firefox/Input#Data_Requests.2FExperiments' %}
We'd love to experiment more with this data, but we're only a few people.
So, we need requests from you on questions you'd like to see answered!
If you would like to experiment with our data, please <a href="{{
data_url }}">contact us</a>!
{% endtrans %}

<h2>{{ _('Source Code') }}</h2>

<p>
{% trans source_url='http://github.com/fwenzel/reporter' %}
The code for the Firefox Input web application can be found <a href="{{
source_url }}">on GitHub</a>!
{% endtrans %}
</p>
</div>
{% endblock %}

2 changes: 2 additions & 0 deletions urls.py
Expand Up @@ -26,6 +26,8 @@ def _error_page(request, status):

(r'^admin/', include('myadmin.urls')),

url(r'about/?$', jingo.render, {'template': 'about.html'},
name='about'),
(r'^robots\.txt$', jingo.render, {'template': 'robots.txt',
'mimetype': 'text/plain'}),

Expand Down

0 comments on commit 0588856

Please sign in to comment.