-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8fcf995
commit cb0230d
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
georiviere/contribution/templates/contribution/report_email.txt
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% load i18n l10n %} | ||
{% autoescape off %} | ||
{% blocktrans with email=contribution.email_author %}{{email}} has sent a contribution.{% endblocktrans %} | ||
|
||
{% if contribution.severity %}{% blocktrans with severity=report.severity %}Severity : {{severity}}{% endblocktrans %}{% endif %} | ||
{% trans "Category" %} : {{contribution.category}} | ||
{% trans "Description" %} : {{contribution.description}} | ||
|
||
{% trans "Portal" %} : {{contribution.portal}} | ||
|
||
{% if report.geom %}{% blocktrans with lat=report.geom_wgs84.y|stringformat:".6f" lng=report.geom_wgs84.x|stringformat:".6f" %} | ||
Lat : {{lat}} / Lon : {{lng}} | ||
http://www.openstreetmap.org/?mlat={{lat}}&mlon={{lng}} | ||
{% endblocktrans %}{% endif %} | ||
|
||
{% endautoescape %} |