some quick fixes for contact form, intro and members page
This commit is contained in:
parent
de91937ab0
commit
d690737753
|
@ -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')
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<h2>Introduction</h2>
|
||||
<p>Hackspaces are a shared space where artists, designers, makers, hackers, programmers, tinkerers, professionals and hobbyists can work on their projects, share knowledge and collaborate.</p>
|
||||
<p>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.</p>
|
||||
<p>If you would like to visit us <a href="https://www.google.co.uk/maps/place/Maidstone+Community+Support+Centre/@51.2743759,0.5252557,17z/data=!3m1!4b1!4m5!3m4!1s0x47df32307962b7b3:0x8478b1177ec21ef7!8m2!3d51.2743759!4d0.5274444">click here</a> for a map, and check the <a href="https://groups.google.com/forum/#!forum/maidstone-hackspace">mailing list</a> for when we are at the space.</p>
|
||||
|
||||
{% show_feeds %}
|
||||
{% endblock content %}
|
||||
|
|
|
@ -13,24 +13,22 @@
|
|||
<div class="card-columns" id="feeds">
|
||||
<div class="card-deck">
|
||||
{% for member in members %}
|
||||
<div class="card">
|
||||
<div class="card">
|
||||
{% if member.image %}
|
||||
<img class="card-img-top img-responsive" src="{{ MEDIA_URL }}{{ member.image }}" alt="Card image cap" style="width:100%">
|
||||
{% endif %}
|
||||
<div class="card-block">
|
||||
<h4 class="card-title">{{ member.name }}</h4>
|
||||
<p class="card-text">{{ member.users.description }}</p>
|
||||
<p class="card-text">{{ member.users.skills }}</p>
|
||||
<p class="card-text">{{ member.status }}</p>
|
||||
|
||||
{% for group in member.groups.all %}
|
||||
{{ group.name }}
|
||||
{{ group.name }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="card-block">
|
||||
<p class="card-text">{{ member.blurb }}</p>
|
||||
</div>
|
||||
<div class="card-block">
|
||||
<a href="{{ feed.url }}" class="card-link">View Original</a>
|
||||
</div>
|
||||
</div>
|
||||
{% if forloop.counter|divisibleby:3 %}</div><div class="card-deck">{% endif %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue