diff --git a/jobs/templates/base.html b/jobs/templates/base.html
index 7f3a117..199f86b 100644
--- a/jobs/templates/base.html
+++ b/jobs/templates/base.html
@@ -23,19 +23,18 @@
- -
+
-
- -
+
-
Messages
- -
+
-
Your Jobs
-{# {% url 'jobs:job_list' %}#}
Post a job
diff --git a/jobs/views.py b/jobs/views.py
index 1c58106..4ea91e7 100644
--- a/jobs/views.py
+++ b/jobs/views.py
@@ -161,6 +161,7 @@ class ListOwnApplications(ListView):
def get_context_data(self, **kwargs):
context = super(ListOwnApplications, self).get_context_data(**kwargs)
context['title'] = 'Your Applications'
+ context['application_page'] = 'active'
return context
@@ -176,6 +177,7 @@ class ListJobApplications(ListView):
context = super(ListJobApplications, self).get_context_data(**kwargs)
context['title'] = 'Applications to your jobs'
context['form'] = MessageForm
+ context['application_page'] = 'active'
return context
@@ -201,6 +203,7 @@ class MesssageInbox(LoginRequiredMixin, ListView):
def get_context_data(self, **kwargs):
context = super(MesssageInbox, self).get_context_data(**kwargs)
context['title'] = 'Messages Inbox'
+ context['messages_page'] = 'active'
return context
@@ -220,6 +223,7 @@ class Conversation(LoginRequiredMixin, ListView):
context = super(Conversation, self).get_context_data(**kwargs)
context['form'] = MessageForm
context['person'] = User.objects.get(id=self.kwargs['pk'])
+ context['messages_page'] = 'active'
return context
@@ -235,6 +239,7 @@ class MyJobs(LoginRequiredMixin, ListView):
def get_context_data(self, **kwargs):
context = super(MyJobs, self).get_context_data(**kwargs)
context['title'] = 'Your jobs'
+ context['my_jobs_page'] = 'active'
return context