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/12/15 16:48:55 UTC

[02/12] allura git commit: [#8023] ticket:868 Changed documentation

[#8023] ticket:868 Changed documentation


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

Branch: refs/heads/master
Commit: 634ca4be0f4d3e72ba723d1b082535a93c297827
Parents: b8e6a3b
Author: Denis Kotov <de...@gmail.com>
Authored: Fri Dec 4 18:00:13 2015 +0200
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Tue Dec 15 10:05:56 2015 -0500

----------------------------------------------------------------------
 Allura/docs/getting_started/administration.rst | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/634ca4be/Allura/docs/getting_started/administration.rst
----------------------------------------------------------------------
diff --git a/Allura/docs/getting_started/administration.rst b/Allura/docs/getting_started/administration.rst
index d1b4b93..f812d8f 100644
--- a/Allura/docs/getting_started/administration.rst
+++ b/Allura/docs/getting_started/administration.rst
@@ -281,14 +281,18 @@ manual mongo queries, however:
     > db.site_notification.insert({
     ... active: true,
     ... impressions: 10,
-    ... content: 'You can now reimport exported project data.'
+    ... content: 'You can now reimport exported project data.',
+    ... user_role: 'Developer',
+    ... page_regex: '/p/wiki/(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.  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.
+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.
 
 .. _delete-projects: