From f701687ca6e6d324542aa51908dd67be3e47d725 Mon Sep 17 00:00:00 2001 From: mahesh Date: Fri, 1 Apr 2016 01:54:39 +0530 Subject: displays errors on tbc notebooks, broken notebook paths/urls --- tbc_error_page/templates/error.html | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 tbc_error_page/templates/error.html (limited to 'tbc_error_page/templates/error.html') diff --git a/tbc_error_page/templates/error.html b/tbc_error_page/templates/error.html new file mode 100644 index 0000000..ee4c415 --- /dev/null +++ b/tbc_error_page/templates/error.html @@ -0,0 +1,41 @@ +{% extends "base.html" %} +{% block title %} TBC Error Page {% endblock %} + + + + +{% block content %} + +

TBC Error Page

+
Hi {{ user }}
+

TBC Broken Links page

+ {% if not context %} +

There are no new errors

+ {% else %} + + + + + + + + {% csrf_token %} + {% for errors in context %} +
+ +
+ + {% if errors.is_deliberate == 0 %} + + + + + + {% endfor %} +
Chapters With errors Number of errors Delibrate Errors
{{ errors.chapter_name }} {{ errors.number_of_errors }} + {% endif %} +
+ + +{% endif %} +{% endblock %} -- cgit