allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [01/12] allura git commit: [#8023] ticket:868 Tweak docs a bit
Date Tue, 15 Dec 2015 15:48:54 GMT
Repository: allura
Updated Branches:
  refs/heads/master 5896c9081 -> e5c8519fe


[#8023] ticket:868 Tweak docs a bit


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/8bad4ee7
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/8bad4ee7
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/8bad4ee7

Branch: refs/heads/master
Commit: 8bad4ee7272f6e4e5409ebb149745322eb623cf1
Parents: 6aa9993
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Tue Dec 8 13:30:42 2015 +0200
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Tue Dec 15 10:05:56 2015 -0500

----------------------------------------------------------------------
 Allura/docs/getting_started/administration.rst | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/8bad4ee7/Allura/docs/getting_started/administration.rst
----------------------------------------------------------------------
diff --git a/Allura/docs/getting_started/administration.rst b/Allura/docs/getting_started/administration.rst
index f812d8f..84aa018 100644
--- a/Allura/docs/getting_started/administration.rst
+++ b/Allura/docs/getting_started/administration.rst
@@ -283,16 +283,19 @@ manual mongo queries, however:
     ... impressions: 10,
     ... content: 'You can now reimport exported project data.',
     ... user_role: 'Developer',
-    ... page_regex: '/p/wiki/(home|browse_pages)/',
+    ... page_regex: '(Home|browse_pages)',
     ... page_tool_type: 'wiki'
     ... })
 
-This will create a notification that will be shown for 10 page views or until the
-user closes it manually.  This Notification will be shown only for users with Developer`s
rights.
-And if url page is according to `/p/wiki/(home|browse_pages)/` or app tool name is equal
to `wiki`.
-An `impressions` value of 0 will show the notification indefinitely (until closed).
-The notification content can contain HTML.  Only the most recent notification will be shown,
-unless it has `active:false`, in which case no notification will be shown.
+This will create a notification that will be shown for 10 page views or until
+the user closes it manually.  The notification will be shown only for users
+which have role 'Developer' or higher in one of their projects.  And if url of
+the current page is matching regex :code:`(Home|browse_pages)` and app
+tool type is :code:`wiki`.  An :code:`impressions` value of 0 will show the
+notification indefinitely (until closed).  The notification content can contain
+HTML.  Only the most recent notification will be shown, unless it has
+:code:`active:false`, in which case no notification will be shown.
+:code:`user_role`, :code:`page_regex` and :code:`page_tool_type` are optional.
 
 .. _delete-projects:
 


Mime
View raw message