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
293fb99467
Remove inline javascript from id views
2017-03-01 18:07:22 +00:00
Tom Hughes
1b21b8a209
Remove inline javascript from potlatch2 view
2017-03-01 00:12:42 +00:00
Tom Hughes
8c3d16ecc4
Remove inline javascript from potlatch view
2017-02-28 20:41:22 +00:00
Tom Hughes
56e96d856c
Merge remote-tracking branch 'openstreetmap/pull/1469'
2017-02-28 00:21:23 +00:00
Tom Hughes
d13348c0ea
Remove inline javascript from user views
2017-02-27 22:51:03 +00:00
Herve Saint-Amand
b69e8b5c42
Included greeting string in changeset_comment_notification email
2017-02-27 22:36:09 +00:00
Tom Hughes
57443546f8
Revert "Update iD frame parameters if the parent URL changes"
...
This reverts commit a6fa8cc273
.
2017-02-27 14:31:56 +00:00
Tom Hughes
a6fa8cc273
Update iD frame parameters if the parent URL changes
...
Fixes #1468
2017-02-27 13:23:27 +00:00
Tom Hughes
392b68a65f
Merge remote-tracking branch 'openstreetmap/pull/1436'
2017-02-23 10:06:42 +00:00
Tom Hughes
425f3f309b
Use created at for RSS format with note#show
...
This matches other formats and is also what the tests expect.
2017-02-20 08:50:56 +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
a520f1251c
merging master into html-mail-fixes
2017-02-12 21:05:38 +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
6964c44584
Two more "nowrap" instructions removed to accommodate narrower displays
2017-02-11 21:08:36 +00:00
Herve Saint-Amand
acf933055f
Remove nowrap on footer text, to accommodate narrow screens
2017-02-11 20:51:03 +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
5a6c0eb49e
Even out the widths of the white bars around the message box
2017-02-08 23:00:52 +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
448a68447f
Don't display a box at all if the note event doesn't include a comment body
...
Before this it just displays en empty box, which looks wrong.
2017-02-08 22:22:21 +00:00
Herve Saint-Amand
68a4002366
Removed italic styling on message body
...
Contributor BushmanK pointed out quite rightly that italic isn't appropriate for a full body of text.
2017-02-08 21:34:10 +00:00
Herve Saint-Amand
60e1895da1
Tweak cell width for proper centering on narrow screens
2017-02-08 21:34:10 +00:00
Tom Hughes
c57d2b29fc
Merge remote-tracking branch 'openstreetmap/pull/1401'
2017-02-05 13:50:07 +00:00
Tom Hughes
c8671c137a
Update rubocop
2017-02-05 11:12:37 +00:00
Herve Saint-Amand
223a12caf8
That new message in the HTML version of the mail should also be added to the plain text version of the mail
...
Duh.
2017-01-28 23:29:44 +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
f83b719f03
Set border=0 on that img
...
IE9 shows a big nasty blue border on linked images if you don't specify border=0
2017-01-27 23:20:11 +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
25d80789dd
Put the user avatar in a <p> block
...
This improves rendering on those clients that set the margin to 0 on <p> blocks.
2017-01-23 22:26:34 +00:00
Herve Saint-Amand
1285c9f14b
Convert those <nobr> tags to CSS
2017-01-16 22:53:04 +00:00
Herve Saint-Amand
e3e5ad4c5f
Refactored the code to invoke the message body partial layout, as suggested in the PR
2017-01-16 22:50:01 +00:00
Herve Saint-Amand
1e19e80d0e
Renamed @user_message_author to @author as suggested
2017-01-16 21:13:52 +00:00
Herve Saint-Amand
a0627ec0c6
Revert "Added a greeting to the changeset comment message"
...
This reverts commit 39c3fa427e
.
2017-01-14 21:48:46 +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
Herve Saint-Amand
7ef57b2fe8
Dressed up note comment messages
2017-01-12 23:02:57 +00:00
Herve Saint-Amand
235e77fc26
Dressed up lost password mail
2017-01-12 22:30:31 +00:00
Herve Saint-Amand
6d1c10afbc
Dressed up gpx notification mails
2017-01-12 22:28:09 +00:00
Herve Saint-Amand
22f7c1f721
Dressed up friend_notification mail
2017-01-12 22:11:23 +00:00