|
a/Allura/allura/lib/plugin.py |
|
b/Allura/allura/lib/plugin.py |
|
... |
|
... |
519 |
ordinal=i + offset,
|
519 |
ordinal=i + offset,
|
520 |
**tool_options)
|
520 |
**tool_options)
|
521 |
if tool == 'wiki':
|
521 |
if tool == 'wiki':
|
522 |
from forgewiki import model as WM
|
522 |
from forgewiki import model as WM
|
523 |
text = tool_config.get('home_text',
|
523 |
text = tool_config.get('home_text',
|
524 |
'[[project_admins]]\n[[members]]\n[[download_button]]')
|
524 |
'[[members limit=20]]\n[[download_button]]')
|
525 |
WM.Page.query.get(app_config_id=app.config._id).text = text
|
525 |
WM.Page.query.get(app_config_id=app.config._id).text = text
|
526 |
|
526 |
|
527 |
if 'tool_order' in project_template:
|
527 |
if 'tool_order' in project_template:
|
528 |
for i, tool in enumerate(project_template['tool_order']):
|
528 |
for i, tool in enumerate(project_template['tool_order']):
|
529 |
p.app_config(tool).options.ordinal = i
|
529 |
p.app_config(tool).options.ordinal = i
|