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
ca8927ed
Commit
ca8927ed
authored
Jun 07, 2013
by
Greg Price
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak text in help modal per request from Mary
parent
42b7a071
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
8 deletions
+28
-8
lms/templates/help_modal.html
+28
-8
No files found.
lms/templates/help_modal.html
View file @
ca8927ed
...
...
@@ -117,21 +117,41 @@ discussion_link = get_discussion_link(course) if course else None
$
(
"#feedback_success_wrapper"
).
css
(
"display"
,
"none"
);
$
(
"#help_wrapper"
).
css
(
"display"
,
"block"
);
});
showFeedback
=
function
(
e
,
issue_type
,
title
)
{
showFeedback
=
function
(
e
vent
,
issue_type
,
title
,
subject_label
,
details_label
)
{
$
(
"#help_wrapper"
).
css
(
"display"
,
"none"
);
$
(
"#feedback_form input[name='issue_type']"
).
val
(
issue_type
);
$
(
"#feedback_form_wrapper"
).
css
(
"display"
,
"block"
);
$
(
"#feedback_form_wrapper header"
).
html
(
"<h2>"
+
title
+
"</h2><hr>"
);
e
.
preventDefault
();
$
(
"#feedback_form_wrapper label[data-field='subject']"
).
html
(
subject_label
);
$
(
"#feedback_form_wrapper label[data-field='details']"
).
html
(
details_label
);
event
.
preventDefault
();
};
$
(
"#feedback_link_problem"
).
click
(
function
(
e
)
{
showFeedback
(
e
,
"problem"
,
"Report a Problem"
);
$
(
"#feedback_link_problem"
).
click
(
function
(
event
)
{
showFeedback
(
event
,
"problem"
,
"Report a Problem"
,
"Brief description of the problem*"
,
"Details of the problem you are encountering* <span class='tip'>Include error messages, steps which lead to the issue, etc.</span>"
);
});
$
(
"#feedback_link_suggestion"
).
click
(
function
(
e
)
{
showFeedback
(
e
,
"suggestion"
,
"Make a Suggestion"
);
$
(
"#feedback_link_suggestion"
).
click
(
function
(
event
)
{
showFeedback
(
event
,
"suggestion"
,
"Make a Suggestion"
,
"Brief description of your suggestion*"
,
"Details*"
);
});
$
(
"#feedback_link_question"
).
click
(
function
(
e
)
{
showFeedback
(
e
,
"question"
,
"Ask a Question"
);
$
(
"#feedback_link_question"
).
click
(
function
(
event
)
{
showFeedback
(
event
,
"question"
,
"Ask a Question"
,
"Brief summary of your question*"
,
"Details*"
);
});
$
(
"#feedback_form"
).
submit
(
function
()
{
$
(
"input[type='submit']"
,
this
).
attr
(
"disabled"
,
"disabled"
);
...
...
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