Andy Allan
52c688f55a
Prefer string interpolation to concatenation
2020-10-28 17:15:14 +01:00
Andy Allan
2559226be3
Avoid various uses of html_safe
...
We can avoid using `html_safe` in various circumstances, through alternative approaches like i18n keys ending in `_html` or using `safe_join` to avoid converting via unsafe string types.
The `_html` keys approach only work for ActionView helper version of `t`, not the base `I18n.t` method.
2020-10-21 15:43:14 +02:00
Andy Allan
cd5e28406b
Use friendy_date_ago helper for notes
...
Refs #2255
2019-06-19 18:04:08 +02:00
Andy Allan
b4dbf6233c
Move the notes api methods into a controller in the api namespace
2019-02-28 17:12:28 +01:00
Andy Allan
3ec67ea2d3
Rename user_controller to users_controller
2018-10-03 15:31:10 +02:00
Andy Allan
19c26e70a3
Rename user#view to user#show
2018-09-05 14:21:01 +08:00
Tom Hughes
72e71b9972
Fix rubocop warnings
2016-06-09 22:18:28 +01:00
Aditya Prakash
80c46f54d4
Create new translation string for deleted user
2016-02-15 22:37:54 +05:30
Aditya Prakash
341f6cd9fe
Do not hyperlink profiles of deleted users
2016-02-15 20:47:53 +05:30
Tom Hughes
2af0840ff3
Fix style issues found by new rubocop version
2015-04-14 09:38:24 +01:00
Tom Hughes
ef7f3d800c
Fix most auto-correctable rubocop issues
2015-02-20 08:56:16 +00:00
Aaron Lidman
b56fb25068
Restructured notes page
2013-11-11 09:35:58 -08:00
Tom Hughes
9d3b419aad
Improve styling of the per-user notes list view
2013-02-02 14:29:45 +00:00
Tom Hughes
2ef58f47a2
Improve display of anonymous note comments
2013-02-02 13:04:27 +00:00