diff --git a/views/default/footer_sponsor_items.load b/views/default/footer_sponsor_items.load index 6e624a7a..4844d8b6 100644 --- a/views/default/footer_sponsor_items.load +++ b/views/default/footer_sponsor_items.load @@ -27,5 +27,5 @@ {{pic_index.add(rng % len(data))}} {{pass}} {{for p in pic_index:}} - + {{pass}} \ No newline at end of file diff --git a/views/default/sponsor_node.html b/views/default/sponsor_node.html index 12d8d1c4..2ce61000 100755 --- a/views/default/sponsor_node.html +++ b/views/default/sponsor_node.html @@ -13,8 +13,10 @@
{{info_text = T('All the species on this page are descended from the part of the tree that you clicked on. We have selected some popular ones to show you, or you can look through %(sp_list)s. If you choose to sponsor one, we will acknowledge your donation to the %(oz_link)s and %(partner_link)s by displaying your chosen sponsor’s name on that leaf of the tree. Donations to OneZoom will help us in our aim to provide easy access to scientific knowledge about biodiversity and evolution, and raise awareness about the variety of life on earth together with the need to conserve it. %(partner_fund_use)s.') if partner else T('All the species on this page are descended from the part of the tree that you clicked on. We have selected some popular ones to show you, or you can look through %(sp_list)s. If you choose to sponsor one, we will acknowledge your donation to the %(oz_link)s by displaying your chosen sponsor’s name on that leaf of the tree. Donations to OneZoom will help us in our aim to provide easy access to scientific knowledge about biodiversity and evolution, and raise awareness about the variety of life on earth together with the need to conserve it.')}} - {{=XML(info_text % dict(sp_list=A(T("an alphabetical list"), _href=URL('list_sponsorable_children', vars=vars)), oz_link=A(T("OneZoom charity"), _href='//www.onezoom.org/static/images/RegistrationCertificate.jpg', _target="_blank"),partner_fund_use=T(partner.get('details')) if partner else "",partner_link=A(partner.get('name'), _href=partner.get('url'), _target="_blank") if partner else ""))}}
+ +{{if 'popup' in request.vars:}}{{=T('All the species on this page are descended from the part of the tree that you clicked on')}}{{elif 'ott' in request.vars:}}{{=XML(T('All the species on this page can be placed on a branch of the tree of life') % URL('life/@=' + str(request.vars['ott']), url_encode=False))}}{{else:}}{{=T('All the species on this page can be placed on a branch of the tree of life')}}{{pass}}. +{{info_text = T('We have selected some popular ones to show you, or you can look through %(sp_list)s. If you choose to sponsor one, we will acknowledge your donation to the %(oz_link)s and %(partner_link)s by displaying your chosen sponsor’s name on that leaf of the tree. Donations to OneZoom will help us in our aim to provide easy access to scientific knowledge about biodiversity and evolution, and raise awareness about the variety of life on earth together with the need to conserve it. %(partner_fund_use)s.') if partner else T('We have selected some popular ones to show you, or you can look through %(sp_list)s. If you choose to sponsor one, we will acknowledge your donation to the %(oz_link)s by displaying your chosen sponsor’s name on that leaf of the tree. Donations to OneZoom will help us in our aim to provide easy access to scientific knowledge about biodiversity and evolution, and raise awareness about the variety of life on earth together with the need to conserve it.')}} +{{=XML(info_text % dict(sp_list=A(T("an alphabetical list"), _href=URL('list_sponsorable_children', vars=vars)), oz_link=A(T("OneZoom charity"), _href='//www.onezoom.org/static/images/RegistrationCertificate.jpg', _target="_blank"),partner_fund_use=T(partner.get('details')) if partner else "",partner_link=A(partner.get('name'), _href=partner.get('url'), _target="_blank") if partner else ""))}}