You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2015/08/13 20:07:06 UTC
[39/50] allura git commit: [#7922] ticket:826 Add docstrings for new
properties
[#7922] ticket:826 Add docstrings for new properties
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/e7a08f83
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/e7a08f83
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/e7a08f83
Branch: refs/heads/ib/7922
Commit: e7a08f835585a73507e2cef3df45f5985654f6f5
Parents: 2f7c627
Author: Igor Bondarenko <je...@gmail.com>
Authored: Mon Aug 3 13:46:11 2015 +0300
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Thu Aug 13 18:14:42 2015 +0300
----------------------------------------------------------------------
Allura/allura/app.py | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/e7a08f83/Allura/allura/app.py
----------------------------------------------------------------------
diff --git a/Allura/allura/app.py b/Allura/allura/app.py
index 67fff89..f060204 100644
--- a/Allura/allura/app.py
+++ b/Allura/allura/app.py
@@ -293,10 +293,12 @@ class Application(object):
@LazyProperty
def admin_modal(self):
+ """Returns modal dialog widget for app's admin options"""
return admin_widgets.AdminModal()
@LazyProperty
def admin_tool_delete_modal(self):
+ """Returns modal dialog widget for app's delete workflow"""
return admin_widgets.AdminToolDeleteModal()
@LazyProperty
@@ -627,6 +629,7 @@ class Application(object):
@LazyProperty
def admin_menu_collapse_button(self):
+ """Returns button for showing/hiding admin sidebar menu"""
return SitemapEntry(
label='Admin',
url='#',
@@ -636,6 +639,7 @@ class Application(object):
@LazyProperty
def admin_menu_delete_button(self):
+ """Returns button for deleting an app if app can be deleted"""
anchored_tools = self.project.neighborhood.get_anchored_tools()
anchored = self.tool_label.lower() in anchored_tools.keys()
if self.uninstallable and not anchored: