Commits

Bernhard Reiter  committed c92fcb3 Draft

Template responsive: make demo.py work out of the box with it, by setting the static_files config.ini setting to "static".

  • Participants
  • Parent commits 2b1f2e6

Comments (0)

Files changed (3)

 
 Fixed:
 
-- [Minor] Template responsive: footer link fixed and hardcoded 
-  last modfied date removed. (Bernhard Reiter)
+- [minor] Template responsive: make demo.py work out of the box with it,
+  by setting the static_files config.ini setting to "static". 
+  Footer: link fixed and hardcoded last modfied date removed. (Bernhard Reiter)
 
 
 2012-12-21: 1.4.21
 
     # write the config
     config['INSTANT_REGISTRATION'] = 1
+    # FIXME: Move template-specific demo initialization into the templates.
+    if template == 'responsive':
+        config['STATIC_FILES'] = "static"
     config.save(os.path.join(home, config.INI_FILE))
 
     # open the tracker and initialise

File share/roundup/templates/responsive/TEMPLATE-INFO.txt

             The difference between devel and responsive templates
             is the use of Twitter bootstrap (http://twitter.github.com/bootstrap/)
             in templates and HTML5 markup.
+	    Make sure the "static_files" setting in your config.ini of your
+            instance is set to the directory where the static files live
+            (the subdirectory "static" in the default of the template).
 Intended-For: Developers