fix(coppa): make learn more link target _blank only on sync

Probably, wasn't sure if it would parse inside a tag, my sublime mustache
syntax thingy didn't like that.

On Friday, October 24, 2014, Nick Chapman <notifications@github.com> wrote:

> In app/scripts/templates/cannot_create_account.mustache:
>
> > @@ -8,8 +8,17 @@
> >        <strong>{{#t}}You must meet certain age requirements to create a Firefox&nbsp;Account.{{/t}}</strong>
> >      </p>
> >
> > -    <p class="links">
> > -      <a href="http://www.ftc.gov/news-events/media-resources/protecting-consumer-privacy/kids-privacy-coppa" target="_blank">{{#t}}Learn more.{{/t}}</a>
> > -    </p>
> > +    {{#isSync}}
> > +      <p class="links">
> > +        <a href="http://www.ftc.gov/news-events/media-resources/protecting-consumer-privacy/kids-privacy-coppa" target="_blank">{{#t}}Learn more.{{/t}}</a>
>
> Rather than duplicating this whole block it would probably be simpler to
> just wrap the target attribute:
>
> {{#isSync}}target="_blank"{{/isSync}}
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mozilla/fxa-content-server/pull/1798/files#r19364712>.
>


-- 
John Gruen
web: johngruenprojects.com
general: john.gruen@gmail.com
work: jgruen@mozilla.com
phone: 401.743.8544