From 3e8061d738a0adb968c25f22736c2ef1da197e51 Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Mon, 8 Oct 2018 12:43:23 +0200 Subject: [PATCH 1/2] More breaks --- templates/contact.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/contact.html b/templates/contact.html index 4ff25ea..b8fef90 100644 --- a/templates/contact.html +++ b/templates/contact.html @@ -11,15 +11,15 @@ There are a few ways to get in touch with the ivatar/libravatar developers:

IRC

If you have an IRC client already, you can join #libravatar on chat.freenode.net. - +
Otherwise, you can use this simple web interface. - +
Please keep in mind that you may live in a different timezone than most of the developers. So if you do not get a response, it's not because we're ignoring you, it's probably because we're sleeping :)

Bug tracker

If you have a question about a particular bug, or some feedback on it, the best thing to do is to comment on that bug itself. - +
TODO TODO TODO

Mailing list

From d6d1d3d306795fdb300a45947620cbe0dd61d490 Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Mon, 8 Oct 2018 12:43:55 +0200 Subject: [PATCH 2/2] Add 'security' page and adapt links --- ivatar/urls.py | 1 + templates/base.html | 2 +- templates/home.html | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ivatar/urls.py b/ivatar/urls.py index 828d0c4..7e93a9c 100644 --- a/ivatar/urls.py +++ b/ivatar/urls.py @@ -20,6 +20,7 @@ urlpatterns = [ # pylint: disable=invalid-name url( r'avatar/(?P\w{32})', AvatarImageView.as_view(), name='avatar_view'), + url('security/', TemplateView.as_view(template_name='security.html'), name='security'), url('contact/', TemplateView.as_view(template_name='contact.html'), name='contact'), path('talk_to_us/', RedirectView.as_view(url='/contact'), name='talk_to_us'), url('', TemplateView.as_view(template_name='home.html')), diff --git a/templates/base.html b/templates/base.html index 0ff3bac..d3a19a3 100644 --- a/templates/base.html +++ b/templates/base.html @@ -43,7 +43,7 @@
  • - + {% trans 'Security' %}
  • diff --git a/templates/home.html b/templates/home.html index 6068d68..6d8a419 100644 --- a/templates/home.html +++ b/templates/home.html @@ -41,8 +41,8 @@

    Useful links

    -{% trans 'Contact us' %}
    -{% trans 'Security' %}
    +{% trans 'Contact us' %}
    +{% trans 'Security' %}
    {% trans 'Source code' %}
    {% trans 'Report bugs' %}
    {% trans 'Questions' %}