{% extends "scrutiny/base.html" %}
{% load i18n %}

{% block page-title %}
  Scrutiny
{% endblock %}

{% block header %}
  {{ block.super }}
{% endblock %}

{% block extrascripts %}
  <script src="{{ STATIC_URL}}js/konami.js"></script>
  <script>
    var konami = new Konami('http://en.wikipedia.org/wiki/New_Maps_of_Hell');
  </script>
{% endblock %}

{% block appbar %}
  <h2>{% trans 'Welcome' %}</h2>
{% endblock %}

{% block content %}
  <div>

    <p>
      {% blocktrans %}
        Scrutiny provides a view over the different platforms of our projects.
      {% endblocktrans %}
    </p>

    <ul>
      {% for project in projects %}
        <li><a href="{% url 'project-view' slug=project.slug %}">{{ project.title }}</a>
          (<a href="{% url 'project-summary-history' slug=project.slug %}">historique des mises à jour</a>)
        </li>
      {% endfor %}
    </ul>

    <p>
      A list of <a href="{% url 'modules-list' %}">all tracked modules</a> is available.
    </p>

  </div>
{% endblock %}
