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:
Roberto Rosario
2015-03-30 02:17:40 -04:00
parent 3131751b25
commit 5dabc0a34a
290 changed files with 298 additions and 298 deletions
+3 -3
View File
@@ -56,7 +56,7 @@ def checkout_info(request, document_pk):
paragraphs.append(_('Check out expiration: %s') % checkout_info.expiration_datetime)
paragraphs.append(_('New versions allowed: %s') % (_('Yes') if not checkout_info.block_new_version else _('No')))
return render_to_response('main/generic_template.html', {
return render_to_response('appearance/generic_template.html', {
'paragraphs': paragraphs,
'object': document,
'title': _('Check out details for document: %s') % document
@@ -89,7 +89,7 @@ def checkout_document(request, document_pk):
else:
form = DocumentCheckoutForm(initial={'document': document})
return render_to_response('main/generic_form.html', {
return render_to_response('appearance/generic_form.html', {
'form': form,
'object': document,
'title': _('Check out document: %s') % document
@@ -144,5 +144,5 @@ def checkin_document(request, document_pk):
else:
context['title'] = _('Are you sure you wish to check in document: %s?') % document
return render_to_response('main/generic_confirm.html', context,
return render_to_response('appearance/generic_confirm.html', context,
context_instance=RequestContext(request))