allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject [07/12] allura git commit: [#8023] ticket:868 Tweak docs a bit
Date Tue, 15 Dec 2015 14:24:39 GMT
[#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/2149cfa1
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/2149cfa1
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/2149cfa1

Branch: refs/heads/ib/8023b
Commit: 2149cfa19d538bb80b7ab248c6dfc3417f2ee28e
Parents: f5567d4
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Tue Dec 8 13:30:42 2015 +0200
Committer: Igor Bondarenko <jetmind2@gmail.com>
Committed: Tue Dec 15 13:43:03 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/allura/blob/2149cfa1/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