Anton Khorev
3c5c376158
Remove custom color from changeset comments count
2023-10-02 02:32:47 +03:00
Anton Khorev
9768a01717
Remove custom opacity from changeset comments count
2023-10-02 02:32:03 +03:00
Andy Allan
b7ad61560c
Fix lack of margin on changeset browsing messages
...
The display area here uses negative margins to make the flush list
work, so we need to add them back in for normal text.
2023-09-06 16:51:25 +01:00
Anton Khorev
2b10195441
Remove unused partial _user.atom.builder
2023-09-03 14:47:35 +03:00
Tom Hughes
c0278a01da
Merge remote-tracking branch 'upstream/pull/3803'
2022-11-17 17:49:17 +00:00
Andy Allan
1559d88048
Create a second title_user translation, to avoid using html_safe
2022-11-17 12:10:49 +00:00
Anton Khorev
28060080e8
Replace spinners in html.erb templates
2022-11-01 00:08:41 +03:00
Tom Hughes
140b296f59
Test that tags are included correctly in the changeset feed
2022-10-18 18:42:02 +01:00
Malte Gerken
4492118dbc
Fix malformed tags table in changeset atom feed
2022-10-17 15:37:07 +02:00
Anton Khorev
a0f52e8b4f
Make changeset id also a link so it can be displayed over the stretched link and be text-selectable
2022-09-02 16:13:52 +03:00
Anton Khorev
f1cf1be64a
Put span inside stretched link to improve text selection
2022-09-02 16:03:52 +03:00
Anton Khorev
5da7215873
Stretch changeset links in history lists
2022-09-01 22:45:09 +03:00
Andy Allan
a9a00acf68
Fix italic font styles
...
This was missed during the bootstrap 5 upgrade
2022-08-03 19:49:46 +01:00
Tom Hughes
cbcc7dc49f
Fix some rubocop Naming/PredicateName warnings
2022-03-03 22:47:55 +00:00
Andy Allan
b0a9b39c8d
Use flexbox instead of floating to position the comment icon
...
This ensures both components get appropriate padding. Fixes #3305
2021-10-13 17:36:48 +01:00
Andy Allan
c8f0a81eb7
Rework sidebar to use padding on the sidebar_content div
...
This saves every header, list, paragraph etc having to sort out their own padding. The couple of instances where we want edge-to-edge can be acheived using the negative margin spacing utilities.
The padding is based on $spacer so that it can be adjusted automatically via bootstrap configuration.
This also means that we can remove many (mis-)uses of the browse-section class, which is only supposed to be for cases where there are multiple browse-sections in sequence (e.g. multiple nodes in the node history browse pages).
2021-06-16 15:45:58 +01:00
Andy Allan
1c1bfd7488
Add a small margin before the changesets more button
...
See also #2717
2021-03-03 17:46:01 +00:00
Tom Hughes
e430bc0f7f
Fix URL generation for atom feed on history page
...
Fixes #3085
2021-02-07 16:24:14 +00:00
Tom Hughes
bfffe7ed96
Prefer string interpolation to concatenation
2020-11-13 11:32:28 +00:00
Andy Allan
c233bec67b
Use flexbox to position the close icon on the sidebars
...
This ensures that the text and the close icon don't overlap, regardless
of the length of the title. The title div grows to use all available
space, while ensuring the text breaks if necessary to prevent it from
pushing the close icon offscreen.
2020-10-21 17:11:28 +02:00
Andy Allan
a988ad6f51
Style changeset descriptions with italics on browse pages
...
Alternative to #580
This reworks changeset descriptions to use italics instead of header
elements, in order to make them more like quotes.
Care has been taken to make sure that there is still a header element
as the first element of the common details partial, in order to make
the history pages look right (where the partial appears multiple times).
2020-09-16 18:51:20 +02:00
Andy Allan
94008d9059
Fix remaining unstyled buttons by moving to bootstrap buttons
2020-08-19 14:54:36 +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
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
0dbb33016f
Rename @edits variable to @changesets, for clarity
2019-06-26 17:07:49 +02:00
Tom Hughes
49da87fb6d
erblint: remove leading blank lines
2019-03-28 00:29:04 +00:00
Tom Hughes
1d97fd25b7
erblint: use conditional assignment
2019-03-27 18:59:52 +00:00
Tom Hughes
3af16f6337
erblint: fix remaining single quoted strings
2019-03-27 16:15:19 +00:00
Andy Allan
4dd0a74a3b
Whitespace fixes to various erb files
2019-03-26 20:23:35 +00: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