Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Alex Gibson 7423999786 [Fix bug 913435] Formatting tweaks for Email newsletter recovery page 2013-09-17 13:20:47 +01:00
Dan Poirier e58e7bfdaa Bug 901541 - newsletter recovery page
* When someone goes to the /existing page with an invalid token or no
  token, redirect them to a recovery page
* On the recovery page, they can enter their email address and we'll
  send them a message containing a valid link to manage their subscriptions.
* If the email is not known, we tell them to check for typos or go sign up.
2013-08-27 13:56:54 -04:00
Steven Garrity b96d40426e Merge pull request #1089 from dpoirier/bug-893165-neutralize-span
Bug 893165: Turn off specialness of newsletter span
2013-07-18 10:47:59 -07:00
Dan Poirier fb26a22df8 Bug 893165: Turn off specialness of newsletter span
In the headline on the /newsletter page, turn off the special styling
of the span tag. We'd rather just remove the span tag from the text,
but that would invalidate all the existing translations.
2013-07-18 13:40:39 -04:00
Steven Garrity 396952d480 Add back CSS for /newsletter/updated (Bug 894593)
The styles in question appear to have been removed accidentally in commit
7b65a3c9b4
2013-07-17 11:40:07 -03:00
Dan Poirier bdeb59f736 Bug 893165 - /id/newsletter formatting
The issue was that in the header 'Read all about it in our
<span>newsletter</span>', the <span> and </span> each were causing a
line break. In languages like Indonesian where the word order was
changed, e.g.:

    Baca selengkapnya di <span>nawala</span> kami

this was breaking the header up into three short lines.

It turned out that header spans were being styled in newsletter.less
as "display: block". Getting rid of that solves the problem.
2013-07-17 09:03:18 -04:00
Dan Poirier 7ec8b7aba2 Bug 893144 - /newsletter/existing/ styling
The styling sheet on /newsletter/existing ws messed up - the
descriptions were all bolded and the newsletter titles were small.

Reverted styling of the TH part of the table to what it was in an
earlier version of newsletter.less. No way to tell what happened
to it due to rebasing on the original branch.
2013-07-16 08:18:27 -04:00
Dan Poirier 7b65a3c9b4 Bug 860460: Port /newsletter page to bedrock 2013-07-11 11:22:38 -04:00
Dan Poirier b0f79bbdc0 Port newsletter preferences to Bedrock
- Create newsletter app and move hacks.mozilla.org.html there
- Set up to display Django messages to the user.
- Make displaying most of the information on the page conditional on having a formset, so we can still use the same template when some error occurs in processing.
- Handle errors by displaying translated messages to the user. Also use Playdoh logging to log errors and debug information.
- If no token given, or token is invalid, let user supply an email
address and sign up for newsletters.
2013-06-04 07:54:07 -04:00