Sha256: bc41c0d42af1914cd558acd1dc1ed54c6c9ec459a85fd8e68a665977d277553c

Contents?: true

Size: 1.96 KB

Versions: 13

Compression:

Stored size: 1.96 KB

Contents

default:
  context:
    lang: 'en'
    visitor: 'ant'
    node: 'status'

link:
  context:
    node: 'opening'
  src: "<r:traductions><r:each join=', '><r:link eval='trans(lang)'/></r:each></r:traductions>"
  res: "<a href='/oo/projects-list/Clean-Water-project/post27.html?lang=en'>english</a>, <a href='/oo/projects-list/Clean-Water-project/post27.html?lang=fr'>french</a>"

link_not_same_node:
  # version link where 'up' node is not the version's node
  context:
    node: 'lion'
    visitor: 'lion'
    lang: fr
  src: "<r:visitor do='redactions'><r:each join=', '><r:link/></r:each></r:visitor>"
  tem: "/<%= zen_path\(var3.node, \{:lang => var3.lang\}\) %>/"
  res: "<a href='/oo/page36.html?lang=en'>Stranger in the night</a>"

anchor:
  context:
    node: 'opening'
  src: "<r:traductions><r:each join=', '><r:anchor do='link' eval='trans(lang)'/></r:each></r:traductions>"
  res: "<a class='anchor' name='version27_2'></a><a href='/oo/projects-list/Clean-Water-project/post27.html?lang=en'>english</a>, <a class='anchor' name='version27_1'></a><a href='/oo/projects-list/Clean-Water-project/post27.html?lang=fr'>french</a>"

node:
  context:
    node: 'opening'
  src: "<r:traductions do='each' join=', '><r:lang/>:<r:eval>node.id</r:eval></r:traductions>"
  res: "en:27, fr:27"

author:
  context:
    node: 'opening'
  src: "<r:traductions do='each' join=', '><r:lang/>:<r:eval>author.name</r:eval></r:traductions>"
  res: "en:Tigris Sumatran, fr:Invicta"

created_at:
  src: "<p do='v.created_at' format='%d %b %y'/>"
  res: "<p>10 Mar 06</p>"

updated_at:
  src: "<p do='show' eval='v.updated_at' format='%d %b %y'/>"
  res: "<p>11 Apr 06</p>"

versions:
  context:
    node: 'opening'
  src: "<r:versions do='each' join=', '>[<r:updated_at format='%Y-%m-%d'/>/<r:author do='title'/>/<r:lang/>] <r:title/></r:versions>"
  res: "[2006-04-16/Panthera Tigris Sumatran/fr] super ouverture, [2006-04-15/Panthera Tigris Sumatran/en] parc opening, [2006-04-11/Solenopsis Invicta/fr] ouverture du parc"

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
zena-1.2.8 test/integration/zafu_compiler/version.yml
zena-1.2.7 test/integration/zafu_compiler/version.yml
zena-1.2.6 test/integration/zafu_compiler/version.yml
zena-1.2.5 test/integration/zafu_compiler/version.yml
zena-1.2.4 test/integration/zafu_compiler/version.yml
zena-1.2.3 test/integration/zafu_compiler/version.yml
zena-1.2.2 test/integration/zafu_compiler/version.yml
zena-1.2.1 test/integration/zafu_compiler/version.yml
zena-1.2.0 test/integration/zafu_compiler/version.yml
zena-1.1.3 test/integration/zafu_compiler/version.yml
zena-1.1.2 test/integration/zafu_compiler/version.yml
zena-1.1.1 test/integration/zafu_compiler/version.yml
zena-1.1.0 test/integration/zafu_compiler/version.yml