Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update collective/ptg/highslide/highslide.pt #2

Merged
merged 1 commit into from

2 participants

@eehmke

the python expression to define the title string was over-optimized: when description and copyright were present, the description was ignored.

@eehmke eehmke Update collective/ptg/highslide/highslide.pt
the python expression to define the title string was over-optimized: when description and copyright were present, the description was ignored.
4b8d3c8
@vangheem vangheem merged commit e4273cd into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 14, 2012
  1. @eehmke

    Update collective/ptg/highslide/highslide.pt

    eehmke authored
    the python expression to define the title string was over-optimized: when description and copyright were present, the description was ignored.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  collective/ptg/highslide/highslide.pt
View
2  collective/ptg/highslide/highslide.pt
@@ -6,7 +6,7 @@
tal:define="copyright image/copyright|string:;
desc image/description|string:;
title python: ' – ' + desc if desc else desc;
- title python: ' – ©' + copyright if copyright else title;">
+ title python: title + ' – ©' + copyright if copyright else title;">
<a class="highslide" rel="group" onclick="return hs.expand(this)"
tal:attributes="title string:${image/title}${title}; href image/image_url;">
<img tal:attributes="src image/thumb_url; alt string: ${image/title} ${title}" />
Something went wrong with that request. Please try again.