Skip to content

Commit

Permalink
Adds back in the missing email templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Judah Himango authored and Judah Himango committed Apr 25, 2023
1 parent 61a5db1 commit c345b32
Show file tree
Hide file tree
Showing 2 changed files with 149 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/ClientApp/public/assets/templates/new-chord-sheet.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<div>
<h1>New Chords available</h1>
<p>Someone uploaded new chords sheets to Messianic Chords.</p>
<h2>Title: {{title}} {{hebrewTitle}}</h2>
<h3>Artist: {{artist}}</h3>
<h3>Authors: {{authors}}</h3>
<p>
Chords:
<br />
<pre style="font-family: monospace">{{chords}}</pre>
</p>
<p>Attachments: {{attachmentNames}}</p>
<p>Links: {{links}}</p>
<p>Key: {{key}}</p>
<p>Capo: {{capo}}</p>
<p>Scripture: {{scripture}}</p>
<p>Copyright: {{copyright}}</p>
<p>CCLI: {{ccli}}</p>
<p>Year: {{year}}</p>
<p>Sheet music: {{sheetMusic}}</p>
<p>About: {{about}}</p>
<br />
<br />
<h2>
<a href='{{approveLink}}'>Approve</a> or <a href='{{rejectLink}}'>Reject</a>
</h2>
</div>
122 changes: 122 additions & 0 deletions src/ClientApp/public/assets/templates/updated-chord-sheet.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
<html>
<head>
<style>
.d-none {
display: none;
}

table {
width: 100%;
font-size: 1.2em;
}

th {
padding-top: 10px;
padding-bottom: 10px;
padding-right: 20px;
text-align: left;
}
</style>
</head>
<body>
<div>
<h1>A chord chart has been edited on Messianic Chords and requires your approval.</h1>
<p>Someone edited the chord charts for <a href="https://messianicchords.com/{{id}}">{{artistOld}} - {{titleOld}}</a>.</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>New</th>
<th>Old</th>
</tr>
</thead>
<tbody>
<tr class="title {{titleClass}}">
<td>Title</td>
<td>{{titleNew}}</td>
<td>{{titleOld}}</td>
</tr>
<tr class="hebrew-title {{hebrewTitleClass}}">
<td>Hebrew Title</td>
<td>{{hebrewTitleNew}}</td>
<td>{{hebrewTitleOld}}</td>
</tr>
<tr class="artist {{artistClass}}">
<td>Artist</td>
<td>{{artistNew}}</td>
<td>{{artistOld}}</td>
</tr>
<tr class="authors {{authorsClass}}">
<td>Authors</td>
<td>{{authorsNew}}</td>
<td>{{authorsOld}}</td>
</tr>
<tr class="chords {{chordsClass}}">
<td>Chords</td>
<td>
<pre>{{chordsNew}}</pre>
</td>
<td>
<pre>{{authorsOld}}</pre>
</td>
</tr>
<tr class="attachments {{attachmentsClass}}">
<td>Attachments</td>
<td>{{attachmentNamesNew}}</td>
<td></td>
</tr>
<tr class="links {{linksClass}}">
<td>Links</td>
<td>{{linksNew}}</td>
<td>{{linksOld}}</td>
</tr>
<tr class="key {{keyClass}}">
<td>Key</td>
<td>{{keyNew}}</td>
<td>{{keyOld}}</td>
</tr>
<tr class="capo {{capoClass}}">
<td>Capo</td>
<td>{{capoNew}}</td>
<td>{{capoOld}}</td>
</tr>
<tr class="scripture {{scriptureClass}}">
<td>Scripture</td>
<td>{{scriptureNew}}</td>
<td>{{scriptureOld}}</td>
</tr>
<tr class="copyright {{copyrightClass}}">
<td>Copyright</td>
<td>{{copyrightNew}}</td>
<td>{{copyrightOld}}</td>
</tr>
<tr class="ccli {{ccliClass}}">
<td>CCLI</td>
<td>{{ccliNew}}</td>
<td>{{ccliOld}}</td>
</tr>
<tr class="year {{yearClass}}">
<td>Year</td>
<td>{{yearNew}}</td>
<td>{{yearOld}}</td>
</tr>
<tr class="sheetMusic {{sheetMusicClass}}">
<td>Is sheet music</td>
<td>{{sheetMusicNew}}</td>
<td>{{sheetMusicOld}}</td>
</tr>
<tr class="about {{aboutClass}}">
<td>About</td>
<td>{{aboutNew}}</td>
<td>{{aboutOld}}</td>
</tr>
</tbody>
</table>
<br />
<br />
<h2>
<a href='{{approveLink}}'>Approve</a> or <a href='{{rejectLink}}'>Reject</a>
</h2>
</div>
</body>
</html>

0 comments on commit c345b32

Please sign in to comment.