Skip to content

Commit d1127f7

Browse files
Template responsive: make demo.py work out of the box with it, by setting the static_files config.ini setting to "static".
1 parent a648632 commit d1127f7

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGES.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ Features:
1111

1212
Fixed:
1313

14-
- [Minor] Template responsive: footer link fixed and hardcoded
15-
last modfied date removed. (Bernhard Reiter)
14+
- [minor] Template responsive: make demo.py work out of the box with it,
15+
by setting the static_files config.ini setting to "static".
16+
Footer: link fixed and hardcoded last modfied date removed. (Bernhard Reiter)
1617

1718

1819
2012-12-21: 1.4.21

demo.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ def install_demo(home, backend, template):
7979

8080
# write the config
8181
config['INSTANT_REGISTRATION'] = 1
82+
# FIXME: Move template-specific demo initialization into the templates.
83+
if template == 'responsive':
84+
config['STATIC_FILES'] = "static"
8285
config.save(os.path.join(home, config.INI_FILE))
8386

8487
# open the tracker and initialise

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ Description: This issue tracker uses the same schema as devel.
33
The difference between devel and responsive templates
44
is the use of Twitter bootstrap (http://twitter.github.com/bootstrap/)
55
in templates and HTML5 markup.
6+
Make sure the "static_files" setting in your config.ini of your
7+
instance is set to the directory where the static files live
8+
(the subdirectory "static" in the default of the template).
69
Intended-For: Developers

0 commit comments

Comments
 (0)