You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2015/08/17 21:38:18 UTC

[10/14] 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/0ebdb9c7
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/0ebdb9c7
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/0ebdb9c7

Branch: refs/heads/master
Commit: 0ebdb9c7828353874fa9e87a14250bf3ecc09058
Parents: 7a0141c
Author: Igor Bondarenko <je...@gmail.com>
Authored: Mon Aug 3 13:46:11 2015 +0300
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Mon Aug 17 17:54:14 2015 +0000

----------------------------------------------------------------------
 Allura/allura/app.py | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/0ebdb9c7/Allura/allura/app.py
----------------------------------------------------------------------
diff --git a/Allura/allura/app.py b/Allura/allura/app.py
index 22dbd84..5e19ed1 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: