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

Templates: Cleanup the fields

parent bc4b2c60
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
subtitle = "<< subtitle >>" subtitle = "<< subtitle >>"
titlepagesubtitle = "<< subtitle >>" titlepagesubtitle = "<< subtitle >>"
composer = "<< composer >><$ if composerdate $> (<< composerdate >>)<$ endif $>" composer = "<< composer >><$ if composerdate $> (<< composerdate >>)<$ endif $>"
shortcomposer = "<<composer>>"
<$- if arranger $> <$- if arranger $>
arranger = "<< arranger >><$ if arrangerdate $> (<<arrangerdate >>)<$ endif $>"<$ endif $> arranger = "<< arranger >><$ if arrangerdate $> (<<arrangerdate >>)<$ endif $>"<$ endif $>
copyright = \markup \abs-fontsize #9 \column{ copyright = \markup \abs-fontsize #9 \column{
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
<$- else $><< publisher >>, <$ endif $> \concat{\fromproperty #'header:scorenumber .} Alle Rechte vorbehalten / All rights reserved / Printed in Austria. } <$- else $><< publisher >>, <$ endif $> \concat{\fromproperty #'header:scorenumber .} Alle Rechte vorbehalten / All rights reserved / Printed in Austria. }
% \line {"Die Ausgabe darf kopiert und ohne Einschränkungen aufgeführt werden. / May be copied and performed without restriction."} % \line {"Die Ausgabe darf kopiert und ohne Einschränkungen aufgeführt werden. / May be copied and performed without restriction."}
} }
% ismn = "..."
} }
%% Possibly adjust the \orchestralScoreStructure here... %% Possibly adjust the \orchestralScoreStructure here...
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<$ if publisherurl -$> <$ if publisherurl -$>
\publisherurl{<< publisherurl >>} \publisherurl{<< publisherurl >>}
<$ endif -$> <$ endif -$>
\publisher{<$ if publisherurl $>\href{<< publisherurl >>}{<< publisher >>, << publisherurl >>}<$ else $><< publisher >><$ endif $>} \publisher{<< publisher >>}
<$ if shortpublisher -$> <$ if shortpublisher -$>
\shortpublisher{<$ if publisherurl $>\href{<< publisherurl >>}{<< shortpublisher >>}<$ else $><< shortpublisher >><$ endif $>} \shortpublisher{<$ if publisherurl $>\href{<< publisherurl >>}{<< shortpublisher >>}<$ else $><< shortpublisher >><$ endif $>}
<$ else -$> <$ else -$>
......
{ {
"title": u"<<shortcomposer|default(composer)>>: << title >>, << subtitle >>", # "subtitle": u"<< subtitle >>",
# "subtitle_en": u"<< subtitle_en |default(subtitle) >>",
"Short_Description_en": u"",
"Short_Description_de": u"", "Short_Description_de": u"",
"Short_Description_en": u"",
"Description_de": u'''<p></p>''', "Description_de": u'''<p></p>''',
"Description_en": u'''<p></p>''', "Description_en": u'''<p></p>''',
# "instrumentation": u"",
"Category": u"", "Category": u"",
"Child_Products": { #"published": "Y",
"Child_Products": [
# {"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 $>
"<< e.sku >>": {"ismn": "<<e.ismn>>", "comment": "<<e.comment>>", "price": <<e.price|default(0.00)>>}, # << e.type >> {"sku": u"<< e.sku >>", "ismn": u"<<e.ismn>>", "comment": u"<<e.comment>>", "price": <<e.price|default(0.00)>>}, # << e.type >>
<$- endfor $> <$- endfor $>
}, ],
"Productimages": [ "Productimages": [
# "FILENAME.png",
], ],
"Downloadfiles": [
# {"filename": u"out/INFILENAME.pdf", "outname": u"OUTFILENAME.pdf", "title": u"COMPOSER: WORK, DISPLAYED DOWNLOADTITLE", "desc": u"..."},
# "out/FILENAME.pdf",
]
} }
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
\ifx\@shortpublisher\@empty\@publisher\else\@shortpublisher\fi\ifx\@scorenumber\@empty% \ifx\@shortpublisher\@empty\@publisher\else\@shortpublisher\fi\ifx\@scorenumber\@empty%
\else, \@scorenumber\fi \else, \@scorenumber\fi
} }
% \vfill\null \vfill\null
\end{center} \end{center}
\thispagestyle{empty} %\null \thispagestyle{empty} %\null
\end{titlepage}% \end{titlepage}%
...@@ -264,6 +264,7 @@ ...@@ -264,6 +264,7 @@
\pagebreak \pagebreak
\thispagestyle{empty}\null \thispagestyle{empty}\null
\pagebreak \pagebreak
\vfill\vfill\vfill\vfill\vfill\vfill
\backpage \backpage
} }
...@@ -273,7 +274,6 @@ ...@@ -273,7 +274,6 @@
\null \null
\ifx\@ismn\@empty% \ifx\@ismn\@empty%
\else \else
\vfill\vfill\vfill\vfill\vfill\vfill
\begin{center} \begin{center}
\begin{minipage}[c]{4.4cm} \begin{minipage}[c]{4.4cm}
\centering \centering
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment