couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject fauxton commit: updated refs/heads/COUCHDB-2381--header-away to 9a9cf6e
Date Mon, 13 Oct 2014 13:20:56 GMT
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 <robertkowalski@apache.org>
Authored: Mon Oct 13 15:18:22 2014 +0200
Committer: Robert Kowalski <robertkowalski@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);
     },
 


Mime
View raw message