[openstreetmap/openstreetmap-website] Fixed "Add last edited date to user profile" issue described in #3437 (PR #4881)

Nenad Vujicic notifications at github.com
Thu Jun 6 14:50:46 UTC 2024


This PR addresses "Add last edited date to user profile" issue mentioned in the #3437 

In app/views/users/show.html.erb added new definition for "Last map edit" as date of the user's last changeset modification or "No activity yet" label if user has not edited map yet (previously mentioned '-' could be misunderstood as website error). Also, added labels to translation files.

Before:
![image](https://github.com/openstreetmap/openstreetmap-website/assets/25298521/009e23a3-3029-441c-b9ca-d50fb5e50ff5)
After:
![image](https://github.com/openstreetmap/openstreetmap-website/assets/25298521/00319b26-c851-4e6a-b756-f96d407c34ed)
![image](https://github.com/openstreetmap/openstreetmap-website/assets/25298521/e4aee24f-e9fd-411d-80be-4f72d550ab8d)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4881

-- Commit Summary --

  * Fixed "Add last edited date to user profile" issue described in #3437

-- File Changes --

    M app/views/users/show.html.erb (2)
    M config/locales/en.yml (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4881.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4881.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/4881 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240606/5fa460df/attachment.htm>


More information about the rails-dev mailing list