[openstreetmap/openstreetmap-website] GPX Import email in text format (PR #5031)

Anton Khorev notifications at github.com
Tue Jul 30 15:27:12 UTC 2024


@AntonKhorev commented on this pull request.



> +      description_with_tags: "It looks like your GPX file %{trace_name} with the description %{trace_description} and the following tags: %{tags}"
       description_with_tags_html: "It looks like your GPX file %{trace_name} with the description %{trace_description} and the following tags: %{tags}"

In the html version the most important link is the link to the trace page (`/user/:user/traces/:id`), which is inserted at `%{trace_name}`. Plaintext version doesn't have this link, `%{trace_name}` is just the filename. Maybe we can rewrite `description_with_tags` and `description_with_no_tags` to include the url? Then they won't be just copies without the `_html` suffixes.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5031#pullrequestreview-2208022708
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5031/review/2208022708 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240730/70edb0aa/attachment-0001.htm>


More information about the rails-dev mailing list