couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject couchdb commit: updated refs/heads/master to 23490c1
Date Mon, 02 Jun 2014 21:09:59 GMT
Repository: couchdb
Updated Branches:
  refs/heads/master 6a4660860 -> 23490c143


Fauxton: Show design doc name in status dashboard for indexer

Using a custom objectField that consists of the database name and
the design document name when the type of the task is indexer in the
status dashboard.

Closes COUCHDB-2222


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

Branch: refs/heads/master
Commit: 23490c143d3e8abc029c0ceaeb81d910e0a06949
Parents: 6a46608
Author: thriqon <github@jonasw.de>
Authored: Sat May 31 21:13:43 2014 +0200
Committer: Robert Kowalski <rok@kowalski.gd>
Committed: Mon Jun 2 23:10:03 2014 +0200

----------------------------------------------------------------------
 src/fauxton/app/addons/activetasks/views.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/23490c14/src/fauxton/app/addons/activetasks/views.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/activetasks/views.js b/src/fauxton/app/addons/activetasks/views.js
index 83ef861..87d56e2 100644
--- a/src/fauxton/app/addons/activetasks/views.js
+++ b/src/fauxton/app/addons/activetasks/views.js
@@ -168,6 +168,8 @@ function (app, FauxtonAPI, ActiveTasks) {
       var objectField = this.model.get('database');
       if (this.type === "replication"){
         objectField = this.model.get('source') + " to " + this.model.get('target');
+      } else if (this.type === "indexer") {
+        objectField = this.model.get("database") + " / " + this.model.get("design_document");
       }
       return objectField;
     },


Mime
View raw message