Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
MOOC packages by hacklab
django-courses-legacy
Commits
c3dafe0e
Commit
c3dafe0e
authored
3 years ago
by
Matheus Miranda
Browse files
Options
Download
Plain Diff
Merge branch 'develop' into 'master'
Fix typo at youtube url link See merge request
!106
parents
112e85fb
bf35c76b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
courses_legacy/static/js/admin/new-course/controllers.js
courses_legacy/static/js/admin/new-course/controllers.js
+1
-1
No files found.
courses_legacy/static/js/admin/new-course/controllers.js
View file @
c3dafe0e
...
...
@@ -35,7 +35,7 @@
Course
.
get
({
id
:
$scope
.
course_id
},
function
(
course
){
if
(
course
.
intro_video
)
{
youtubePlayerApi
.
videoId
=
course
.
intro_video
.
youtube_id
;
$scope
.
link_video
=
`
//www.youtube.com/embed/
${
course
.
intro_video
.
youtube_id
}
?rel=0&showinfo=0&autohide=1&theme=light&wmode=opaque
`
;
$scope
.
link_video
=
"
//www.youtube.com/embed/${course.intro_video.youtube_id}?rel=0&showinfo=0&autohide=1&theme=light&wmode=opaque
"
;
}
document
.
title
=
'
Curso: {0}
'
.
format
(
course
.
name
);
$scope
.
addThumb
=
!
course
.
thumbnail_url
;
...
...
This diff is collapsed.
Click to expand it.
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