[openstreetmap/openstreetmap-website] Reorganize blocks table from status/revoked to begin/end/status columns (PR #4200)
Anton Khorev
notifications at github.com
Thu Aug 24 03:02:23 UTC 2023
Currently [blocks tables](https://www.openstreetmap.org/user_blocks) contain too much repeated text like "Ends in almost 10 years and after the user has logged in." which could be made shorter. Partly such messages can be replaced by the column containing just dates.
The _Revoked by_ column is almost never used. Here I merge it with _Status_ column because revoked block is no longer active.
_Start date_ would be useful to see, especially if sorting by this date is added. This was earlier attempted in #1656.

You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4200
-- Commit Summary --
* Rearrange data in blocks table to start/end/status columns
* Change block end column to display strictly ends_at
-- File Changes --
M app/helpers/user_blocks_helper.rb (40)
M app/views/user_blocks/_block.html.erb (15)
M app/views/user_blocks/_blocks.html.erb (3)
M config/locales/en.yml (13)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4200.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4200.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4200
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4200 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230823/59f5160b/attachment.htm>
More information about the rails-dev
mailing list