Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4CC39107C2 for ; Thu, 12 Dec 2013 15:35:40 +0000 (UTC) Received: (qmail 1797 invoked by uid 500); 12 Dec 2013 15:35:39 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 1682 invoked by uid 500); 12 Dec 2013 15:35:37 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 1674 invoked by uid 99); 12 Dec 2013 15:35:35 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Dec 2013 15:35:35 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 2BFF489FA5E; Thu, 12 Dec 2013 15:35:35 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: garren@apache.org To: commits@couchdb.apache.org Message-Id: <2e56f8b7eb0f4430b4b9fc6c7dbaacac@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: updated refs/heads/master to 6bb810f Date: Thu, 12 Dec 2013 15:35:35 +0000 (UTC) Updated Branches: refs/heads/master 936edf85f -> 6bb810f4a Fauxton: Add extension to new doc/index section Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/6bb810f4 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/6bb810f4 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/6bb810f4 Branch: refs/heads/master Commit: 6bb810f4a50ae8015b717d61c91073becde547dc Parents: 936edf8 Author: Garren Smith Authored: Thu Dec 12 17:35:19 2013 +0200 Committer: Garren Smith Committed: Thu Dec 12 17:35:19 2013 +0200 ---------------------------------------------------------------------- src/fauxton/app/modules/documents/views.js | 2 ++ src/fauxton/app/templates/documents/sidebar.html | 3 +++ 2 files changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/6bb810f4/src/fauxton/app/modules/documents/views.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/modules/documents/views.js b/src/fauxton/app/modules/documents/views.js index 49c443d..cac4f48 100644 --- a/src/fauxton/app/modules/documents/views.js +++ b/src/fauxton/app/modules/documents/views.js @@ -1657,6 +1657,7 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb, resizeColum serialize: function() { var docLinks = FauxtonAPI.getExtensions('docLinks'), + newLinks = FauxtonAPI.getExtensions('sidebar:newLinks'), addLinks = FauxtonAPI.getExtensions('sidebar:links'), extensionList = FauxtonAPI.getExtensions('sidebar:list'); return { @@ -1668,6 +1669,7 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb, resizeColum docLinks: docLinks, docLimit: Databases.DocLimit, addLinks: addLinks, + newLinks: newLinks, extensionList: extensionList > 0 }; }, http://git-wip-us.apache.org/repos/asf/couchdb/blob/6bb810f4/src/fauxton/app/templates/documents/sidebar.html ---------------------------------------------------------------------- diff --git a/src/fauxton/app/templates/documents/sidebar.html b/src/fauxton/app/templates/documents/sidebar.html index 156398d..8a73ae9 100644 --- a/src/fauxton/app/templates/documents/sidebar.html +++ b/src/fauxton/app/templates/documents/sidebar.html @@ -43,6 +43,9 @@ the License.
  • Secondary Index + <% _.each(newLinks, function (item) { %> + <%= item.name %> + <% }); %>