Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
fa8bf7f3
Commit
fa8bf7f3
authored
Aug 06, 2012
by
ichuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make the staff debug information appear in a show/hide span
parent
0940a3cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
lms/templates/staff_problem_info.html
+8
-0
No files found.
lms/templates/staff_problem_info.html
View file @
fa8bf7f3
...
...
@@ -2,9 +2,17 @@ ${module_content}
%if edit_link:
<div><a
href=
"${edit_link}"
>
Edit
</a></div>
% endif
<script
type=
"text/javascript"
>
$
(
'#${element_id}_showhide'
).
click
(
function
(){
$
(
'#${element_id}_debug'
).
toggle
();
})
</script>
<div
class=
"staff_info"
>
<input
type=
"submit"
id=
"${element_id}_showhide"
value=
"Staff Debug Info"
/>
<span
style=
"display:none"
id=
"${element_id}_debug"
>
definition =
<pre>
${definition | h}
</pre>
metadata = ${metadata | h}
</span>
</div>
%if render_histogram:
<div
id=
"histogram_${element_id}"
class=
"histogram"
data-histogram=
"${histogram}"
></div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment