Commit graph

61 commits

Author SHA1 Message Date
Anton Khorev
1c88a0b136 Don't use ?: in "Comment from user" changeset discussion strings 2024-09-19 15:59:03 +03:00
Anton Khorev
54c0361744 Always show changeset element page links below headings 2024-09-14 17:15:11 +03:00
Nenad Vujicic
02b4aea509 Pulled out ?: operator from tr in changesets/index
Pulled out ?: operator from tr in changesets/index.html.erb, so, changesets.index.{empty, empty_area, empty_user, no_more, no_more_area, no_more_user} translation keys are not more reported as unused.
2024-09-11 13:23:19 +02:00
Tom Hughes
5f2a5cadcb Merge remote-tracking branch 'upstream/pull/4565' 2024-08-28 18:59:09 +01:00
Andy Allan
d57dd1f4da
Merge pull request #4813 from AntonKhorev/no-fst-italic
Use font size instead of italic for changeset/trace descriptions
2024-06-19 15:34:14 +01:00
Anton Khorev
0cd90e76db Move changeset subscribe/unsubscribe locale strings out of javascripts 2024-06-04 16:34:03 +03:00
Anton Khorev
289c22daa7 Write changeset subscribe/unsubscribe buttons using tag.button 2024-06-04 16:28:26 +03:00
Anton Khorev
0d0a9fc004 Move comment changeset locale string out of javascripts 2024-06-04 16:17:20 +03:00
Anton Khorev
0838549598 Write changeset comment button using tag.button 2024-06-04 16:15:18 +03:00
Anton Khorev
9db1b47c15 Move show/hide changeset comment locale strings out of javascripts 2024-06-04 16:07:25 +03:00
Anton Khorev
919021e41e Remove .btn-sm from changeset comment button 2024-06-03 18:17:22 +03:00
Anton Khorev
5add2d7e1d Reload only changeset element subpages 2024-06-03 14:16:09 +03:00
Anton Khorev
fee3a08368 Refactor common changeset element subpages code 2024-06-03 14:07:23 +03:00
Anton Khorev
b072c2935f Add titles to changeset element page links 2024-06-03 14:07:23 +03:00
Tom Hughes
161fc8ac47 Replace deprecated text-muted class with text-body-secondary 2024-05-22 11:58:32 +01:00
Anton Khorev
98ff2c0b9c Truncate descriptions horizontally in changeset lists
Can't have horizontal scroll because it interferes with stretched links.
2024-05-18 19:41:07 +03:00
Anton Khorev
81732d6b0f Let descriptions be horizontally scrollable on changeset/element pages 2024-05-18 19:41:07 +03:00
Anton Khorev
fd3c7b23c5 Use font size instead of italic for changeset/trace descriptions 2024-05-18 18:30:59 +03:00
Anton Khorev
dfa04e8837 Use Bootstrap actionable items in changeset lists 2024-04-25 02:35:57 +03:00
Anton Khorev
701f24bba1 Use "emphasis" link color in changeset lists instead of dark text 2024-04-15 04:45:54 +03:00
Anton Khorev
b8f5a495f2 Simplify remaining link_to ... user_path in views 2024-03-21 18:07:56 +03:00
Anton Khorev
0dae690c06 Simplify changeset/element-related link_to calls 2024-03-16 18:36:33 +03:00
Anton Khorev
21801bb2bb Fix whitespace in changeset element lists 2024-03-12 15:39:12 +03:00
Anton Khorev
88669ef809 Move changeset created/closed popup/feed strings to changesets locale 2024-03-01 10:48:30 +03:00
Anton Khorev
befa654edf Move all browse.changeset strings to changesets locale 2024-03-01 10:48:30 +03:00
Anton Khorev
c1b5ae0aa0 Move changeset show action to changesets controller 2024-03-01 10:48:30 +03:00
Tom Hughes
f0764d3eca Add unsubscribe link to changeset notification mails 2024-02-25 09:48:11 +00:00
Anton Khorev
9cdb8f208e Move changeset feed locale strings from browse section to changesets 2024-02-20 18:08:52 +03:00
Anton Khorev
8e3674b1c5 Remove html type from changeset feed entry titles 2024-02-16 18:29:40 +03:00
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