Anton Khorev
5befc0658a
Wrap message action buttons in divs
...
Avoid redefining table cell display css property using d-flex. Now d-flex is on wrapper divs.
2024-04-15 03:14:00 +03:00
Anton Khorev
0fb635e8bc
Replace border-grey css class with border-secondary-subtle
...
No noticeable difference (#cccccc vs #cfcfcf) and no problems with dark mode.
2024-04-06 17:11:38 +03:00
Gregory Igelmund
045209fade
Nest data-turbo="true" attributes in partials
2024-03-21 14:55:16 +01:00
Gregory Igelmund
6c4968eafd
Remove now-obsolete partials in app/views/messages/*
2024-03-21 14:55:16 +01:00
Gregory Igelmund
1a7b7f5d18
Enable Turbo Drive with morphing for Messages#{destroy,mark}
2024-03-21 14:55:16 +01:00
Anton Khorev
1df250e3e4
Rename message local in message table partials
2024-03-20 19:43:32 +03:00
Anton Khorev
332fad14bb
Simplify link_to calls on message pages
2024-03-20 04:48:02 +03:00
Anton Khorev
2f40eff2c2
Change "people mapping nearby" empty inbox/outbox link to dashboard
2024-03-18 00:16:36 +03:00
Anton Khorev
d1763dd526
Fix messages heading update when message is deleted
2023-12-26 04:46:35 +03:00
Gregory Igelmund
efc61f1315
Add basic structures for UserMute and Message muting logic
...
Including models, migration, controllers, views & locales.
2023-12-19 12:57:47 -05:00
Gregory Igelmund
3e69a4512f
Refactor app/views/messages templates
2023-12-19 12:57:47 -05:00
Anton Khorev
8645ec503d
Center messages table cells vertically
2023-08-11 20:58:46 +03:00
Anton Khorev
8f946f1360
Use flex for buttons cell in messages table
2023-08-11 20:51:51 +03:00
Anton Khorev
94d8638b00
Remove unused inbox css classes
2023-08-11 20:37:53 +03:00
Anton Khorev
c751967d0e
Change mark message buttons visibility with hidden attr
2023-08-11 20:35:36 +03:00
Anton Khorev
d0cfde2996
Use Bootstrap nowrap class in messages table
2023-08-11 18:54:39 +03:00
Anton Khorev
e290df896e
Put message read/unread/delete buttons in one column
2023-08-11 18:46:51 +03:00
Anton Khorev
f4da0d34a0
Remove message header custom css
2023-08-10 20:47:41 +03:00
Anton Khorev
de8a60a3e3
Check recipient condition separately for message header/footer
2023-08-10 20:38:49 +03:00
Anton Khorev
2d677df6e2
Remove message date float
2023-08-10 20:23:13 +03:00
Andy Allan
75749cc540
Convert remaining heading titles to use h1
...
This makes them consistent with all the other pages that use h1
in the `content_for :heading` sections
2021-11-11 15:12:23 +00:00
Tom Hughes
e842c7be97
Add missing autocomplete attributes
2021-07-27 19:36:47 +01:00
Andy Allan
0ab9359f9f
Ensure message destroy button has danger colour when showing the message, and add button to show page when viewing sent messages
2021-07-14 18:54:23 +01:00
Andy Allan
e073f93bbd
Ensure the message title shows in the heading for both sent and received messages
...
I'm not sure why they were ever different.
2021-07-14 18:40:02 +01:00
Andy Allan
d89c4f887c
Add a title in the heading to match the main menu text
2021-07-14 18:36:52 +01:00
Andy Allan
a8b4325be9
Convert mailbox navigation to use tabs
2021-07-14 18:34:39 +01:00
Michal Migurski
f5f84027fa
Chasing parse errors
2021-03-13 10:49:52 -08:00
Michal Migurski
68896d5b2f
Switched to hash rockets syntax per erblint feedback
2021-03-13 10:49:52 -08:00
Michal Migurski
d28ab8d3f2
Replaced H2 messages header links with Bootstrap nav links
...
Following suggestion from https://github.com/openstreetmap/openstreetmap-website/issues/2962#issuecomment-768985393
2021-03-13 10:49:52 -08:00
Andy Allan
e6dcf94577
Use small bootstrap buttons for message inbox and outbox actions
2021-02-03 13:44:52 +00:00
Andy Allan
601d28d4b4
Convert to use bootstrap form
2021-01-20 11:11:52 +00:00
Tobias Jordans
b470e01f84
Break long URLs where richtext is used.
...
For example on the blog post show page.
This uses https://getbootstrap.com/docs/4.4/utilities/text/#word-break to break long URLs on the blog post show view.
2020-12-27 22:11:36 +01:00
Tom Hughes
c24c2e481c
Merge remote-tracking branch 'upstream/pull/2667'
2020-08-05 21:50:08 +01:00
Andy Allan
8cd83426cc
Make the back button not look disabled
...
This switches the message buttons to use bootstrap, so that we can have a back button that looks clickable.
Alternative implementation of #2386
2020-07-04 11:20:46 +02:00
Andy Allan
627f2493fa
Refactor away from global form control styling
...
This enables forms to be converted one-by-one to bootstrap. Without this
refactoring, these global styles interfere with form control styling from
bootstrap.
The rearrangement of the search and directions styling is to solve CSS selector specitivity issues.
2020-07-01 17:23:02 +02:00
Andy Allan
055a976051
Remove custom table styling
...
This removes the custom table styling code, and move to using bootstrap table styling for almost all remaining tables.
2020-04-01 12:29:01 +02: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
f885cfe0f5
Rename form-row to standard-form-row to avoid clashing with a bootstrap class
2020-01-15 17:16:11 +01:00
Andy Allan
bff3676d93
Avoid double-escaping display names when sent through the translation system
...
They are escaped properly without the h() call, and doing that just double-escapes them
2020-01-08 19:07:18 +01:00
Andy Allan
dfedf85b6c
Use _html suffix to avoid using raw when displaying translated strings
...
This is safer than raw, since any user input is still escaped.
2019-12-20 10:29:07 +01:00
Andy Allan
35370684e5
Make the back button link to the inbox when reading received messages
2019-12-04 16:42:57 +01:00
Tom Hughes
b5d4c262dd
Switch to using jbuilder for JSON templates
2019-11-20 18:54:04 +00:00
Andy Allan
52782121a6
Use built-in form sumbit translation keys for messages
2019-06-12 16:11:54 +02:00
Tom Hughes
ecd81eadbe
erblint: use parentheses for nested function calls
2019-03-27 18:55:48 +00:00
Tom Hughes
70f571fbcf
erblint: avoid negated if conditions
2019-03-27 18:49:01 +00:00
Tom Hughes
7cd7354673
erblint: prefer symbolic logical operators over and/or/not
2019-03-27 18:47:51 +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
c703a3d1a7
Whitespace fixes for messages erb files
2019-03-26 20:23:35 +00:00
Andy Allan
dfe21fec82
Use resourceful routing for message replies
2018-09-05 13:22:43 +08:00