]> git.ipfire.org Git - ipfire.org.git/commitdiff
fireinfo: Drop 404 page
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Oct 2018 11:35:32 +0000 (11:35 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Oct 2018 11:35:32 +0000 (11:35 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
src/templates/fireinfo/profile-notfound.html [deleted file]

index 1cdb0cc83f9b45dd22a8de0c992a7413efff7bfe..7eb76a9936093a38586dca71f7cabe893feab7b2 100644 (file)
@@ -143,7 +143,6 @@ templates_fireinfo_DATA = \
        src/templates/fireinfo/i-use-1.png \
        src/templates/fireinfo/model-detail.html \
        src/templates/fireinfo/profile.html \
-       src/templates/fireinfo/profile-notfound.html \
        src/templates/fireinfo/stats-admin.html \
        src/templates/fireinfo/stats-cpus-detail.html \
        src/templates/fireinfo/stats-cpus.html \
diff --git a/src/templates/fireinfo/profile-notfound.html b/src/templates/fireinfo/profile-notfound.html
deleted file mode 100644 (file)
index e26842d..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-{% extends "../base.html" %}
-
-{% block title %}{{ _("Profile not found") }}}{% end block %}
-
-{% block body %}
-       <img class="pull-right" src="{{ static_url("images/error/404.png") }}" alt="{{ _("Error") }}" />
-       <div class="page-header">
-               <h1>404 - {{ _("Profile not found") }}</h1>
-       </div>
-
-       <div class="row">
-               <div class="col-lg-12 col-md-12">
-                       <p>
-                               There was no profile data found for profile <code>{{ profile_id }}</code>.
-                       </p>
-                       <p>
-                               The profile owner has probably not submitted any data 
-                               or recently disabled the transmission.
-                       </p>
-                       <p>
-                               If this is your own profile, you can
-                               <a href="https://wiki.ipfire.org/en/fireinfo/my_profile" target="_blank">enable</a>
-                               the submission on the web user interface.
-                       </p>
-               </div>
-       </div>
-{% end block %}