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
935da3a1
Commit
935da3a1
authored
Jun 30, 2015
by
aamir-khan
Committed by
Aamir Khan
Jul 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ECOM-1601: Added the help link of credit info
parent
96ee90d5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
2 deletions
+10
-2
lms/envs/aws.py
+3
-0
lms/envs/common.py
+3
-0
lms/static/sass/course/_profile.scss
+3
-1
lms/templates/courseware/progress.html
+1
-1
No files found.
lms/envs/aws.py
View file @
935da3a1
...
...
@@ -689,3 +689,6 @@ ENV_TOKENS.get('CERTIFICATES_STATIC_VERIFY_URL', CERTIFICATES_STATIC_VERIFY_URL)
if
FEATURES
.
get
(
'ENABLE_LTI_PROVIDER'
):
INSTALLED_APPS
+=
(
'lti_provider'
,)
AUTHENTICATION_BACKENDS
+=
(
'lti_provider.users.LtiBackend'
,
)
##################### Credit Provider help link ####################
CREDIT_HELP_LINK_URL
=
ENV_TOKENS
.
get
(
'CREDIT_HELP_LINK_URL'
,
CREDIT_HELP_LINK_URL
)
lms/envs/common.py
View file @
935da3a1
...
...
@@ -2566,6 +2566,9 @@ CREDIT_PROVIDER_SECRET_KEYS = {}
# or denied for credit.
CREDIT_PROVIDER_TIMESTAMP_EXPIRATION
=
15
*
60
# The Help link to the FAQ page about the credit
CREDIT_HELP_LINK_URL
=
"#"
# Default domain for the e-mail address associated with users who are created
# via the LTI Provider feature. Note that the generated e-mail addresses are
# not expected to be active; this setting simply allows administrators to
...
...
lms/static/sass/course/_profile.scss
View file @
935da3a1
...
...
@@ -187,14 +187,16 @@
>
.credit-eligibility-container
{
padding
:
lh
();
>
.credit-help
{
display
:
inline-block
;
background
:
$blue
;
color
:
$white
;
width
:
lh
();
width
:
lh
(
0
.6
);
margin
:
0
;
padding
:
0
;
border-radius
:
lh
(
0
.9
);
border-color
:
$white
;
text-shadow
:
None
;
@include
padding-left
(
0
.2em
);
}
>
.detail-collapse
{
border
:
none
;
...
...
lms/templates/courseware/progress.html
View file @
935da3a1
...
...
@@ -114,7 +114,7 @@ from django.utils.http import urlquote_plus
%elif credit_course_requirements['eligibility_status'] == 'partial_eligible':
<span>
${student.get_full_name()}, ${_("You have not yet met the requirements for credit.")}
</span>
%endif
<
button
class=
"credit-help"
><i
class=
"fa fa-question"
></i><span
class=
"sr"
>
Help regarding credit requirement
</span></button
><br>
<
a
href=
"${settings.CREDIT_HELP_LINK_URL}"
class=
"credit-help"
><i
class=
"fa fa-question"
></i><span
class=
"sr"
>
Help regarding course credit requirements
</span></a
><br>
<div
class=
"requirement-container"
data-eligible=
"${credit_course_requirements['eligibility_status']}"
>
%for requirement in credit_course_requirements['requirements']:
<div
class=
"requirement"
>
...
...
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