-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b139e54
commit 4c4e48c
Showing
4 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
53 changes: 53 additions & 0 deletions
53
env/build/openedx/themes/community-theme/lms/templates/certificates/accomplishment-base.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<%page expression_filter="h"/> | ||
<%namespace name='static' file='/static_content.html'/> | ||
<%! from django.utils.translation import gettext as _%> | ||
|
||
<% | ||
# set doc language direction | ||
from django.utils.translation import get_language_bidi | ||
dir_rtl = 'rtl' if get_language_bidi() else 'ltr' | ||
course_mode_class = course_mode if course_mode else '' | ||
%> | ||
|
||
<!DOCTYPE html> | ||
<html class="no-js" lang="${LANGUAGE_CODE}"> | ||
<head dir="${dir_rtl}"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
% if facebook_share_enabled: | ||
## OG (Open Graph) url, title, type, image and description added below to give social media info to display | ||
## (https://developers.facebook.com/docs/opengraph/howtos/maximizing-distribution-media-content#tags) | ||
<meta property="og:url" content="${share_url}" /> | ||
<meta property="og:title" content="${document_title}" /> | ||
<meta property="og:type" content="image/png" /> | ||
<meta property="og:image" content="${full_course_image_url}" /> | ||
<meta property="og:description" content="${facebook_share_text}" /> | ||
%endif | ||
<title>${document_title}</title> | ||
|
||
<%static:css group='style-certificates'/> | ||
|
||
</head> | ||
|
||
<body class="layout-accomplishment view-valid-accomplishment ${dir_rtl} certificate certificate-${course_mode_class}" data-view="valid-accomplishment"> | ||
|
||
<div class="wrapper-view" dir="${dir_rtl}"> | ||
|
||
<%include file="_accomplishment-header.html" /> | ||
|
||
<hr class="divider sr-only"> | ||
|
||
${self.body()} | ||
|
||
<hr class="divider sr-only"> | ||
|
||
<%include file="_accomplishment-footer.html" /> | ||
</div> | ||
|
||
<%include file="_assets-secondary.html" /> | ||
%if badge: | ||
<%include file="_badges-modal.html" /> | ||
%endif | ||
</body> | ||
</html> |