|
a/Allura/allura/app.py |
|
b/Allura/allura/app.py |
|
... |
|
... |
101 |
:var status: the status level of this app. 'production' apps are available to all projects
|
101 |
:var status: the status level of this app. 'production' apps are available to all projects
|
102 |
:var bool searchable: toggle if the search box appears in the left menu
|
102 |
:var bool searchable: toggle if the search box appears in the left menu
|
103 |
:var permissions: a list of named permissions used by the app
|
103 |
:var permissions: a list of named permissions used by the app
|
104 |
:var sitemap: a list of :class:`SitemapEntries <allura.app.SitemapEntry>` to create an app navigation.
|
104 |
:var sitemap: a list of :class:`SitemapEntries <allura.app.SitemapEntry>` to create an app navigation.
|
105 |
:var bool installable: toggle if the app can be installed in a project
|
105 |
:var bool installable: toggle if the app can be installed in a project
|
|
|
106 |
:var bool hidden: toggle if the app should be hidden from the list of tools
|
106 |
:var Controller self.root: the root Controller used for the app
|
107 |
:var Controller self.root: the root Controller used for the app
|
107 |
:var Controller self.api_root: a Controller used for API access at /rest/<neighborhood>/<project>/<app>/
|
108 |
:var Controller self.api_root: a Controller used for API access at /rest/<neighborhood>/<project>/<app>/
|
108 |
:var Controller self.admin: a Controller used in the admin interface
|
109 |
:var Controller self.admin: a Controller used in the admin interface
|
109 |
"""
|
110 |
"""
|
110 |
|
111 |
|
|
... |
|
... |
128 |
AttachmentClass = model.DiscussionAttachment
|
129 |
AttachmentClass = model.DiscussionAttachment
|
129 |
tool_label='Tool'
|
130 |
tool_label='Tool'
|
130 |
default_mount_label='Tool Name'
|
131 |
default_mount_label='Tool Name'
|
131 |
default_mount_point='tool'
|
132 |
default_mount_point='tool'
|
132 |
ordinal=0
|
133 |
ordinal=0
|
|
|
134 |
hidden = False
|
133 |
icons={
|
135 |
icons={
|
134 |
24:'images/admin_24.png',
|
136 |
24:'images/admin_24.png',
|
135 |
32:'images/admin_32.png',
|
137 |
32:'images/admin_32.png',
|
136 |
48:'images/admin_48.png'
|
138 |
48:'images/admin_48.png'
|
137 |
}
|
139 |
}
|