Skip to content

Commit 6a576d7

Browse files
authored
Merge branch 'master' into w-mkd-tml
Signed-off-by: Wyllie Fang <149436095+Vincamine@users.noreply.github.com>
2 parents 4d5b944 + 4dd4f93 commit 6a576d7

7 files changed

Lines changed: 74 additions & 3 deletions

File tree

assets/scss/_styles_project.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ body {
139139

140140
overflow-x: hidden;
141141
}
142+
.td-content .card img {
143+
width: 100% ;
144+
}
142145

143146
// Links
144147

content/en/cloud/academy/creating-content/creating-your-learning-path/index.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,3 +431,37 @@ Use AWS S3 with signed URLs:
431431
<video src="{{</* s3_signed_url path="training/private.mp4" */>}}">
432432
```
433433
</details>
434+
435+
<details>
436+
<summary>8. How do I debug using Layer5 Cloud Events?</summary>
437+
438+
If your content is not appearing in the Academy after a GitHub release, it may have failed to publish. You can troubleshoot these issues using the **Events** section in [Layer5 Cloud](https://cloud.layer5.io).
439+
440+
To view publishing logs:
441+
1. Navigate to **Settings > Events**
442+
2. Switch to the **Audit** tab
443+
3. Apply a filter using the action type:
444+
`AcademyUpserted`
445+
This will show all attempts to upload content, including which ones failed and why.
446+
447+
**Common Errors You Might See**
448+
- **Duplicate IDs**
449+
Two lessons or paths using the same identifier. You can fix this by renaming or regenerating unique IDs.
450+
451+
- **Invalid Content Type**
452+
For example,
453+
Instead of
454+
```yaml
455+
type: "learning-paths"
456+
```
457+
it should be:
458+
```yaml
459+
type: "learning-path"
460+
```
461+
- **Missing Required Fields**
462+
Ensure that title, description, and type are included in the content’s frontmatter.
463+
464+
{{< alert type="info" title="Tip" >}}
465+
Use the event filter `AcademyRegisteredToContent` to track user activity, like who enrolled in which learning path.
466+
{{< /alert >}}
467+
</details>
642 KB
Loading
282 KB
Loading

content/en/cloud/academy/creating-content/extending-the-academy/index.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,4 +169,38 @@ This is a styled callout with custom CSS.
169169
- `<style>` tags define the visual appearance
170170
- `.custom-callout` creates a CSS class for styling
171171
- The shortcode applies padding, margins, colors, and borders
172-
- `{{ .Inner }}` displays the content between opening and closing shortcode tags
172+
- `{{ .Inner }}` displays the content between opening and closing shortcode tags
173+
174+
### Branded Email Communications
175+
176+
When using the Academy with [white-labeling](/cloud/self-hosted/white-labeling) enabled, all system-generated emails (badge awards, certificate awards, challenge registrations) automatically reflect your organization's branding.
177+
178+
Below is an example email template showing how badge award notifications appear when white-labeling is enabled. The parts enclosed in `{{}}` are automatically replaced with your organization's specific information:
179+
180+
**Email Template Structure:**
181+
```
182+
From: no-reply@{{OrganizationDomain}} ← Your custom domain
183+
Subject: New badge(s) awarded by {{OrganizationName}} ← Your organization name
184+
185+
Congratulations, {{Awardee}}! ← Student's name
186+
You have earned the following badges:
187+
188+
{{Badges}} ← Cicable badge with name and description
189+
190+
[Go to Profile Button{{PublicProfileLink}}] ← Direct link to profile
191+
192+
Share your achievements with the world:
193+
X | LinkedIn | Facebook
194+
---
195+
{{OrganizationName}} Academy | Powered by Layer5 Cloud
196+
```
197+
198+
Here is a real-world example of the email:
199+
![Example of Email](./images/example_email.png)
200+
201+
When users click the badge, they will go to the details in the Academy:
202+
![Example of Badge](./images/example_badge.png)
203+
204+
{{< alert type="info" title="Email Customization" >}}
205+
Email templates automatically incorporate your organization's logo and primary brand color as configured in your [Layer5 Cloud Organization Settings](https://cloud.layer5.io/identity/organizations). Custom email templates can be provided for Enterprise customers with specific branding requirements.
206+
{{< /alert >}}

data/kanvas_discuss.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

static/data/csv/pricing-list.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html lang="en"><head><meta name="description" content="Web word processing, presentations and spreadsheets"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0"><link rel="shortcut icon" href="//docs.google.com/favicon.ico"><title>Page Not Found</title><meta name="referrer" content="origin"><link href="//fonts.googleapis.com/css?family=Product+Sans" rel="stylesheet" type="text/css" nonce="9btfHF1xUW1gSFgqlFHELA"><style nonce="9btfHF1xUW1gSFgqlFHELA">.goog-inline-block{position:relative;display:-moz-inline-box;display:inline-block}* html .goog-inline-block{display:inline}*:first-child+html .goog-inline-block{display:inline}#drive-logo{margin:18px 0;position:absolute;white-space:nowrap}.docs-drivelogo-img{background-image:url(//ssl.gstatic.com/images/branding/googlelogo/1x/googlelogo_color_116x41dp.png);-webkit-background-size:116px 41px;background-size:116px 41px;display:inline-block;height:41px;vertical-align:bottom;width:116px}.docs-drivelogo-text{color:#000;display:inline-block;opacity:.54;text-decoration:none;font-family:"Product Sans",Arial,Helvetica,sans-serif;font-size:32px;text-rendering:optimizeLegibility;position:relative;top:-6px;left:-7px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (-webkit-min-device-pixel-ratio:1.5),(min-resolution:144dpi){.docs-drivelogo-img{background-image:url(//ssl.gstatic.com/images/branding/googlelogo/2x/googlelogo_color_116x41dp.png)}}sentinel{}</style><style type="text/css" nonce="9btfHF1xUW1gSFgqlFHELA">body {background-color: #fff; font-family: Arial,sans-serif; font-size: 13px; margin: 0; padding: 0;}a, a:link, a:visited {color: #112ABB;}</style><style type="text/css" nonce="9btfHF1xUW1gSFgqlFHELA">.errorMessage {font-size: 12pt; font-weight: bold; line-height: 150%;}</style></head><body><div id="outerContainer"><div id="innerContainer"><div style="position: absolute; top: -80px;"><div style="margin: 18px 0; position: absolute; white-space: nowrap;"><a href="//support.google.com/docs/"><img height="35px" src="//ssl.gstatic.com/docs/common/product/spreadsheets_lockup2.png" alt="Google logo"/></a></div></div><div align="center"><p class="errorMessage" style="padding-top: 50px">Sorry, unable to open the file at this time.</p><p> Please check the address and try again. </p><div style="background: #F0F6FF; border: 1px solid black; margin-top: 35px; padding: 10px 125px; width: 300px;"><p><strong>Get stuff done with Google Drive</strong></p><p>Apps in Google Drive make it easy to create, store and share online documents, spreadsheets, presentations and more.</p><p>Learn more at <a href="https://drive.google.com/start/apps">drive.google.com/start/apps</a>.</p></div></div></div></div></body><style nonce="9btfHF1xUW1gSFgqlFHELA">html {height: 100%; overflow: auto;}body {height: 100%; overflow: auto;}#outerContainer {margin: auto; max-width: 750px;}#innerContainer {margin-bottom: 20px; margin-left: 40px; margin-right: 40px; margin-top: 80px; position: relative;}</style></html>
1+
<!DOCTYPE html><html lang="en"><head><meta name="description" content="Web word processing, presentations and spreadsheets"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0"><link rel="shortcut icon" href="//docs.google.com/favicon.ico"><title>Page Not Found</title><meta name="referrer" content="origin"><link href="//fonts.googleapis.com/css?family=Product+Sans" rel="stylesheet" type="text/css" nonce="ip-14pBXCy_NOiI_MzCcAw"><style nonce="ip-14pBXCy_NOiI_MzCcAw">.goog-inline-block{position:relative;display:-moz-inline-box;display:inline-block}* html .goog-inline-block{display:inline}*:first-child+html .goog-inline-block{display:inline}#drive-logo{margin:18px 0;position:absolute;white-space:nowrap}.docs-drivelogo-img{background-image:url(//ssl.gstatic.com/images/branding/googlelogo/1x/googlelogo_color_116x41dp.png);-webkit-background-size:116px 41px;background-size:116px 41px;display:inline-block;height:41px;vertical-align:bottom;width:116px}.docs-drivelogo-text{color:#000;display:inline-block;opacity:.54;text-decoration:none;font-family:"Product Sans",Arial,Helvetica,sans-serif;font-size:32px;text-rendering:optimizeLegibility;position:relative;top:-6px;left:-7px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (-webkit-min-device-pixel-ratio:1.5),(min-resolution:144dpi){.docs-drivelogo-img{background-image:url(//ssl.gstatic.com/images/branding/googlelogo/2x/googlelogo_color_116x41dp.png)}}sentinel{}</style><style type="text/css" nonce="ip-14pBXCy_NOiI_MzCcAw">body {background-color: #fff; font-family: Arial,sans-serif; font-size: 13px; margin: 0; padding: 0;}a, a:link, a:visited {color: #112ABB;}</style><style type="text/css" nonce="ip-14pBXCy_NOiI_MzCcAw">.errorMessage {font-size: 12pt; font-weight: bold; line-height: 150%;}</style></head><body><div id="outerContainer"><div id="innerContainer"><div style="position: absolute; top: -80px;"><div style="margin: 18px 0; position: absolute; white-space: nowrap;"><a href="//support.google.com/docs/"><img height="35px" src="//ssl.gstatic.com/docs/common/product/spreadsheets_lockup2.png" alt="Google logo"/></a></div></div><div align="center"><p class="errorMessage" style="padding-top: 50px">Sorry, unable to open the file at this time.</p><p> Please check the address and try again. </p><div style="background: #F0F6FF; border: 1px solid black; margin-top: 35px; padding: 10px 125px; width: 300px;"><p><strong>Get stuff done with Google Drive</strong></p><p>Apps in Google Drive make it easy to create, store and share online documents, spreadsheets, presentations and more.</p><p>Learn more at <a href="https://drive.google.com/start/apps">drive.google.com/start/apps</a>.</p></div></div></div></div></body><style nonce="ip-14pBXCy_NOiI_MzCcAw">html {height: 100%; overflow: auto;}body {height: 100%; overflow: auto;}#outerContainer {margin: auto; max-width: 750px;}#innerContainer {margin-bottom: 20px; margin-left: 40px; margin-right: 40px; margin-top: 80px; position: relative;}</style></html>

0 commit comments

Comments
 (0)