refactor: renamed app to lms
This commit is contained in:
18
lms/templates/emails/community_course_membership.html
Normal file
18
lms/templates/emails/community_course_membership.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<h4>{{_("Set your Password")}}</h4>
|
||||
<p>Dear {{ full_name }},</p>
|
||||
<p>{{ _("") }}</p>
|
||||
|
||||
{% if update_password_link %}
|
||||
|
||||
<p>{{_("Please click on the following button to set your new password")}}:</p>
|
||||
<p>
|
||||
<button style="border: 1px solid #15c; padding: 4px; border-radius: 5px; background-color: white;">
|
||||
<a href="{{ update_password_link }}" style="color: #15c; font-size: 12px; text-decoration:none;"
|
||||
target="_blank">{{_("Update Password") }}</a>
|
||||
</button>
|
||||
</p>
|
||||
|
||||
{% endif %}
|
||||
|
||||
<p>{{_("Regards")}},<br>
|
||||
{{ _("Team School") }}</p><br>
|
||||
6
lms/templates/emails/job_report.html
Normal file
6
lms/templates/emails/job_report.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{% set job_link = "<a href='" + job_url + "'>" + job + "</a>" %}
|
||||
|
||||
<p>{{ _("Hey,") }}</p>
|
||||
<p>{{ _("{0} has reported a job post for the following reason.").format(user) }}</p>
|
||||
<p>" {{ reason }} "</p>
|
||||
<p>{{ _("Please take appropriate action at {0}").format(job_url) }}</p>
|
||||
19
lms/templates/emails/lms_course_interest.html
Normal file
19
lms/templates/emails/lms_course_interest.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<div>
|
||||
{% set site_link = "<a href='" + site_url + "'>" + app_name + "</a>" %}
|
||||
<p>{{ _("Hi {0},").format(first_name) }}</p>
|
||||
<br>
|
||||
<p>{{ _("The course {0} is now available on {1}.").format(frappe.bold(title), app_name) }}</p>
|
||||
<br>
|
||||
<p>Click on the link below to start learning.</p>
|
||||
<p style="margin: 15px 0px;">
|
||||
<a href="{{ course_link }}" rel="nofollow" class="btn btn-primary">{{ _("Start Learning") }}</a>
|
||||
</p>
|
||||
<br>
|
||||
<p>
|
||||
{{ _("You can also copy-paste following link in your browser") }}<br>
|
||||
<a href="{{ course_link }}">{{ site_url }}{{ course_link }}</a>
|
||||
</p>
|
||||
<br>
|
||||
<p>Thanks and Regards,</p>
|
||||
<p>{{ app_name }}</p>
|
||||
</div>
|
||||
12
lms/templates/emails/lms_daily_digest.html
Normal file
12
lms/templates/emails/lms_daily_digest.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% for batch in batches %}
|
||||
<h3> {{ batch }}</h3>
|
||||
<div>
|
||||
{% for message in batches[batch] %}
|
||||
<div style="border: 1px solid #DBDBDB;padding: 10px; margin: 10px;">
|
||||
<p> {{ frappe.utils.md_to_html(message.message) }} </p>
|
||||
<p class="text-right">By {{message.author}}</p>
|
||||
<div class="small text-muted text-right">{{ frappe.utils.format_datetime(message.creation, "medium") }}</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
17
lms/templates/emails/lms_invite_request_approved.html
Normal file
17
lms/templates/emails/lms_invite_request_approved.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<div>
|
||||
{% set site_link = "<a href='" + site_url + "'>" + site_name + "</a>" %}
|
||||
<p>{{_("Hi,")}}</p>
|
||||
<p>{{_("Welcome to {0}!").format(site_name)}}</p>
|
||||
<p>Click on the link below to complete your sign up and set a new password</p>
|
||||
<p style="margin: 15px 0px;">
|
||||
<a href="{{ signup_form_link }}" rel="nofollow" class="btn btn-primary">{{ _("Complete Sign Up") }}</a>
|
||||
</p>
|
||||
<br>
|
||||
<p>
|
||||
{{_("You can also copy-paste following link in your browser")}}<br>
|
||||
<a href="{{ signup_form_link }}">{{ site_url }}{{ signup_form_link }}</a>
|
||||
</p>
|
||||
<br>
|
||||
<p>Thanks and Regards,</p>
|
||||
<p>{{site_name}}</p>
|
||||
</div>
|
||||
13
lms/templates/emails/lms_message.html
Normal file
13
lms/templates/emails/lms_message.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!-- <div style="border: 1px solid #DBDBDB; padding-bottom: 10px;">
|
||||
<h6 style="padding-left: 10px;">{{ author }}</h6>
|
||||
<hr style="border: 1px solid #DBDBDB;">
|
||||
<div style="padding: 10px;">
|
||||
{{ message }}
|
||||
<div class="small text-muted text-right">{{ creation }}</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<p> {{ message }} </p>
|
||||
<p class="text-right">By {{author}}</p>
|
||||
<div class="small text-muted text-right">{{ creation }}</div>
|
||||
<a href="courses/course?course={{course}}">Open Course</a>
|
||||
9
lms/templates/emails/mentor_request_creation_email.html
Normal file
9
lms/templates/emails/mentor_request_creation_email.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<div>
|
||||
<p>Dear {{ member_name }},</p>
|
||||
<br>
|
||||
<p>You've applied to become a mentor for this course. Your request is currently under review.</p>
|
||||
<p>If you are not any more interested to mentor the course {{ course }}, you can <a href="{{ course_url }}">cancel your application</a>.</p>
|
||||
<br>
|
||||
<p>Thanks and Regards,</p>
|
||||
<p>Team School.</p>
|
||||
</div>
|
||||
@@ -0,0 +1,8 @@
|
||||
<div>
|
||||
<p>Dear {{ member_name }},</p>
|
||||
<br>
|
||||
<p>Your request to join us as a mentor for the course {{ course }} has been {{ status }}.</p>
|
||||
<br>
|
||||
<p>Thanks and Regards,</p>
|
||||
<p>Team School.</p>
|
||||
</div>
|
||||
Reference in New Issue
Block a user