]> git.siccegge.de Git - fachschaftentool.git/commitdiff
Fixing fachschaftentool
authorChristoph Egger <siccegge@cs.fau.de>
Sat, 15 Nov 2014 22:10:32 +0000 (23:10 +0100)
committerChristoph Egger <siccegge@cs.fau.de>
Sat, 15 Nov 2014 22:10:32 +0000 (23:10 +0100)
application.py
templates/fachschaft.tex

index 1e0fcd890c1f445e51528a2fbbc7547943334ce0..3761ba343c9fed02391ca4a6273f0d35e7def773 100644 (file)
@@ -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())
index 723aed08c42ff9fd7d348e46f4f69daa0e7acb52..8362496ceb4fdb9f1f5e419bb99ad710c298be8e 100644 (file)
      \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}