New bootstrap based frontend UI. Merged from #121 with many fixes. Closes issues #121, #59 and #100

This commit is contained in:
Roberto Rosario
2015-03-31 03:26:57 -04:00
parent 5a7885ddcb
commit 80c04b1fb7
240 changed files with 15551 additions and 17932 deletions

View File

@@ -247,29 +247,6 @@ class UploadInteractiveView(UploadBaseView):
def get_context_data(self, **kwargs):
context = super(UploadInteractiveView, self).get_context_data(**kwargs)
context['title'] = _('Upload a local document from source: %s') % self.source.title
context.update(
{
'sidebar_subtemplates_list': [
{
'name': 'appearance/generic_subtemplate.html',
'context': {
'title': _('Current document type'),
'paragraphs': [self.document_type if self.document_type else _('None')],
'side_bar': True,
}
},
{
'name': 'appearance/generic_subtemplate.html',
'context': {
'title': _('Current metadata'),
'paragraphs': metadata_repr_as_list(decode_metadata_from_url(self.request.GET)),
'side_bar': True,
}
}
],
}
)
return context