diff --git a/mhackspace/requests/views.py b/mhackspace/requests/views.py index 0864759..e313493 100644 --- a/mhackspace/requests/views.py +++ b/mhackspace/requests/views.py @@ -17,15 +17,7 @@ class RequestsForm(LoginRequiredMixin, FormView): obj = form.save(commit=False) obj.user = self.request.user obj.save() - # email = EmailMessage( - # '[%s] - %s' % (data['enquiry_type'], data['subject']), - # data['message'], - # data['contact_email'], - # to=['contact@maidstone-hackspace.org.uk'], - # headers={'Reply-To': data['contact_email']}) - # email.send() messages.add_message(self.request, messages.INFO, 'Request successfully made.') - return super(FormView, self).form_valid(form) @@ -33,10 +25,4 @@ class RequestsList(LoginRequiredMixin, ListView): template_name = 'pages/requests.html' model = UserRequests context_object_name = 'requests' - paginate_by = 5 - - # def get_queryset(self): - # if 'category' in self.kwargs: - # self.category = get_object_or_404(Category, slug=self.kwargs['category']) - # return Post.objects.filter(active=True, categories=self.category, published_date__lte=timezone.now(), members_only=False) - # return Post.objects.filter(active=True, published_date__lte=timezone.now(), members_only=False) + paginate_by = 50 diff --git a/mhackspace/templates/pages/home.html b/mhackspace/templates/pages/home.html index 23b8f15..e35ba55 100644 --- a/mhackspace/templates/pages/home.html +++ b/mhackspace/templates/pages/home.html @@ -19,7 +19,7 @@

Introduction

Hackspaces (also known as makerspaces) 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 a mailing list, email, and Chat. If you're at all intrested please join our mailing list and say hi.

+

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 a mailing list, email, and Chat. 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, we recommend contacting us to avoid disapointment.

diff --git a/mhackspace/templates/users/user_detail.html b/mhackspace/templates/users/user_detail.html index 6cd00ad..03eb10e 100644 --- a/mhackspace/templates/users/user_detail.html +++ b/mhackspace/templates/users/user_detail.html @@ -39,7 +39,7 @@
Joined {{membership.date}}
-

MHS{{ user.id|stringformat:"05d" }}

{{user.name}}{{user.last_name}}

+

MHS{{ user.id|stringformat:"05d" }}

{{user.name}}

Cancel Membership
diff --git a/mhackspace/templates/wiki/article.html b/mhackspace/templates/wiki/article.html index bd0b89a..007c125 100644 --- a/mhackspace/templates/wiki/article.html +++ b/mhackspace/templates/wiki/article.html @@ -11,7 +11,7 @@ {% block wiki_contents %}
-
+

{{ article.current_revision.title }} @@ -29,7 +29,7 @@

-
+
{% block wiki_contents_tab %} {% endblock %}