Move common templates to apps/main/templates/main/*

This commit is contained in:
Roberto Rosario
2014-08-26 02:44:49 -04:00
parent 7376263ffa
commit b42e9badf6
119 changed files with 1114 additions and 1053 deletions
+3 -3
View File
@@ -63,7 +63,7 @@ def comment_delete(request, comment_id=None, comment_id_list=None):
elif len(comments) > 1:
context['title'] = _(u'Are you sure you wish to delete the comments: %s?') % ', '.join([unicode(d) for d in comments])
return render_to_response('generic_confirm.html', context,
return render_to_response('main/generic_confirm.html', context,
context_instance=RequestContext(request))
@@ -100,7 +100,7 @@ def comment_add(request, document_id):
else:
form = CommentForm()
return render_to_response('generic_form.html', {
return render_to_response('main/generic_form.html', {
'form': form,
'title': _(u'Add comment to document: %s') % document,
'next': next,
@@ -119,7 +119,7 @@ def comments_for_document(request, document_id):
except PermissionDenied:
AccessEntry.objects.check_access(PERMISSION_COMMENT_VIEW, request.user, document)
return render_to_response('generic_list.html', {
return render_to_response('main/generic_list.html', {
'object': document,
'access_object': document,
'title': _(u'comments: %s') % document,