[openstreetmap-website] Top-right user dropdown menu needs "My Edits" added (#1088)

Simon Legner notifications at github.com
Tue Mar 8 21:02:48 UTC 2016


https://github.com/openstreetmap/iD uses `iD.util.displayName` to name the objects in the summary:

![2016-03-08-22-01-23-001](https://cloud.githubusercontent.com/assets/782446/13616260/63b4c5ea-e579-11e5-8736-68c37c469f5a.png)

```js
iD.util.displayName = function(entity) {
    var localeName = 'name:' + iD.detect().locale.toLowerCase().split('-')[0];
    return entity.tags[localeName] || entity.tags.name || entity.tags.ref;
};
```

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1088#issuecomment-193965551
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160308/0d10c23b/attachment.html>


More information about the rails-dev mailing list