[openstreetmap/openstreetmap-website] GPX Import success email should link to the trace (#2310)

積丹尼 Dan Jacobson notifications at github.com
Mon Jul 15 07:56:33 UTC 2019


Let's have a look at the mail sent upon the upload of a trace,
> From: OpenStreetMap <web at noreply.openstreetmap.org>
> Subject: [OpenStreetMap] GPX Import success
> To: jidanni at jidanni.org
> Date: Mon, 15 Jul 2019 06:21:59 +0800
> 
> [1. text/html]
>     OpenStreetMap   OpenStreetMap
>      Hi,
> 
>      It looks like your GPX file Jun_25__2019_10_09_38_2019_06_25_10_09_38.gpx with the description s and the following tags: osmtracker loaded successfully with 28 out of a possible
>      28 points.
>    OpenStreetMap
> OpenStreetMap
> 
> [2. image/png; logo.png]

Let's take a look at those hyperlinks.

```
$ mech-dump --all file.htm 
--> Headers:
Content-Length: 2685
Content-Type: text/html
Last-Modified: Mon, 15 Jul 2019 07:46:26 GMT
Client-Date: Mon, 15 Jul 2019 07:50:42 GMT
X-Meta-Charset: UTF-8

--> Forms:

--> Links:
https://www.openstreetmap.org/
https://www.openstreetmap.org/
https://www.openstreetmap.org/

--> Images:
cid:5d2bab076ce95_3f302b1c623585b4100290 at spike-08.openstreetmap.org.mail


```

Suggestions: Instead of three identical general links,
how about having links to
- https://www.openstreetmap.org/user/jidanni/traces
- https://www.openstreetmap.org/user/jidanni/traces/3047592
- https://www.openstreetmap.org/?mlat=24.228791&mlon=120.79456966#map=14/24.228791/120.79456966
- https://www.openstreetmap.org/edit?gpx=3047593
- etc.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2310
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190715/5a07bb90/attachment.html>


More information about the rails-dev mailing list