|
a/Allura/allura/controllers/project.py |
|
b/Allura/allura/controllers/project.py |
|
... |
|
... |
223 |
if tools and not neighborhood.project_template:
|
223 |
if tools and not neighborhood.project_template:
|
224 |
anchored_tools = neighborhood.get_anchored_tools()
|
224 |
anchored_tools = neighborhood.get_anchored_tools()
|
225 |
for i, tool in enumerate(tools):
|
225 |
for i, tool in enumerate(tools):
|
226 |
if (tool.lower() not in anchored_tools.keys()) and (c.project.app_instance(tool) is None):
|
226 |
if (tool.lower() not in anchored_tools.keys()) and (c.project.app_instance(tool) is None):
|
227 |
c.project.install_app(tool, ordinal=i + offset)
|
227 |
c.project.install_app(tool, ordinal=i + offset)
|
228 |
flash('Welcome to the SourceForge Project System! '
|
228 |
flash('Welcome to the %s Project System! '
|
229 |
'To get started, fill out some information about your project.')
|
229 |
'To get started, fill out some information about your project.' % config['site_name'])
|
230 |
redirect(c.project.script_name + 'admin/overview')
|
230 |
redirect(c.project.script_name + 'admin/overview')
|
231 |
|
231 |
|
232 |
@expose()
|
232 |
@expose()
|
233 |
def icon(self, **kw):
|
233 |
def icon(self, **kw):
|
234 |
icon = self.neighborhood.icon
|
234 |
icon = self.neighborhood.icon
|