refactor: renamed app to lms

This commit is contained in:
Jannat Patel
2022-03-19 17:30:00 +05:30
parent 1b04615bff
commit c971d34d67
643 changed files with 227 additions and 235 deletions

View 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>

View 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>

View 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>

View 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 %}

View 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>

View 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>

View 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>

View File

@@ -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>