version 1.3, 2006/04/06 07:50:28
|
version 1.4, 2007/08/14 18:28:17
|
Line 1
|
Line 1
|
<tal:x tal:content="structure python: 'Link: <a href=' + here.link + '>' + here.linkText + '</a>'"/> |
|
|
|
|
<tal:block tal:condition="here/link"> |
|
<tal:block tal:condition="python: here.link[0:7] == 'http://'" |
|
tal:define="global type python:'Internal '"> |
|
<tal:block tal:define="global type python:'External '" /> |
|
</tal:block> |
|
<a tal:condition="here/linkText" |
|
tal:content="structure python: |
|
type + 'Link: <a href=' + here.link + '>' + here.linkText + '</a>'"/> |
|
<a tal:condition="not: here/linkText" |
|
tal:content="structure python: |
|
type + 'Link: <a href=' + here.link + '>' + here.link + '</a>'"/> |
|
</tal:block> |
|
|