Files
upstream-mirror 7e385fc126
Some checks failed
SonarQube / SonarQube (push) Failing after 5m28s
E2e test on main branch push / server and client test (map[name:admin port:8080]) (push) Failing after 3m33s
Server and lib tests / Library test (js) (push) Failing after 1m36s
Server and lib tests / Library test (vue) (push) Successful in 2m24s
Server and lib tests / Web client test (admin) (push) Successful in 2m52s
Server and lib tests / Web client test (compose) (push) Successful in 3m23s
Server and lib tests / Web client test (discovery) (push) Successful in 2m49s
Server and lib tests / Web client test (one) (push) Successful in 2m52s
Server and lib tests / Web client test (privacy) (push) Successful in 2m44s
Server and lib tests / Web client test (reporter) (push) Successful in 2m56s
Server and lib tests / Web client test (workflow) (push) Successful in 3m0s
Server and lib tests / Server tests (push) Failing after 4m55s
E2e test on main branch push / notify-failure (push) Failing after 9s
Server and lib tests / Send matrix testing notification (push) Successful in 2s
Mark stale issues and pull requests / stale (push) Successful in 40s
snapshot of https://github.com/cortezaproject/corteza.git (2024.9.x, 2026-09-18; blobs > 131072B omitted)
2026-09-18 01:22:23 +05:00

64 lines
3.3 KiB
YAML

templates:
email_general_header:
type: text/html
partial: true
meta:
short: General template header
description: General template header to use with system email notifications
template: |-
<div style="width:100%;min-height:100%;margin:0;padding:0;color:#3a393c;font-size:12px;line-height:18px;font-family:Verdana,Arial,sans-serif">
<table width="100%" align="center" style="width:100%;height:100%;border-collapse:collapse;border:0;padding:60px" border="0" cellspacing="0" cellpadding="0" summary="">
<tbody>
<tr>
<td valign="top" align="center" style="padding: 20px 0;">
<table width="800" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td width="800" bgcolor="#FFFFFF" style="color:#3a393c;font-size:14px;line-height:20px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;text-align:left">
<table width="800" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr style="background-color:#FFFFFF;height:50px;">
<td style="border-bottom: 2px solid #E4E9EF;">
<a href="{{ .BaseURL }}" style="text-decoration:none" target="_blank">
<img src="{{ .Logo }}" style="display: block;margin: 0 auto;padding: 10px; width: 50%;">
</a>
</td>
</tr>
<tr>
<td width="800" style="padding:40px 30px">
email_general_footer:
type: text/html
partial: true
meta:
short: General template footer
description: General template footer to use with system email notifications
template: |-
</td>
</tr>
<tr>
<td style="padding:30px;border-top: 1px solid #E4E9EF">
<p>If you have any questions, please contact <a href="mailto:{{ .SignatureEmail }}" style="color:#FF9661;">{{ .SignatureEmail }}</a>.</p>
<p>Kind regards, <br>
{{ .SignatureName }}</p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
record_table:
type: text/html
partial: true
template: "<table width=\"800\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"margin: 0 auto;\">\n <thead>\n <tr>\n <th>Field</th>\n <th>Value</th>\n </tr>\n </thead>\n <tbody>\n{{range $key, $value := .values}}\n <tr>\n <td>{{ $key }}</td>\n{{if $value }}\n {{if typeIs \"[]interface {}\" $value}}\n <td>{{ $value | join \", \" }}</td>\n {{else}}\n <td>{{ $value }}</td>\n {{end}}\n{{else}}\n <td>&nbsp;</td>\n{{end}}\n </tr>\n{{end}}\n \n </tbody>\n</table>\n"
meta:
short: Tablefy Record
description: Displays the provided record as a table.