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:
@@ -16,4 +16,4 @@ link_entry_delete_multiple = {'text': _('Delete'), 'view': 'ocr:entry_delete_mul
|
||||
|
||||
link_document_all_ocr_cleanup = {'text': _('Clean up pages content'), 'view': 'ocr:document_all_ocr_cleanup', 'famfam': 'text_strikethrough', 'permissions': [PERMISSION_OCR_CLEAN_ALL_PAGES], 'description': _('Runs a language filter to remove common OCR mistakes from document pages content.')}
|
||||
|
||||
link_entry_list = {'text': _('OCR Errors'), 'view': 'ocr:entry_list', 'famfam': 'hourglass', 'icon': 'main/icons/text.png', 'permissions': [PERMISSION_OCR_DOCUMENT]}
|
||||
link_entry_list = {'text': _('OCR Errors'), 'view': 'ocr:entry_list', 'famfam': 'hourglass', 'icon': 'appearance/icons/text.png', 'permissions': [PERMISSION_OCR_DOCUMENT]}
|
||||
|
||||
@@ -50,7 +50,7 @@ def document_all_ocr_cleanup(request):
|
||||
next = request.POST.get('next', request.GET.get('next', request.META.get('HTTP_REFERER', None)))
|
||||
|
||||
if request.method != 'POST':
|
||||
return render_to_response('main/generic_confirm.html', {
|
||||
return render_to_response('appearance/generic_confirm.html', {
|
||||
'previous': previous,
|
||||
'next': next,
|
||||
'title': _('Are you sure you wish to clean up all the pages content?'),
|
||||
@@ -76,7 +76,7 @@ def entry_list(request):
|
||||
'hide_object': True,
|
||||
}
|
||||
|
||||
return render_to_response('main/generic_list.html', context,
|
||||
return render_to_response('appearance/generic_list.html', context,
|
||||
context_instance=RequestContext(request))
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ def entry_delete(request, pk=None, pk_list=None):
|
||||
len(entries)
|
||||
)
|
||||
|
||||
return render_to_response('main/generic_confirm.html', context,
|
||||
return render_to_response('appearance/generic_confirm.html', context,
|
||||
context_instance=RequestContext(request))
|
||||
|
||||
|
||||
@@ -171,7 +171,7 @@ def entry_re_queue(request, pk=None, pk_list=None):
|
||||
len(entries)
|
||||
)
|
||||
|
||||
return render_to_response('main/generic_confirm.html', context,
|
||||
return render_to_response('appearance/generic_confirm.html', context,
|
||||
context_instance=RequestContext(request))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user