Commit graph

17 commits

Author SHA1 Message Date
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
Andy Allan
e6dcf94577 Use small bootstrap buttons for message inbox and outbox actions 2021-02-03 13:44:52 +00: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
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
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
db30ea642e Use a resourceful path for message marking 2018-09-05 11:23:53 +08:00
Andy Allan
5405dde6ec Use resourceful destroy method for messages 2018-09-05 10:38:36 +08:00
Andy Allan
4ec70f7994 Rename messages#read to #show
Also rename the named path, to align with resourceful routing
2018-05-15 18:25:54 +08:00
Andy Allan
73df8447e3 Rename messages#delete to destroy
This is a better fit for rails controller method conventions, paving
the way to resourceful routing. Keep user-facing strings as 'delete'
since that's more commonly used.
2018-05-15 18:15:01 +08:00
Andy Allan
00bd64c7fb Rename message_controller to messages_controller 2018-05-09 16:38:37 +08:00
Renamed from app/views/message/_message_summary.html.erb (Browse further)