[openstreetmap-website] Clean up views, move javascript to files (#78)

Tom MacWright notifications at github.com
Fri Aug 31 21:24:23 BST 2012


This is a good starter task:

* `app/views/site/index.html.erb` has lots of JS & Ruby logic which should be pushed into Javascript files, ruby controllers & helpers. The JS also could use serious refactoring and cleanup


Big views:

    loc
      73 app/views/message/read.html.erb
      75 app/views/diary_entry/edit.html.erb
      78 app/views/export/start.html.erb
      83 app/views/changeset/_map.html.erb
      84 app/views/user/login.html.erb
      91 app/views/site/_potlatch2.html.erb
      91 app/views/user/_map.html.erb
      92 app/views/browse/_changeset_details.html.erb
      92 app/views/changeset/list.atom.builder
     100 app/views/user/new.html.erb
     138 app/views/user/account.html.erb
     141 app/views/user/view.html.erb
     150 app/views/layouts/site.html.erb
     156 app/views/browse/_map.html.erb
     303 app/views/site/index.html.erb

/cc @lxbarth

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/78
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20120831/1d149d66/attachment.html>


More information about the rails-dev mailing list