diff options
author | volpino <fox91@anche.no> | 2012-08-14 15:32:54 +0200 |
---|---|---|
committer | volpino <fox91@anche.no> | 2012-08-14 15:32:54 +0200 |
commit | d8de359256f3633e1973a0a0cf2192ba5c4b2210 (patch) | |
tree | 28dda0acade0937036a17538253c7f240df9fadb /euscanwww | |
parent | euscanwww: The input of a field with errors is red (diff) | |
download | euscan-d8de359256f3633e1973a0a0cf2192ba5c4b2210.tar.gz euscan-d8de359256f3633e1973a0a0cf2192ba5c4b2210.tar.bz2 euscan-d8de359256f3633e1973a0a0cf2192ba5c4b2210.zip |
euscanwww: Added feeds help page
Signed-off-by: volpino <fox91@anche.no>
Diffstat (limited to 'euscanwww')
-rw-r--r-- | euscanwww/djeuscan/templates/_base.html | 1 | ||||
-rw-r--r-- | euscanwww/djeuscan/templates/euscan/feeds.html | 30 | ||||
-rw-r--r-- | euscanwww/djeuscan/urls.py | 1 | ||||
-rw-r--r-- | euscanwww/djeuscan/views.py | 5 |
4 files changed, 37 insertions, 0 deletions
diff --git a/euscanwww/djeuscan/templates/_base.html b/euscanwww/djeuscan/templates/_base.html index efcc4d5..35a3e4b 100644 --- a/euscanwww/djeuscan/templates/_base.html +++ b/euscanwww/djeuscan/templates/_base.html @@ -83,6 +83,7 @@ {% endblock %} <li>---</li> <li><a href="{% url "api" %}">API</a></li> + <li><a href="{% url "feeds" %}">Feeds</a></li> <li><a href="{% url "about" %}">About</a></li> {% endblock %} </ul> diff --git a/euscanwww/djeuscan/templates/euscan/feeds.html b/euscanwww/djeuscan/templates/euscan/feeds.html new file mode 100644 index 0000000..19c26e8 --- /dev/null +++ b/euscanwww/djeuscan/templates/euscan/feeds.html @@ -0,0 +1,30 @@ +{% extends "_base.html" %} + +{% load url from future %} + +{% block content %} +<h2>Feeds</h2> + +<div> + <p> + Euscan provides different types of feed for keeping an eye on the packages + you're interested in as well as a set of options to customize them. + </p> + <h4>Options</h4> + <ul> + <li><em>portage_info</em>: Get info about portage updates (default: on)</li> + <li><em>upstream_info</em>: Get info about upstream updates (default: on)</li> + <li><em>show_adds</em>: Show version bumps (default: on)</li> + <li><em>show_removals</em>: Show removals (default: on)</li> + <li><em>ignore_pre</em>: Ignore unstable releases (default: off)</li> + <li><em>ignore_pre_if_stable</em>: Ignore unstable releases only if current release is stable (default: off)</li> + </ul> + + <h4>Usage examples</h4> + <ul> + <li><a href="{% url "global_feed" %}?portage_info=0&show_removals=0">{% url "global_feed" %}?portage_info=0&show_removals=0</a></li> + <li><a href="{% url "global_feed" %}?ignore_pre=true">{% url "global_feed" %}?ignore_pre=true</a></li> + </ul> +</div> + +{% endblock %} diff --git a/euscanwww/djeuscan/urls.py b/euscanwww/djeuscan/urls.py index 226380c..39893ee 100644 --- a/euscanwww/djeuscan/urls.py +++ b/euscanwww/djeuscan/urls.py @@ -112,6 +112,7 @@ urlpatterns = patterns('djeuscan.views', url(r'^feed/$', GlobalFeed(), name='global_feed'), url(r'^about/$', 'about', name="about"), url(r'^about/api$', 'api', name="api"), + url(r'^about/feeds$', 'feeds', name="feeds"), url(r'^statistics/$', 'statistics', name="statistics"), url(r'^statistics/charts/(?P<chart>[\w\-]+).png$', 'chart', name="chart"), url(r'^world/$', 'world', name="world"), diff --git a/euscanwww/djeuscan/views.py b/euscanwww/djeuscan/views.py index 2c132eb..bb60df2 100644 --- a/euscanwww/djeuscan/views.py +++ b/euscanwww/djeuscan/views.py @@ -306,6 +306,11 @@ def api(request): return {} +@render_to("euscan/feeds.html") +def feeds(request): + return {} + + @render_to("euscan/statistics.html") def statistics(request): return {} |