templates_location_DATA = \
src/templates/location/index.html \
src/templates/location/install.html \
- src/templates/location/lookup.html
+ src/templates/location/lookup.html \
+ src/templates/location/report-a-problem.html
templates_locationdir = $(templatesdir)/location
{{ _("Install") }}
</a>
+ <a class="navbar-item is-tab
+ {% if request.path == "/location/report-a-problem" %}is-active{% end %}"
+ href="/location/report-a-problem">
+ {{ _("Report A Problem") }}
+ </a>
+
{# Main #}
{% else %}
<a class="navbar-item is-tab {% if request.path == "/about" %}is-active{% end %}" href="/about">{{ _("About") }}</a>
--- /dev/null
+{% extends "../base.html" %}
+
+{% block title %}{{ _("Report A Problem") }}{% end block %}
+
+{% block container %}
+ <section class="hero is-light">
+ <div class="hero-body">
+ <div class="container">
+ <nav class="breadcrumb" aria-label="breadcrumbs">
+ <ul>
+ <li>
+ <a href="/">
+ {{ _("Home") }}
+ </a>
+ </li>
+ <li>
+ <a href="/location">
+ {{ _("Location") }}
+ </a>
+ </li>
+ <li class="is-active">
+ <a href="#" aria-current="page">{{ _("Report A Problem") }}</a>
+ </li>
+ </ul>
+ </nav>
+
+ <h1 class="title">{{ _("Report A Problem") }}</h1>
+ </div>
+ </div>
+ </section>
+
+ <section class="section">
+ <div class="container">
+ <div class="content is-size-5">
+ <p>
+ Although we aim for the highest accuracy when creating IPFire Location,
+ there is a chance that we are getting things wrong.
+ If you have discovered a potential problem in our database, it would
+ be great if you could report it to us. It is only a few steps:
+ </p>
+
+ <ol>
+ {% if not current_user %}
+ <li>
+ If you don't have one already,
+ create an <a href="/join">account</a>.
+ </li>
+ {% end %}
+
+ <li>
+ Gather as much information as possible around your problem.
+ The more information we have available, the faster we can fix it.
+ </li>
+
+ <li>
+ <a href="https://bugzilla.ipfire.org/enter_bug.cgi?product=Location%20Database&component=Database">
+ Create a ticket
+ </a> on Bugzilla
+ </li>
+ </ol>
+ </div>
+ </div>
+ </section>
+{% end block %}
(r"/location/how\-to\-use/dns", StaticHandler, { "template" : "location/how-to-use/dns.html" }),
(r"/location/how\-to\-use/python", StaticHandler, { "template" : "location/how-to-use/python.html" }),
(r"/location/install", StaticHandler, { "template" : "location/install.html" }),
+ (r"/location/report\-a\-problem", StaticHandler, { "template" : "location/report-a-problem.html" }),
(r"/location/lookup/(.+)", location.LookupHandler),
# Single-Sign-On for Discourse