Skip to content

Commit

Permalink
using subtitle in list views
Browse files Browse the repository at this point in the history
  • Loading branch information
davidslusser committed Jan 5, 2021
1 parent 60d332e commit ac65fc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion userextensions/__init__.py
Expand Up @@ -7,7 +7,7 @@
"""

__title__ = 'django-userextensions'
__version__ = '0.0.14'
__version__ = '0.0.15'
__author__ = 'David Slusser'
__email__ = 'dbslusser@gmail.com'
__license__ = 'GPL-3.0'
Expand Down
4 changes: 2 additions & 2 deletions userextensions/views/gui.py
Expand Up @@ -30,7 +30,7 @@ def get(self, request, *args, **kwargs):
context['base_template'] = self.base_template
context['queryset'] = self.filter_by_query_params()
context['title'] = 'Recents'
context['sub_title'] = request.user.username
context['subtitle'] = request.user.username
context['table'] = 'userextensions/table/table_recents.htm'
return render(request, self.template, context=context)

Expand All @@ -47,7 +47,7 @@ def get(self, request, *args, **kwargs):
context['base_template'] = self.base_template
context['queryset'] = self.filter_by_query_params()
context['title'] = 'Favorites'
context['sub_title'] = request.user.username
context['subtitle'] = request.user.username
context['table'] = 'userextensions/table/table_favorites.htm'
context['modals'] = 'userextensions/form/edit_hostname.htm'
return render(request, self.template, context=context)
Expand Down

0 comments on commit ac65fc0

Please sign in to comment.