Andy Allan
4dd4831c0a
Just pass the user object, rather than the display_name, to the user_path helper
2018-09-10 10:54:29 +08:00
Andy Allan
19c26e70a3
Rename user#view to user#show
2018-09-05 14:21:01 +08:00
Tom Hughes
ed82d0a756
Only fetch client side translations for the current locale
2018-08-16 12:22:36 +01:00
Tom Hughes
5fa0aebe9f
Use dynamic error pages built through the asset pipeline
...
Fixes #1241
2018-08-01 19:13:04 +01:00
Tom Hughes
28b48cf583
Add issues link to "More" menu for intermediate sized screens
...
Fixes #1928
2018-07-18 18:59:52 +01:00
Tom Hughes
98de681e47
Update to rails 5.2.0
2018-06-19 00:16:24 +01:00
Tom Hughes
1392e63272
Show count of open issues in the header
2018-06-16 12:40:15 +01:00
Tom Hughes
27679356af
Default to only showing open issues
2018-06-10 19:11:25 +01:00
Tom Hughes
d3700e6201
Merge branch 'master' into next
2018-06-10 17:02:12 +01:00
Andy Allan
9b36021ec5
Refactor inbox and outbox paths to avoid display names in urls.
2018-06-06 11:33:33 +08:00
Andy Allan
e1c62f1bf2
Remove if_user and similar methods
...
Rather than hiding features based on CSS, just avoid including them
in the output. Fixes #1862
2018-05-16 13:05:20 +08:00
Andy Allan
424b6ef1cf
Merge branch 'master' into moderation
2018-02-28 15:46:25 +08:00
Tom Hughes
9d2f920feb
Merge remote-tracking branch 'upstream/pull/1693'
2018-02-03 16:12:51 +00:00
Andy Allan
ae44879213
Merge branch 'master' into moderation
2018-01-21 11:20:19 +00:00
Tom Hughes
be86e4824f
Convert various URLs to https
2018-01-08 20:18:21 +00:00
J Guthrie
7a933cf928
Added 'Reverse Directions' link
...
Added a text link that reverses the directions of the planned route
2017-12-17 01:09:09 +00:00
Andy Allan
effb1b7f41
Merge branch 'master' into moderation
2017-11-29 12:18:39 +00:00
Andy Allan
1b181d4c1d
Put specific page titles at the start
...
The makes the shortened titles commonly shown on browser tabs more
useful.
2017-11-22 14:57:26 +00:00
Tom Hughes
0b0ff1bcc5
Remove reference to large screen stylesheet
...
The separate large screen stylesheet was removed in 4dceacdeb
but
we are still referencing it on Internet Explorer.
2017-10-09 13:47:48 +01:00
Tom Hughes
6e0ca57e2f
Fix typo that means fe0f4543c1
has never worked
2017-10-09 08:39:14 +01:00
Andy Allan
659270dafe
The link is to the list of issues, not of reports, and there's no need for it to be bold.
2017-09-13 16:02:15 +01:00
Andy Allan
3e4255eb2c
Use current_user instead of @user.
2017-08-02 12:21:51 +01:00
Andy Allan
e31376e28d
Merge branch 'master' into moderation
2017-08-02 12:12:57 +01:00
Andy Allan
c819bec8b7
Use a current_user helper for accessing the logged in user in all views.
2017-07-27 10:07:51 +01:00
Andy Allan
dbd88d893f
Merge branch 'master' into moderation
2017-07-12 10:16:11 +01:00
Tom Hughes
5d740d8733
Don't disable search submission buttons on form submission
2017-06-30 10:01:22 +01:00
Tom Hughes
3893fd72a9
Fix some tests for changes in rails 5
2017-06-27 08:26:44 +01:00
Tom Hughes
4ef7b2c651
Remove duplicate size specification for user image
...
Either the size or the width and height can be passed but passing
both doesn't make any sense and in rails 5.0 will error.
2017-06-02 20:27:07 +01:00
Matt Amos
c7391595d8
Credit the whole of UCL, rather than just the Bartlett / VR centre.
2017-04-22 11:47:12 +01:00
Tom Hughes
1b9ea430d1
Make the publisher URL configurable, with no default
2017-03-22 18:42:58 +00:00
Tom Hughes
24271b75bd
Use canonical-rails gem to generate canonical URLs
2017-03-22 18:16:53 +00:00
Tom Hughes
419edf951d
Add a canonical URL to the head
2017-03-22 17:14:55 +00:00
Tom Hughes
5cdb835de3
Show offline/readonly messages as normal flash messages
2017-03-10 16:30:04 +00:00
Tom Hughes
dff0eef787
Remove inline styles
2017-03-05 19:51:01 +00:00
Tom Hughes
d7b4f88d5e
Remove inline javascript from page header
2017-03-01 21:19:32 +00:00
Tom Hughes
392b68a65f
Merge remote-tracking branch 'openstreetmap/pull/1436'
2017-02-23 10:06:42 +00:00
Matt Amos
469f64384d
Implement the OWG credit policy for hosting partners.
...
See https://operations.osmfoundation.org/policies/hosting/
2017-02-17 11:52:04 +00:00
Herve Saint-Amand
fcba1a9857
A better way to contrain the width of the message box whilst also allowing it to shrink on narrow displays
...
Setting a hard "width" it very compatible, but won't squeeze on narrow screens. Setting max-width works well, except in Outlook and Hotmail. We resort to old skool table tricks: a table with width=100%, with 3 columns, only oneof which, the middle one, had content, and a fixed with. This works.
2017-02-12 12:04:43 +00:00
Herve Saint-Amand
44d4a521a3
Set font on title
2017-02-11 20:50:28 +00:00
Herve Saint-Amand
82a6bb0d5a
Make the mails squeezable on narrow screens
2017-02-09 21:39:49 +00:00
Herve Saint-Amand
852cc97707
Fixed alignment & underlining bugs in Outlook / WinMail
2017-02-09 20:38:02 +00:00
Herve Saint-Amand
f2645dd699
Avoid squished-up grey borders around the message on narrow screens
2017-02-08 23:23:46 +00:00
Herve Saint-Amand
68b1d33917
Better alt text for the logo
...
This is what clients that block images will display, so shorter is better.
2017-02-08 22:37:00 +00:00
Herve Saint-Amand
cca78f9790
Use the same fonts for the footer text as for the rest of the mail
2017-02-08 22:36:21 +00:00
Herve Saint-Amand
07531e8477
Fix title alignment in Outlook/WindowsMail
2017-02-08 22:35:42 +00:00
Herve Saint-Amand
a371aad9ac
Renamed apply_inline_css
to style_message
as suggested
2017-01-28 23:08:25 +00:00
Herve Saint-Amand
1def88b5d2
Left-align logo
2017-01-25 23:01:37 +00:00
Herve Saint-Amand
cf11913d58
Apply inline styling to all <p> tags
...
Solved the problem of <p> tags being given different padding or color by different clients, without having to copy-paste a string of CSS into every <p> tag in the templates.
2017-01-25 22:50:52 +00:00
Herve Saint-Amand
433b7c5dfa
Remove that ugly style="margin: 0"
...
It's really only needed for rendering in Yahoo. Let's try to do without having to copy-paste that into every html template.
2017-01-13 22:58:57 +00:00
Herve Saint-Amand
c94213847b
Simplified the partial layout
...
Rather than wrap the body in a :body block, just make it the default, unnamed block, which keeps the markup more lightweight.
2017-01-13 22:43:23 +00:00