You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2014/06/07 23:04:36 UTC

[12/15] fauxton commit: updated refs/heads/import-master to 8cb432c

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-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/6bd69884
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/6bd69884
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/6bd69884

Branch: refs/heads/import-master
Commit: 6bd6988468f84c0e2e7a4fa14699b2fc2b0419ed
Parents: c50fca5
Author: thriqon <gi...@jonasw.de>
Authored: Sat May 31 21:13:43 2014 +0200
Committer: Robert Kowalski <ro...@kowalski.gd>
Committed: Mon Jun 2 23:10:03 2014 +0200

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


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/6bd69884/app/addons/activetasks/views.js
----------------------------------------------------------------------
diff --git a/app/addons/activetasks/views.js b/app/addons/activetasks/views.js
index 83ef861..87d56e2 100644
--- a/app/addons/activetasks/views.js
+++ b/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;
     },