From d690737753a780bdab2996879bdb85193f8b29e5 Mon Sep 17 00:00:00 2001 From: Oliver Marks Date: Tue, 7 Mar 2017 19:54:43 +0000 Subject: [PATCH] some quick fixes for contact form, intro and members page --- mhackspace/contact/views.py | 1 + mhackspace/templates/pages/home.html | 1 + mhackspace/templates/pages/members.html | 10 ++++------ 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mhackspace/contact/views.py b/mhackspace/contact/views.py index 1a3ce03..005f488 100644 --- a/mhackspace/contact/views.py +++ b/mhackspace/contact/views.py @@ -13,6 +13,7 @@ def contact(request): email = EmailMessage( '[%s] - %s' % (data['enquiry_type'], data['subject']), data['message'], + data['contact_email'], to=['contact@maidstone-hackspace.org.uk']) email.send() messages.add_message(request, messages.INFO, 'E-Mail sent') diff --git a/mhackspace/templates/pages/home.html b/mhackspace/templates/pages/home.html index fa77ac3..6dc52f7 100644 --- a/mhackspace/templates/pages/home.html +++ b/mhackspace/templates/pages/home.html @@ -10,6 +10,7 @@

Introduction

Hackspaces are a shared space where artists, designers, makers, hackers, programmers, tinkerers, professionals and hobbyists can work on their projects, share knowledge and collaborate.

We now how a space as of March 2017, we are now in the process of kitting it out with tools to facilitate working on your projects, At the moment, communication is via google groups, email, and the website. If you're at all intrested please join our mailing list and say hi.

+

If you would like to visit us click here for a map, and check the mailing list for when we are at the space.

{% show_feeds %} {% endblock content %} diff --git a/mhackspace/templates/pages/members.html b/mhackspace/templates/pages/members.html index ff8cfe0..2d8bf5f 100644 --- a/mhackspace/templates/pages/members.html +++ b/mhackspace/templates/pages/members.html @@ -13,24 +13,22 @@
{% for member in members %} -
+
+ {% if member.image %} Card image cap + {% endif %}

{{ member.name }}

{{ member.users.description }}

{{ member.users.skills }}

{{ member.status }}

- {% for group in member.groups.all %} - {{ group.name }} + {{ group.name }} {% endfor %}

{{ member.blurb }}

-
{% if forloop.counter|divisibleby:3 %}
{% endif %} {% endfor %}