Repository: couchdb
Updated Branches:
  refs/heads/Update-Sidebar-Ui 2cf2eab1d -> d34dfae3a (forced update)


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/Update-Sidebar-Ui
Commit: 23490c143d3e8abc029c0ceaeb81d910e0a06949
Parents: 6a46608
Author: thriqon <[email protected]>
Authored: Sat May 31 21:13:43 2014 +0200
Committer: Robert Kowalski <[email protected]>
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;
     },

Reply via email to