Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
3f432d49
Commit
3f432d49
authored
9 years ago
by
Matt Drayer
Browse files
Options
Downloads
Plain Diff
Merge pull request #8912 from edx/asadiqbal08/SOL-1046
SOL-1046 converted anchor to button for linkedIn
parents
8c4bb8bf
56015fec
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/test/acceptance/pages/lms/certificate_page.py
+1
-1
1 addition, 1 deletion
common/test/acceptance/pages/lms/certificate_page.py
lms/templates/certificates/_accomplishment-banner.html
+5
-2
5 additions, 2 deletions
lms/templates/certificates/_accomplishment-banner.html
with
6 additions
and
3 deletions
common/test/acceptance/pages/lms/certificate_page.py
+
1
−
1
View file @
3f432d49
...
...
@@ -49,7 +49,7 @@ class CertificatePage(PageObject):
"""
returns add to LinkedIn profile button
"""
return
self
.
q
(
css
=
'
a
.action-linkedin-profile
'
)
return
self
.
q
(
css
=
'
button
.action-linkedin-profile
'
)
@property
def
add_to_facebook_profile_button
(
self
):
...
...
This diff is collapsed.
Click to expand it.
lms/templates/certificates/_accomplishment-banner.html
+
5
−
2
View file @
3f432d49
...
...
@@ -30,6 +30,9 @@ from django.core.urlresolvers import reverse
social_network
:
'
LinkedIn
'
};
Logger
.
log
(
'
edx.certificate.shared
'
,
data
);
%
if
linked_in_url
:
window
.
open
(
'
${linked_in_url}
'
);
%
endif
});
});
...
...
@@ -85,10 +88,10 @@ from django.core.urlresolvers import reverse
%endif
%if linked_in_url:
<
a
class=
"action action-linkedin-profile btn btn-overlay btn-small icon-only"
id=
"action-share-linkedin"
target=
"_blank"
href=
"${linked_in_url}"
title=
"${_('Add to LinkedIn Profile')}"
data-course-id=
"${course_id}"
data-certificate-mode=
"${course_mode}"
>
<
button
class=
"action action-linkedin-profile btn btn-overlay btn-small icon-only"
id=
"action-share-linkedin"
title=
"${_('Add to LinkedIn Profile')}"
data-course-id=
"${course_id}"
data-certificate-mode=
"${course_mode}"
>
<i
class=
"icon fa fa-linkedin"
aria-hidden=
"true"
></i>
<span
class=
"action-label"
>
${_("Add to LinkedIn Profile")}
</span>
</
a
>
</
button
>
%endif
%if badge:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment