Andy Allan
1977e66ace
Use bootstrap text-muted in place of custom deemphasze class
...
This avoids changing anything related to forms, since they will be
switched over to bootstrap separately.
2020-07-08 18:30:15 +02:00
Tom Hughes
a13b40ace9
Fix new erblint warnings
2020-06-11 19:44:22 +01:00
Andy Allan
b8c1bbb4f8
Remove unnecessary h() calls on model attributes
...
These were necessary in the rails 2.x era, but not now.
2020-03-18 14:33:30 +01:00
Andy Allan
e22b9c35f5
Remove list styling from various sidebar lists
2020-01-30 13:14:53 +01:00
Andy Allan
65c3c2a915
Remove list style reset, and add overrides where necessary
...
This allows the bootstrap list typography to work without being overridden. It also means
that lists look like normal lists by default, instead of needing to be recreated from
scratch each time. Only the cases where padding and discs are unwanted need to have
custom CSS.
2020-01-15 17:16:11 +01:00
Andy Allan
827123a8f6
Rework changeset descriptions to use h6 tags, and refactor changeset lists to use list-group-flush
...
The descriptions are probably best not as a header, but still needs to be something more prominent than surrounding text.
2020-01-08 16:04:45 +01:00
Andy Allan
3167e6b4bb
Use friendly_date_ago helper for chnagesets
...
Refs #2255
2019-06-19 18:04:08 +02:00
Tom Hughes
7ce40eeb38
erblint: use consistent spacing in HTML tags
2019-03-28 00:30:48 +00:00
Tom Hughes
49da87fb6d
erblint: remove leading blank lines
2019-03-28 00:29:04 +00:00
Tom Hughes
3af16f6337
erblint: fix remaining single quoted strings
2019-03-27 16:15:19 +00:00
Andy Allan
74b91c0e3e
erblint: Add or remove curly braces around hash parameters as required
2019-03-27 10:30:48 +01:00
Andy Allan
3c410bcd7e
Whitespace fixes for browse erb files
2019-03-26 20:23:35 +00:00
Andy Allan
1778fa3d9c
Move the api methods from changesets_controller into the api namespaced controller
2019-02-24 12:18:31 +01:00
Andy Allan
8a2df0e0b5
More resourceful routing for nodes, ways, relations and changesets controllers
2019-01-16 13:10:11 +01:00
Andy Allan
252b9ef08a
Pluralize changesets controller
2018-11-14 10:34:28 +01:00
Andy Allan
3ec67ea2d3
Rename user_controller to users_controller
2018-10-03 15:31:10 +02:00
Tom Hughes
5a2d2f97ce
Update changeset browse view for renaming of changeset#list to changeset#index
2018-09-09 12:36:34 +01:00
Andy Allan
e1c62f1bf2
Remove if_user and similar methods
...
Rather than hiding features based on CSS, just avoid including them
in the output. Fixes #1862
2018-05-16 13:05:20 +08:00
Andy Allan
5bed217823
Use lazy translations where possible
2018-04-25 14:10:59 +08:00
Andy Allan
9f84c6f46e
Use user_path links. Fixes #1785
2018-03-21 11:33:45 +08:00
mmd-osm
965123372d
Added explanation about discussions on open changesets
...
Closes #1705
2017-12-18 21:19:35 +00:00
Andy Allan
c819bec8b7
Use a current_user helper for accessing the logged in user in all views.
2017-07-27 10:07:51 +01:00
Simon Legner
f3fa97fc63
Wrap user name in bdi
to provide a separate RTL context
...
Fixes #1179
Closes #1183
2016-03-14 21:20:03 +00:00
Tom Hughes
18b8fc60bb
Add rel=nofollow to links to tagless nodes in browse pages
2015-12-20 00:19:16 +00:00
Tom Hughes
316ebb7570
Don't pass ActiveRecord objects to find and exists?
2015-01-10 12:41:16 +00:00
Łukasz Gurdek
14ac1babc2
Changeset discussions
...
Add support for commenting on changesets with RSS feeds and email
notification of comments to other commenters and people that have
chosen to subscribe to a changeset.
2014-10-23 21:24:51 +01:00
Tom Hughes
5da273027f
Isolate object names from the database with a <bdi> tag
...
Fixes #743
2014-05-18 17:24:38 +01:00
Tom Hughes
5c53bb78ab
Don't linkify comments in the changeset list
...
It's confusing to make links in comments active in the changeset list
as the rest of the comment is an active link to the changeset.
We do want to make them active in the changeset view however, so add
linkification to the comment there.
Fixes https://trac.openstreetmap.org/ticket/5061
2013-12-08 13:11:48 +00:00
John Firebaugh
954261fb1c
Restore prev/next changeset by user links
2013-11-22 12:17:27 -08:00
Aaron Lidman
f45437f836
Reorder changeset detail lists
...
Nodes, ways, relations -> Ways, relations, nodes
2013-11-18 16:24:25 -08:00
John Firebaugh
9dd230d0bc
Refactor browse templates
2013-11-12 13:22:55 -08:00
John Firebaugh
e670da54cb
Rationalize browse translation keys
2013-11-12 12:51:33 -08:00
John Firebaugh
c4090bb150
Improve browse design
2013-11-12 09:03:23 -08:00
Aaron Lidman
1ae7872ed8
Update title on pushState, closes #33
2013-11-08 16:10:08 -08:00
Aaron Lidman
b2a82f501d
Float the close icon, closes #40
2013-11-08 12:01:20 -08:00
Aaron Lidman
4b2bd4835d
Fixed changeset time inconsistencies
2013-11-07 12:19:00 -08:00
Eden Halperin
9c437557c9
Fix changeset byline style
2013-11-07 11:10:52 -05:00
John Firebaugh
d8cf49f0d7
Improve pagination in changeset details
2013-11-06 17:28:39 -08:00
Aaron Lidman
e7d200c4a6
Sidebar close reverts to 'view' state
2013-11-06 16:59:14 -08:00
Aaron Lidman
694fa065c0
Split come changset display logic into a helper
2013-11-06 13:59:42 -08:00
Eden Halperin
baaacfc7c0
Browse page style tweaks
2013-11-06 15:45:57 -05:00
John Firebaugh
39ffcbc6a2
Fix merge conflict
2013-11-06 11:10:02 -08:00
Eden Halperin
582ab35ecd
groundwork for responsive menu
2013-11-06 10:31:49 -05:00
Aaron Lidman
d1cc387080
Improve changeset template
2013-11-05 18:28:11 -08:00
Aaron Lidman
ba9456066f
Add close icons
2013-11-05 15:03:08 -08:00
Aaron Lidman
9f3dace353
Improve pagination
2013-11-05 12:25:54 -08:00
Aaron Lidman
51a21e6738
Consistent headers and footers in sidebar
2013-11-05 10:04:45 -08:00
Aaron Lidman
1cded7d151
Rejig changeset details in the style of danstowell
2013-11-04 15:24:50 -08:00
John Firebaugh
054f934f27
Eliminate separate browse.css asset
2013-10-13 14:46:07 -07:00
John Firebaugh
4557654ba6
Simplify layouting
2013-10-13 14:46:07 -07:00