Skip to content
Snippets Groups Projects
Commit cb30d1dc authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Templates: Add more possibly fields (commented out)

parent 1fdae3d2
Branches
Tags
No related merge requests found
...@@ -12,6 +12,16 @@ ...@@ -12,6 +12,16 @@
"poet": "The poet", "poet": "The poet",
"poetdate": "from-to", "poetdate": "from-to",
#"arranger": u"<<arranger>>",
#"opus": u"<<opus>>",
#"instrumentation": u"<<instrumentation>>",
#"key": u"<<key>>",
#"language": u"<<language>>",
#"duration": u"<<duration>>",
#"composition_year": u"<<composition_year>>",
#"score_information": u"<<score_information>>",
#"genre": u"<<genre>>",
"year": "2009", "year": "2009",
"publisher": "Edition Kainhofer, Vienna", "publisher": "Edition Kainhofer, Vienna",
"editor": "Reinhold Kainhofer", "editor": "Reinhold Kainhofer",
......
{ {
# "subtitle": u"<< subtitle >>", #"title": u"<< title|replace('\"', "&quot;") >>",
# "subtitle_en": u"<< subtitle_en |default(subtitle) >>", #"title_en": u"<< title_en|default(title)|replace('\"', "&quot;") >>",
#"subtitle": u"<< subtitle|replace('\"', "&quot;") >> >>",
#"subtitle_en": u"<< subtitle_en|default(subtitle)|replace('\"', "&quot;") >>",
"Short_Description_de": u"", "Short_Description_de": u"",
"Short_Description_en": u"", "Short_Description_en": u"",
...@@ -8,23 +10,45 @@ ...@@ -8,23 +10,45 @@
"Description_de": u'''<p></p>''', "Description_de": u'''<p></p>''',
"Description_en": u'''<p></p>''', "Description_en": u'''<p></p>''',
# "instrumentation": u"", #"instrumentation": u"",
"Category": u"", "Category": u"",
#"composer": u"<<composer>>",
#"composerdate": u"<<composerdate>>",
#"title": u"<<title>",
#"subtitle": u"<<subtitle>",
#"opus": u"<<opus>>",
#"arranger": u"<<arranger>>",
#"arrangerdate": u"<<arrangerdate>>",
#"poet": u"<<poet>>",
#"poetdate": u"<<poetdate>>",
#"instrumentation": u"<<instrumentation>>",
#"key": u"<<key>>",
#"editor": u"<<editor>>",
#"publisher": u"<<publisher>>",
#"language": u"<<language>>",
#"duration": u"<<duration>>",
#"composition_year": u"<<composition_year>>",
#"score_information": u"<<score_information>>",
#"genre": u"<<genre>>",
#"published": "Y", #"published": "Y",
#"price": 100.00,
#"currency": "EUR",
"Child_Products": [ "Child_Products": [
# {"sku": "...", "ismn": "...", "type": "Overrides SCORETYPE", "type_en": "English TYPE", "comment": "COMMENT to be displayed", "price": "..."}, # {"sku": "...", "ismn": "...", "type": "Overrides SCORETYPE", "type_en": "English TYPE", "comment": "COMMENT to be displayed", "price": "..."},
<$- for e in webshop_editions $> <$- for e in webshop_editions $>
{"sku": u"<< e.sku >>", "ismn": u"<<e.ismn>>", "comment": u"<<e.comment>>", "price": <<e.price|default(0.00)>>}, # << e.type >> {"sku": u"<< e.sku >>", "ismn": u"<<e.ismn>>", "comment": u"<<e.comment|replace('\"', "&quot;") >>", "price": <<e.price|default(0.00)>>}, # << e.type >>
<$- endfor $> <$- endfor $>
], ],
"Productimages": [ "Productimages": [
# "FILENAME.png", # "FILENAME.png",
], ],
"Downloadfiles": [ "Downloadfiles": [
# {"filename": u"out/INFILENAME.pdf", "outname": u"OUTFILENAME.pdf", "title": u"COMPOSER: WORK, DISPLAYED DOWNLOADTITLE", "desc": u"..."}, # {"filename": u"out/INFILENAME.pdf", "outname": u"OUTFILENAME.pdf", "title": u"COMPOSER: WORK, DISPLAYED DOWNLOADTITLE", "desc": u"..."},
# "out/FILENAME.pdf", # "out/FILENAME.pdf",
] ]
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment