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
c5fa6bac
Commit
c5fa6bac
authored
Aug 07, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #353 from MITx/ichuang/showhide-staff-debug
make the staff debug information appear in a show/hide span
parents
e14ebaaf
fa8bf7f3
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 @
c5fa6bac
...
@@ -2,9 +2,17 @@ ${module_content}
...
@@ -2,9 +2,17 @@ ${module_content}
%if edit_link:
%if edit_link:
<div><a
href=
"${edit_link}"
>
Edit
</a></div>
<div><a
href=
"${edit_link}"
>
Edit
</a></div>
% endif
% endif
<script
type=
"text/javascript"
>
$
(
'#${element_id}_showhide'
).
click
(
function
(){
$
(
'#${element_id}_debug'
).
toggle
();
})
</script>
<div
class=
"staff_info"
>
<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>
definition =
<pre>
${definition | h}
</pre>
metadata = ${metadata | h}
metadata = ${metadata | h}
</span>
</div>
</div>
%if render_histogram:
%if render_histogram:
<div
id=
"histogram_${element_id}"
class=
"histogram"
data-histogram=
"${histogram}"
></div>
<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