Remove staff debug category type whitelist.

Show the 'Staff debug' button on all blocks, including custom xblocks.

Staff debug was only available on selected components for historical reasons,
because it used to be much more intrusive.
This commit is contained in:
Matjaz Gregoric
2015-12-09 10:45:29 +01:00
parent 1f2f3de4a2
commit bb25473a7c

View File

@@ -6,7 +6,6 @@ from django.template.defaultfilters import escapejs
## The JS for this is defined in xqa_interface.html
${block_content}
%if location.category in ['problem','video','html','combinedopenended','graphical_slider_tool', 'library_content']:
% if edit_link:
<div>
<a href="${edit_link}">Edit</a>
@@ -142,5 +141,3 @@ $(function () {
);
});
</script>
%endif