|
a/Allura/allura/model/project.py |
|
b/Allura/allura/model/project.py |
|
... |
|
... |
406 |
if excluded_tools and ac.tool_name in excluded_tools:
|
406 |
if excluded_tools and ac.tool_name in excluded_tools:
|
407 |
continue
|
407 |
continue
|
408 |
App = ac.load()
|
408 |
App = ac.load()
|
409 |
app = App(self, ac)
|
409 |
app = App(self, ac)
|
410 |
if app.is_visible_to(c.user):
|
410 |
if app.is_visible_to(c.user):
|
411 |
for sm in app.sitemap:
|
411 |
for sm in app.main_menu():
|
412 |
entry = sm.bind_app(app)
|
412 |
entry = sm.bind_app(app)
|
413 |
entry.ui_icon='tool-%s' % ac.tool_name.lower()
|
413 |
entry.ui_icon='tool-%s' % ac.tool_name.lower()
|
414 |
ordinal = int(ac.options.get('ordinal', 0)) + delta_ordinal
|
414 |
ordinal = int(ac.options.get('ordinal', 0)) + delta_ordinal
|
415 |
if ordinal > max_ordinal:
|
415 |
if ordinal > max_ordinal:
|
416 |
max_ordinal = ordinal
|
416 |
max_ordinal = ordinal
|