Re: [PATCH] Include a link to /verify for pre-releases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2009-10-23 11:52:15 AM, Todd Zullinger wrote:
> Till Maas wrote:
> > Imho the link should go to the https version of the page to make it
> > more likely that people use the https link, e.g. when they bookmark
> > the page for later use.
> 
> This is true.  It's a change that would need to be made to the
> get-fedora and verify pages as well, since both use similar code in
> the templates that don't enforce https.  I think I might have done
> this origianlly (I had the /verify patch laying around since the last
> release), but it may have caused issues with templating and/or
> translating?
> 
> Anyone that knows more about the templating and translating would be
> awesome if they could chime in with some advice on how to do this
> properly.
I guess an absolute URL can't be avoided if we want https, so something 
like this might work:

<p class="note">${Markup(_('After downloading an ISO, &lt;a href="https://fedoraproject.org/%s/%s/verify"&gt;verify&lt;/a&gt; it.') % (path, lang))}</p>

At some point, we can probably wrap making links like this in a function
letting you choose between https/http and absolute vs. relative.

Thanks,
Ricky

Attachment: pgp15y0n4rjV5.pgp
Description: PGP signature

-- 
Fedora-websites-list mailing list
Fedora-websites-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-websites-list

[Index of Archives]     [Fedora Users]     [Linux ARM]     [ARM Kernel]     [Older Fedora Users]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux