aboutsummaryrefslogtreecommitdiffstats
path: root/templates/email/fiksgatami/submit.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/email/fiksgatami/submit.html')
-rw-r--r--templates/email/fiksgatami/submit.html60
1 files changed, 60 insertions, 0 deletions
diff --git a/templates/email/fiksgatami/submit.html b/templates/email/fiksgatami/submit.html
new file mode 100644
index 000000000..16b96c948
--- /dev/null
+++ b/templates/email/fiksgatami/submit.html
@@ -0,0 +1,60 @@
+[%
+
+email_summary = "Et nytt problem i ditt område har blitt rapporter av en bruker av " _ site_name _ ".";
+email_footer = "Hvis det er en bedre egnet e-post adresse for meldinger om " _ category_footer _ ", vennligst la oss vite det. Det vil gjøre tjenesten bedre for folk lokalt.";
+email_columns = 2;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% primary_column_style %]" id="primary_column">
+ [% start_padded_box %]
+ <h1 style="[% h1_style %]">Ny problem rapport i ditt område</h1>
+ <p style="[% p_style %]">[% missing %][% multiple %]En bruker av [% site_name %] har sendt inn den følgende rapporten om et lokalt problem de tror kan trenge deres oppmerksomhet.</p>
+
+ <p style="margin: 20px auto; text-align: center">
+ <a style="[% button_style %]" href="[% url %]">Vis full rapport</a>
+ </p>
+ <h2 style="[% h2_style %] margin: 30px 0 10px 0">Rapportert av:</h2>
+ <table [% table_reset %]>
+ <tr>
+ <th style="[% contact_th_style %]">Navn</th>
+ <td style="[% contact_td_style %]">[% report.name | html %]</td>
+ </tr>
+ <tr>
+ <th style="[% contact_th_style %]">E-post</th>
+ <td style="[% contact_td_style %]">
+ [%~ IF report.user.email ~%]
+ <a href="mailto:[% report.user.email | html %]">[% report.user.email | html %]</a>
+ [%~ ELSE ~%]
+ <strong>Ingen e-post adresse oppgitt, kun telefonnummer</strong>
+ [%~ END ~%]
+ </td>
+ </tr>
+ [%~ IF report.user.phone %]
+ <tr>
+ <th style="[% contact_th_style %]">Phone</th>
+ <td style="[% contact_td_style %]"><a href="tel:[% report.user.phone | html %]">[% report.user.phone | html %]</a></td>
+ </tr>
+ [%~ END %]
+ </table>
+ <p style="[% p_style %] margin-top: 0.5em;">Svar på denne meldingen vil bli sendt direkte til [% report.name %], brukeren som rapporterte problemet.</p>
+ [% end_padded_box %]
+</th>
+[% WRAPPER '_email_sidebar.html' object = report %]
+ <h2 style="[% h2_style %]">[% report.title | html %]</h2>
+ <p style="[% secondary_p_style %]">[% report.category | html %]</p>
+ <p style="[% secondary_p_style %]">[% report.detail | html %]</p>
+ <p style="[% secondary_p_style %]">
+ <strong>Lokasjon:</strong>
+ <a href="[% osm_url %]" title="Vis lokalsjonen på OpenStreetMap">
+ [%~ report.latitude %], [% report.longitude ~%]
+ </a>
+ [% IF closest_address %]<br>[% closest_address | trim | replace("\n\n", "<br>") %][% END %]
+ </p>
+[% END %]
+
+[% INCLUDE '_email_bottom.html' %]