couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [12/15] fauxton commit: updated refs/heads/import-master to 8cb432c
Date Sat, 07 Jun 2014 21:04:36 GMT
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 <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

----------------------------------------------------------------------
 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;
     },


Mime
View raw message