Add new appearance app to hold all of the base templates, images, icons and external packages related to the frontend and look of the project
This commit is contained in:
@@ -4,6 +4,6 @@ from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from .permissions import PERMISSION_INSTALLATION_DETAILS
|
||||
|
||||
link_menu_link = {'text': _('Installation details'), 'view': 'installation:namespace_list', 'icon': 'main/icons/interface_preferences.png', 'permissions': [PERMISSION_INSTALLATION_DETAILS]}
|
||||
link_menu_link = {'text': _('Installation details'), 'view': 'installation:namespace_list', 'icon': 'appearance/icons/interface_preferences.png', 'permissions': [PERMISSION_INSTALLATION_DETAILS]}
|
||||
link_namespace_list = {'text': _('Installation property namespaces'), 'view': 'installation:namespace_list', 'famfam': 'layout', 'permissions': [PERMISSION_INSTALLATION_DETAILS]}
|
||||
link_namespace_details = {'text': _('Details'), 'view': 'installation:namespace_details', 'args': 'object.id', 'famfam': 'layout_link', 'permissions': [PERMISSION_INSTALLATION_DETAILS]}
|
||||
|
||||
@@ -16,7 +16,7 @@ def namespace_list(request):
|
||||
|
||||
Installation().get_properties()
|
||||
|
||||
return render_to_response('main/generic_list.html', {
|
||||
return render_to_response('appearance/generic_list.html', {
|
||||
'object_list': PropertyNamespace.get_all(),
|
||||
'title': _('Installation property namespaces'),
|
||||
'hide_object': True,
|
||||
@@ -32,7 +32,7 @@ def namespace_details(request, namespace_id):
|
||||
object_list = namespace.get_properties()
|
||||
title = _('Installation namespace details for: %s') % namespace.label
|
||||
|
||||
return render_to_response('main/generic_list.html', {
|
||||
return render_to_response('appearance/generic_list.html', {
|
||||
'object_list': object_list,
|
||||
'hide_object': True,
|
||||
'title': title,
|
||||
|
||||
Reference in New Issue
Block a user