Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 12, 2007
  1. test updates

    authored
Commits on Sep 7, 2007
  1. fixed gettext tests

    authored
  2. removed old sgeunit tests

    authored
Commits on Sep 6, 2007
  1. removed old sgte tests

    authored
  2. removed old sgeunit tests

    authored
Commits on Sep 4, 2007
  1. add nested records to apply

    authored
  2. renamed rec_to_kv -> rec_to_name_kv

    authored
    to return a record like {name, [{k1, v1}, {k2, v2}, ...]}
    
    and add rec_to_kv returning: [{k1, v1}, {k2, v2}, ....]
Commits on Sep 3, 2007
  1. add test for record access

    authored
  2. fixed typo in function name

    authored
  3. Changes:

    authored
    - add support for nested attribute reference.
    e.g. $k1.k2.k3$ to access {k1, [{k2, [{k3, "a string"}]}]}
    - add record_to_kv: convert record tuples to a tuple:
    {ren_name, [{field1, val1}, {field2, val2}]
    passing record converted in this way to render allows to write
    $rec_name.field1$ to access val1
Commits on Aug 16, 2007
  1. chage in version number

    authored
  2. merged release branch 0.5

    authored
  3. Added sgte_gettext to generate gettext .po files.

    authored
    The module is called through 
    sgte:gettext_init/1
    sgte:gettext_init/2
    sgte:gettext_init/3
Commits on Jun 18, 2007
  1. adding .pub file for CEAN

    authored
Commits on May 24, 2007
  1. prepare for a new release

    authored
Commits on May 23, 2007
  1. updated sinan repository

    authored
Commits on May 19, 2007
  1. - Adding support for the quiet option to join

    authored
    - Fixed a bug in sgte:render(C, Data, Options) when Data is a dict
  2. Change to allow only a-zA-Z_ as starting characters for attributes.

    authored
    This avoids having to escape every '$' when using prototype or jquery libraries.
Commits on May 15, 2007
  1. changed if test:

    authored
    $if <Attr>$ evaluates to false if <Attr> is the atom false
    else evaluates to true
Commits on May 11, 2007
  1. doc. update

    authored
Commits on May 9, 2007
  1. doc update

    authored
Commits on May 8, 2007
  1. some updates to the doc

    authored
  2. fixed module header

    authored
Commits on May 7, 2007
  1. Added render/3:

    authored
    sgte:render(Compiled, Data, Options)
    
    Options:
    - gettext_lc has been moved from Data to Options
    - attributes and other elements are rendered as empty strings ("") 
      when not found in Data unless the strict option is used. 
      In this case an error is rendered for each missing attribute
    
    TODO: the strict at the moment works only for attributes, includes, if tests and missing gettext_lc
Something went wrong with that request. Please try again.