You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2014/10/13 15:20:56 UTC

fauxton commit: updated refs/heads/COUCHDB-2381--header-away to 9a9cf6e

Repository: couchdb-fauxton
Updated Branches:
  refs/heads/COUCHDB-2381--header-away [created] 9a9cf6e40


Readd header to database list

this was accidently deleted in #dee7baa

closes COUCHDB-2381


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/9a9cf6e4
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/9a9cf6e4
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/9a9cf6e4

Branch: refs/heads/COUCHDB-2381--header-away
Commit: 9a9cf6e408e53d6158a3bf65c43d60957474f2cc
Parents: 3b85472
Author: Robert Kowalski <ro...@apache.org>
Authored: Mon Oct 13 15:18:22 2014 +0200
Committer: Robert Kowalski <ro...@apache.org>
Committed: Mon Oct 13 15:18:22 2014 +0200

----------------------------------------------------------------------
 app/addons/databases/routes.js | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/9a9cf6e4/app/addons/databases/routes.js
----------------------------------------------------------------------
diff --git a/app/addons/databases/routes.js b/app/addons/databases/routes.js
index 3194122..8bf8b5c 100644
--- a/app/addons/databases/routes.js
+++ b/app/addons/databases/routes.js
@@ -50,6 +50,12 @@ function(app, FauxtonAPI, Databases, Views) {
         collection: this.databases
       }));
 
+      this.rightHeader = this.setView("#api-navbar", new Views.RightAllDBsHeader({
+        collection: this.databases,
+        endpoint: this.databases.url("apiurl"),
+        documentation: this.databases.documentation()
+      }));
+
       this.databasesView.setPage(dbPage);
     },