From 0145ea85f163a51ef6563283a49e7e60486e55f2 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 1 Apr 2015 14:30:12 -0400 Subject: [PATCH] Remove page detail rotation indicator text --- mayan/apps/documents/views.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/mayan/apps/documents/views.py b/mayan/apps/documents/views.py index 141c8899a5..bd180acea0 100644 --- a/mayan/apps/documents/views.py +++ b/mayan/apps/documents/views.py @@ -583,18 +583,13 @@ def document_page_view(request, document_page_id): else: zoom_text = '' - if rotation != 0 and rotation != 360: - rotation_text = '(%d°)' % rotation - else: - rotation_text = '' - return render_to_response('appearance/generic_detail.html', { 'page': document_page, 'access_object': document_page.document, 'navigation_object_name': 'page', 'web_theme_hide_menus': True, 'form': document_page_form, - 'title': ' '.join([base_title, zoom_text, rotation_text]), + 'title': ' '.join([base_title, zoom_text]), 'zoom': zoom, 'rotation': rotation, }, context_instance=RequestContext(request))