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
3f432d49
Commit
3f432d49
authored
Jul 15, 2015
by
Matt Drayer
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8912 from edx/asadiqbal08/SOL-1046
SOL-1046 converted anchor to button for linkedIn
parents
8c4bb8bf
56015fec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
common/test/acceptance/pages/lms/certificate_page.py
+1
-1
lms/templates/certificates/_accomplishment-banner.html
+5
-2
No files found.
common/test/acceptance/pages/lms/certificate_page.py
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
):
...
...
lms/templates/certificates/_accomplishment-banner.html
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:
...
...
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