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

Ricky Zhou ricky at fedoraproject.org
Fri Oct 23 15:56:26 UTC 2009


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, <a href="https://fedoraproject.org/%s/%s/verify">verify</a> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-websites-list/attachments/20091023/09c2187c/attachment.sig>


More information about the Fedora-websites-list mailing list