diff --git a/pmaweb/templates/base.html b/pmaweb/templates/base.html index 7b927122..cf9a4e3f 100644 --- a/pmaweb/templates/base.html +++ b/pmaweb/templates/base.html @@ -7,7 +7,7 @@ - phpMyAdmin{% if page_title %} -- {{ page_title }}{% endif %} + phpMyAdmin{% if page_title %} - {{ page_title }}{% endif %} {% if page_rss %} {% endif %} diff --git a/pmaweb/templates/security/pmasa_detail.html b/pmaweb/templates/security/pmasa_detail.html index 60687466..4770c96e 100644 --- a/pmaweb/templates/security/pmasa_detail.html +++ b/pmaweb/templates/security/pmasa_detail.html @@ -1,7 +1,6 @@ {% extends 'base.html' %} {% load staticfiles %} -Security - ${announcement_id()} ${base_url}security/index.xml phpMyAdmin security issues diff --git a/security/views.py b/security/views.py index bb065e74..646c71b1 100644 --- a/security/views.py +++ b/security/views.py @@ -26,6 +26,11 @@ class PMASAView(DetailView): model = PMASA + def get_context_data(self, **kwargs): + context = super(PMASAView, self).get_context_data(**kwargs) + context['page_title'] = 'Security - {0}'.format(self.object) + return context + def get_object(self, queryset=None): if queryset is None: queryset = self.get_queryset()