diff --git a/create.sh b/create.sh index c02ddb3..4ace2c9 100755 --- a/create.sh +++ b/create.sh @@ -28,7 +28,8 @@ else fi if [ -n "$LKERNAT_GITLAB_OPENSHIFT_ACCESS_TOKEN" ]; then - oc secrets new-basicauth lkernat-gitlab-openshift-falko-access-token --password=$LKERNAT_GITLAB_OPENSHIFT_ACCESS_TOKEN + #oc secrets new-basicauth lkernat-gitlab-openshift-falko-access-token --password=$LKERNAT_GITLAB_OPENSHIFT_ACCESS_TOKEN + oc create secret generic lkernat-gitlab-openshift-falko-access-token --from-literal=password=$LKERNAT_GITLAB_OPENSHIFT_ACCESS_TOKEN oc secrets add serviceaccount/builder secrets/lkernat-gitlab-openshift-falko-access-token SECRET_CMDLINE="--source-secret=lkernat-gitlab-openshift-falko-access-token" fi diff --git a/ivatar/urls.py b/ivatar/urls.py index ed6deb8..828d0c4 100644 --- a/ivatar/urls.py +++ b/ivatar/urls.py @@ -5,7 +5,7 @@ from django.contrib import admin from django.urls import path, include from django.conf.urls import url from django.conf.urls.static import static -from django.views.generic import TemplateView +from django.views.generic import TemplateView, RedirectView from ivatar import settings from . views import AvatarImageView @@ -20,6 +20,8 @@ urlpatterns = [ # pylint: disable=invalid-name url( r'avatar/(?P\w{32})', AvatarImageView.as_view(), name='avatar_view'), + 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 69426e0..0ff3bac 100644 --- a/templates/base.html +++ b/templates/base.html @@ -38,7 +38,7 @@ {% endif %}
  • - + {% trans 'Contact' %}
  • diff --git a/templates/contact.html b/templates/contact.html new file mode 100644 index 0000000..4ff25ea --- /dev/null +++ b/templates/contact.html @@ -0,0 +1,39 @@ +{% extends 'base.html' %} +{% load i18n %} +{% load static %} +{% load bootstrap4 %} + +{% block title %}{% trans 'federated avatar hosting service' %}{% endblock %} + +{% block content %} + +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

    + +If you've got a proposal to discuss or prefer to write to us, you can join our developers mailing list. + +

    Identica / Twitter

    + +You can also put short notices to our attention on Identica or Twitter. + +

    Email

    + +Finally, if you need to email us: dev@libravatar.org + +
    + +{% endblock %}