summaryrefslogtreecommitdiff
path: root/djangoproject/templates/aggregator/index.html
blob: 709703e1cf020f9d0d49e07f2f341f8ef2af79c9 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{% extends "base_community.html" %}
{% load fundraising_extras i18n %}

{% block layout_class %}column-container sidebar-right{% endblock %}

{% block content %}
  <h1>{% translate "Community" %}</h1>
  <h2 class="community-title">{% translate "Get Help" %}</h2>
  <div class="community-cta-wrapper">
    <a href="https://forum.djangoproject.com/" class="community-cta-a">
      <div class="community-cta">
        <div aria-hidden="true">
          {% include "svg_logos/forum.html" %}
        </div>
        <h3>{% translate "Forum - Post a question" %}</h3>
      </div>
    </a>
    <a href="https://chat.djangoproject.com" class="community-cta-a">
      <div class="community-cta">
        <div aria-hidden="true">
          {% include "svg_logos/discord.html" %}
        </div>
        <h3>{% translate "Discord - Chat with us" %}</h3>
      </div>
    </a>
  </div>

  <h2 class="community-title">{% translate "Third Party Packages" %}</h2>
  <div class="community-cta-wrapper">
    <a href="{% url "community-ecosystem" %}" class="community-cta-a">
      <div class="community-cta">
        <div aria-hidden="true">
          {% include "svg_logos/package.html" %}
        </div>
        <h3>{% translate "Package Ecosystem" %}</h3>
      </div>
    </a>
  </div>

  <h2 class="community-title">{% translate "Get Involved" %}</h2>
  <div class="community-cta-wrapper">
    <a href="{% url 'document-detail' lang='en' version='dev' url='internals/contributing/bugs-and-features' host 'docs' %}#reporting-bugs" class="community-cta-a">
      <div class="community-cta">
        <div aria-hidden="true">
          {% include "svg_logos/bug.html" %}
        </div>
        <h3>{% translate "Report an issue" %}</h3>
      </div>
    </a>
    <a href="{% url 'document-detail' lang='en' version='dev' url='internals/contributing' host 'docs' %}" class="community-cta-a">
      <div class="community-cta">
        <div aria-hidden="true">
          {% include "svg_logos/notepad.html" %}
        </div>
        <h3>{% translate "Contribute to Django" %}</h3>
      </div>
    </a>
    <a href="/community/local/" class="community-cta-a">
      <div class="community-cta">
        <div aria-hidden="true">
          {% include "svg_logos/world.html" %}
        </div>
        <h3>{% translate "Local Django Community" %}</h3>
      </div>
    </a>
  </div>

  <h2>{% translate "Django RSS feeds" %}</h2>
  <ul class="list-collapsing">
    {% for feedtype, latest_feeds in feedtype_list %}
      <li id="{{ feedtype.slug }}">
        <h2 class="bullet-icon"><i class="icon icon-rss blue"></i> {{ feedtype.name }}</h2>
        <div class="collapsing-content">
          <dl class="list-links">
            {% for item in latest_feeds %}
              <dt><a href="{{ item.link }}">{{ item.title }}</a></dt>
              <dd>
                {% blocktranslate trimmed with modified_date=item.date_modified|date:"DATETIME_FORMAT" public_url=item.feed.public_url title=item.feed.title %}
                  {{ modified_date }} by <a href="{{ public_url }}">{{ title }}</a>
                {% endblocktranslate %}
              </dd>
            {% endfor %}
          </dl>
          <p class="meta">
            {% if latest_feeds %}
              <a href="{% url 'community-feed-list' feedtype.slug %}">{% translate "View more" %}</a>
            {% endif %}
            {% if latest_feeds and feedtype.can_self_add %}
              {% translate "or" context "view more OR add your feed" %}
            {% endif %}
            {% if feedtype.can_self_add %}
              <a href="{% url 'community-add-feed' feedtype.slug %}">{% translate "Add your feed" %}</a>
            {% endif %}
          </p>
        </div>
      </li>
    {% endfor %}
  </ul>
{% endblock %}

{% block content-related-extra %}
  {% top_corporate_members "diamond" "platinum" "gold" header="Diamond, Platinum and Gold Members" %}
{% endblock %}