allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject [1/9] allura git commit: [#8023] ticket:868 Changed documentation
Date Tue, 08 Dec 2015 11:32:35 GMT
Repository: allura
Updated Branches:
  refs/heads/ib/8023a [created] d31322c39


[#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/23a5ccb6
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/23a5ccb6
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/23a5ccb6

Branch: refs/heads/ib/8023a
Commit: 23a5ccb6438d5a57e5b2ee91abb46113b880e48c
Parents: 33c478c
Author: Denis Kotov <deniskkotov@gmail.com>
Authored: Fri Dec 4 18:00:13 2015 +0200
Committer: Igor Bondarenko <jetmind2@gmail.com>
Committed: Mon Dec 7 10:28:26 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/allura/blob/23a5ccb6/Allura/docs/getting_started/administration.rst
----------------------------------------------------------------------
diff --git a/Allura/docs/getting_started/administration.rst b/Allura/docs/getting_started/administration.rst
index e5d5a10..7845e04 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:
 


Mime
View raw message