From d8de359256f3633e1973a0a0cf2192ba5c4b2210 Mon Sep 17 00:00:00 2001 From: volpino Date: Tue, 14 Aug 2012 15:32:54 +0200 Subject: [PATCH] euscanwww: Added feeds help page Signed-off-by: volpino --- euscanwww/djeuscan/templates/_base.html | 1 + .../djeuscan/templates/euscan/feeds.html | 30 +++++++++++++++++++ euscanwww/djeuscan/urls.py | 1 + euscanwww/djeuscan/views.py | 5 ++++ 4 files changed, 37 insertions(+) create mode 100644 euscanwww/djeuscan/templates/euscan/feeds.html 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 %}
  • ---
  • API
  • +
  • Feeds
  • About
  • {% endblock %} 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 %} +

    Feeds

    + +
    +

    + 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. +

    +

    Options

    +
      +
    • portage_info: Get info about portage updates (default: on)
    • +
    • upstream_info: Get info about upstream updates (default: on)
    • +
    • show_adds: Show version bumps (default: on)
    • +
    • show_removals: Show removals (default: on)
    • +
    • ignore_pre: Ignore unstable releases (default: off)
    • +
    • ignore_pre_if_stable: Ignore unstable releases only if current release is stable (default: off)
    • +
    + +

    Usage examples

    + +
    + +{% 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[\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 {}