-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Abhishek Patel <[email protected]>
- Loading branch information
1 parent
8dde8ed
commit 60fe977
Showing
9 changed files
with
121 additions
and
141 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,25 +1,19 @@ | ||
{% comment %} | ||
context = { | ||
'mentor': email_context.mentor.username, | ||
'user': email_context.user.username, | ||
'url': url, | ||
'protocol': , | ||
'issue': email_context.issue, | ||
'action': email_context.action, | ||
'host': email_context.host | ||
} | ||
{% endcomment %} | ||
{% autoescape off %} | ||
<br> | ||
Hi there! <b>{{ user }}</b>,<br><br> | ||
{% comment %} context = { 'mentor': email_context.mentor.username, 'user': | ||
email_context.user.username, 'url': url, 'protocol': , 'issue': | ||
email_context.issue, 'action': email_context.action, 'host': email_context.host | ||
} {% endcomment %} {% autoescape off %} | ||
<br /> | ||
Hi there! <b>{{ user }}</b>,<br /><br /> | ||
|
||
{{ mentor }} has {{ action }} your requested issue assignment of {{ issue.project.name }}.<br><br> | ||
<b>Your Profile:</b> {{ protocol }}://{{ host }}profile/user/{{ user }} <br> <br> | ||
<b>See your issue on Github:</b> {{ url }} <br><br> | ||
{{ mentor }} has {{ action }} your requested issue assignment of {{ | ||
issue.project.name }}.<br /><br /> | ||
<b>Your Profile:</b> {{ protocol }}://{{ host }}profile/user/{{ user }} <br /> | ||
<br /> | ||
<b>See your issue on Github:</b> {{ url }} <br /><br /> | ||
|
||
If clicking on any of the link above doesn't work, please copy and paste the URL in a new browser | ||
window instead.<br><br> | ||
If clicking on any of the link above doesn't work, please copy and paste the URL | ||
in a new browser window instead.<br /><br /> | ||
|
||
Sincerely,<br> | ||
ContriHUB-23 Team<br> | ||
{% endautoescape %} | ||
Sincerely,<br /> | ||
ContriHUB-24 Team<br /> | ||
{% endautoescape %} |
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 |
---|---|---|
@@ -1,22 +1,15 @@ | ||
{% comment %} | ||
context = { | ||
'contributor': contributor, | ||
'url': url, | ||
'issue': issue, | ||
'action': 'accepted/rejected', | ||
'mentor': mentor.username, | ||
'subject': "PR Accepted/Rejected under ContriHUB-23.", | ||
} | ||
{% endcomment %} | ||
{% autoescape off %} | ||
<br> | ||
Hi there! <b>{{ user }}</b>,<br><br> | ||
{% comment %} context = { 'contributor': contributor, 'url': url, 'issue': | ||
issue, 'action': 'accepted/rejected', 'mentor': mentor.username, 'subject': "PR | ||
Accepted/Rejected under ContriHUB-23.", } {% endcomment %} {% autoescape off %} | ||
<br /> | ||
Hi there! <b>{{ user }}</b>,<br /><br /> | ||
|
||
Your <a href={{ url }}>Pull Request</a> for Issue <a href={{ issue.html_url }}> | ||
{{ issue.number }}</a> of Project <a href={{ issue.project.html_url }}>{{ issue.project.name }}</a> | ||
has been {{ action }} by mentor, {{ mentor }}. | ||
<br> | ||
<br> | ||
Sincerely,<br> | ||
ContriHUB-23 Team<br> | ||
{% endautoescape %} | ||
Your <a href="{{" url }}>Pull Request</a> for Issue | ||
<a href="{{" issue.html_url }}> {{ issue.number }}</a> of Project | ||
<a href="{{" issue.project.html_url }}>{{ issue.project.name }}</a> | ||
has been {{ action }} by mentor, {{ mentor }}. | ||
<br /> | ||
<br /> | ||
Sincerely,<br /> | ||
ContriHUB-24 Team<br /> | ||
{% endautoescape %} |
38 changes: 17 additions & 21 deletions
38
home/templates/dashboard/mail_template_request_issue_assignment.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 |
---|---|---|
@@ -1,24 +1,20 @@ | ||
{% comment %} | ||
context = { | ||
'mentor': email_context.mentor.username, | ||
'user': email_context.user.username, | ||
'url': email_context.url, | ||
'protocol': , | ||
'host': email_context.host | ||
} | ||
{% endcomment %} | ||
{% autoescape off %} | ||
<br> | ||
Hi there! <b>{{ mentor }}</b>,<br><br> | ||
{% comment %} context = { 'mentor': email_context.mentor.username, 'user': | ||
email_context.user.username, 'url': email_context.url, 'protocol': , 'host': | ||
email_context.host } {% endcomment %} {% autoescape off %} | ||
<br /> | ||
Hi there! <b>{{ mentor }}</b>,<br /><br /> | ||
|
||
PFB the details of the issue requested for assignment.<br><br> | ||
<b>Your Profile:</b> {{ protocol }}://{{ host }}profile/user/{{ mentor }} <br> <br> | ||
<b>Requester's Profile:</b> {{ protocol }}://{{ host }}profile/user/{{ user }} <br> <br> | ||
<b>See Issue on Github:</b> {{ url }} <br><br> | ||
PFB the details of the issue requested for assignment.<br /><br /> | ||
<b>Your Profile:</b> {{ protocol }}://{{ host }}profile/user/{{ mentor }} <br /> | ||
<br /> | ||
<b>Requester's Profile:</b> {{ protocol }}://{{ host }}profile/user/{{ user }} | ||
<br /> | ||
<br /> | ||
<b>See Issue on Github:</b> {{ url }} <br /><br /> | ||
|
||
If clicking on any of the link above doesn't work, please copy and paste the URL in a new browser | ||
window instead.<br><br> | ||
If clicking on any of the link above doesn't work, please copy and paste the URL | ||
in a new browser window instead.<br /><br /> | ||
|
||
Sincerely,<br> | ||
ContriHUB-23 Team<br> | ||
{% endautoescape %} | ||
Sincerely,<br /> | ||
ContriHUB-24 Team<br /> | ||
{% endautoescape %} |
39 changes: 18 additions & 21 deletions
39
home/templates/dashboard/mail_template_submit_pr_request.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 |
---|---|---|
@@ -1,24 +1,21 @@ | ||
{% comment %} | ||
context = { | ||
'mentor': email_context.mentor.username, | ||
'user': email_context.user.username, | ||
'url': url, | ||
'protocol': , | ||
'host': email_context.host | ||
} | ||
{% endcomment %} | ||
{% autoescape off %} | ||
<br> | ||
Hi there! <b>{{ mentor }}</b>,<br><br> | ||
{% comment %} context = { 'mentor': email_context.mentor.username, 'user': | ||
email_context.user.username, 'url': url, 'protocol': , 'host': | ||
email_context.host } {% endcomment %} {% autoescape off %} | ||
<br /> | ||
Hi there! <b>{{ mentor }}</b>,<br /><br /> | ||
|
||
{{ user }} has requested for approval of the PR on a issue that you are mentoring.<br><br> | ||
<b>Your Profile:</b> {{ protocol }}://{{ host }}profile/user/{{ mentor }} <br> <br> | ||
<b>Contributor's Profile:</b> {{ protocol }}://{{ host }}profile/user/{{ user }} <br> <br> | ||
<b>See PR on Github:</b> {{ url }} <br><br> | ||
{{ user }} has requested for approval of the PR on a issue that you are | ||
mentoring.<br /><br /> | ||
<b>Your Profile:</b> {{ protocol }}://{{ host }}profile/user/{{ mentor }} <br /> | ||
<br /> | ||
<b>Contributor's Profile:</b> {{ protocol }}://{{ host }}profile/user/{{ user }} | ||
<br /> | ||
<br /> | ||
<b>See PR on Github:</b> {{ url }} <br /><br /> | ||
|
||
If clicking on any of the link above doesn't work, please copy and paste the URL in a new browser | ||
window instead.<br><br> | ||
If clicking on any of the link above doesn't work, please copy and paste the URL | ||
in a new browser window instead.<br /><br /> | ||
|
||
Sincerely,<br> | ||
ContriHUB-23 Team<br> | ||
{% endautoescape %} | ||
Sincerely,<br /> | ||
ContriHUB-24 Team<br /> | ||
{% endautoescape %} |
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 |
---|---|---|
@@ -1,8 +1,15 @@ | ||
<footer class="bg-transparent text-center text-lg-start mt-auto" > | ||
<footer class="bg-transparent text-center text-lg-start mt-auto"> | ||
<!-- Copyright --> | ||
<div class="text-center p-2" style="background-color: rgba(0, 0, 0, 0.2);"> | ||
<a class="text-white"><marquee>CAUTION: Website is Under Development! © 2023 Copyright: <a href="https://github.com/ContriHUB"><i class="fa fa-github" style="font-size:24px; color: skyblue"></i></a> ContriHUB-23</marquee></a> | ||
<div class="text-center p-2" style="background-color: rgba(0, 0, 0, 0.2)"> | ||
<a class="text-white" | ||
><marquee | ||
>CAUTION: Website is Under Development! © 2024 Copyright: | ||
<a href="https://github.com/ContriHUB" | ||
><i class="fa fa-github" style="font-size: 24px; color: skyblue"></i | ||
></a> | ||
ContriHUB-24</marquee | ||
></a | ||
> | ||
</div> | ||
<!-- Copyright --> | ||
</footer> | ||
|
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
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
40 changes: 16 additions & 24 deletions
40
user_profile/templates/user_profile/mail_template_request_profile_edit.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 |
---|---|---|
@@ -1,26 +1,18 @@ | ||
{% comment %} | ||
context = { | ||
'username': , | ||
'protocol': , | ||
'host': , | ||
'new_regno': , | ||
'new_name': , | ||
'new_course': , | ||
'new_year': , | ||
} | ||
{% endcomment %} | ||
{% autoescape off %} | ||
<br> | ||
Hi there! <b>Admin</b>,<br><br> | ||
{% comment %} context = { 'username': , 'protocol': , 'host': , 'new_regno': , | ||
'new_name': , 'new_course': , 'new_year': , } {% endcomment %} {% autoescape off | ||
%} | ||
<br /> | ||
Hi there! <b>Admin</b>,<br /><br /> | ||
|
||
PFB the new details for the profile edit requested by:<br><br> | ||
<b>Username:</b> {{ username }} <br> | ||
<b>User Profile:</b> {{ protocol }}://{{ host }}/profile/user/{{ username }} <br><br> | ||
<b>New Registration Number:</b> {{ new_regno }} <br> | ||
<b>New Name:</b> {{ new_name }} <br> | ||
<b>New Course:</b> {{ new_course }} <br> | ||
<b>New Year:</b> {{ new_year }} <br><br> | ||
PFB the new details for the profile edit requested by:<br /><br /> | ||
<b>Username:</b> {{ username }} <br /> | ||
<b>User Profile:</b> {{ protocol }}://{{ host }}/profile/user/{{ username }} | ||
<br /><br /> | ||
<b>New Registration Number:</b> {{ new_regno }} <br /> | ||
<b>New Name:</b> {{ new_name }} <br /> | ||
<b>New Course:</b> {{ new_course }} <br /> | ||
<b>New Year:</b> {{ new_year }} <br /><br /> | ||
|
||
Sincerely,<br> | ||
ContriHUB-23 Team<br> | ||
{% endautoescape %} | ||
Sincerely,<br /> | ||
ContriHUB-24 Team<br /> | ||
{% endautoescape %} |