summaryrefslogtreecommitdiff
path: root/djangoproject/templates/aggregator/my-feeds.html
blob: 7a013f15944d22f076e84ea6aee80993ff6c7ea5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends "base_community.html" %}
{% load i18n %}

{% block content %}
  <h1>{% translate "Community" %}</h1>

  <h2 class="deck">{% translate "Manage your community aggregator feeds:" %}</h2>

  <div id="s-feed">
    <ul class="simple">
      {% for feed in feeds %}
        <li>
          <strong>{{ feed }}</strong> (<code>{{ feed.feed_url }}</code> — <strong>{{ feed.get_approval_status_display }}</strong>) —
          <a href="{% url 'community-edit-feed' feed.id %}">{% translate "Edit" %}</a> |
          <a href="{% url 'community-delete-feed' feed.id %}">{% translate "Delete" %}</a>
        </li>
      {% endfor %}
      <li>{% translate "Add a new feed:" %}
        {% for t in feed_types %}
          <a href="{% url 'community-add-feed' t.slug %}">{{ t }}</a>
          {% if not forloop.last %}|{% endif %}
        {% endfor %}
      </li>
  {# <li>Claim a feed already in the system.</li> #}
    </ul>
  </div>
{% endblock content %}