You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html 515B

123456789101112131415161718192021222324252627282930313233343536
  1. {% extends 'base.html' %}
  2. {% block title %}
  3. News
  4. {% endblock %}
  5. {% block content %}
  6. <div class="container">
  7. {% for notice in notices %}
  8. <h3>{{ notice.notice_title }}</h3>
  9. <p>{{ notice.notice_text }}</p>
  10. <p><a href="{% url 'new' %}" class="btn btn-info" role="button">Neue Nachricht</a></p>
  11. <p><a href="{% url 'delete' deleteId=notice.id %}" class="btn btn-danger">
  12. Meldung loeschen</a></p>
  13. {% endfor %}
  14. </div>
  15. {% endblock %}