[openstreetmap/openstreetmap-website] Collapse all tokens for an app into a single line (#1461)

Ilya Zverev notifications at github.com
Wed Feb 22 21:56:37 UTC 2017


The first step for #1455.

This request removes duplicate lines in the list of tokens granted to client applications. When a user clicks "Revoke", all tokens for the app are removed.

Pros: users won't be puzzled by duplicated and cleaning up the list is much simpler
Cons: the actual number of tokens will be hidden. Not that it is of any importance or affects anything.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Collapse all tokens for an app into a single line

-- File Changes --

    M app/controllers/oauth_clients_controller.rb (2)
    M app/controllers/oauth_controller.rb (10)
    M app/views/oauth_clients/index.html.erb (14)

-- Patch Links --

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

-- 
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/pull/1461
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170222/590dc01c/attachment.html>


More information about the rails-dev mailing list