From: Christoph Egger Date: Sat, 15 Nov 2014 22:10:32 +0000 (+0100) Subject: Fixing fachschaftentool X-Git-Url: https://git.siccegge.de//index.cgi?p=fachschaftentool.git;a=commitdiff_plain;h=d9e6fa389d1a14a151c9b0ef82a858e755141dab Fixing fachschaftentool --- diff --git a/application.py b/application.py index 1e0fcd8..3761ba3 100644 --- a/application.py +++ b/application.py @@ -108,6 +108,13 @@ def download(): info.size = len(fdata) tar.addfile(info, StringIO.StringIO(fdata)) + # theme + for elem in os.listdir(os.path.join(os.path.dirname(__file__), 'templates', 'beamertheme')): + fdata = file(os.path.join(os.path.dirname(__file__), 'templates', 'beamertheme', elem)).read() + info = tarfile.TarInfo(name=elem) + info.size = len(fdata) + tar.addfile(info, StringIO.StringIO(fdata)) + tar.close() responseobj=make_response(data.getvalue()) diff --git a/templates/fachschaft.tex b/templates/fachschaft.tex index 723aed0..8362496 100644 --- a/templates/fachschaft.tex +++ b/templates/fachschaft.tex @@ -10,10 +10,10 @@ \end{tabular} & \rlap{\smash{\raisebox{-18mm}{\includegraphics[width=2cm]{kiflogo}}}}\\ &\multicolumn{2}{l}{\begin{tabular}{l} - \textbf{ {{fsorgan}} } \\ + \textbf{ {{fachschaft.organ}} } \\ vertritt {{fachschaft.vertreten}} Studenierende \\ {{fachschaft.organisation}}\\ - {{fachschaft.aktive}} Aktive + {{fachschaft.fachschaftler}} Aktive \end{tabular}} \\\\ &\multicolumn{2}{l}{ \begin{tabular}{lll}