Commit f13b2ffe authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

The host is displayed in the harvester view.

parent ab3807be
......@@ -75,6 +75,7 @@
cfg['fields'] = [{'name': 'action', 'type': 'string'},
{'name': 'collection', 'type': 'string'},
{'name': 'harvester', 'type': 'string'},
{'name': 'host', 'type': 'string'},
{'name': 'record_id', 'type': 'string'},
{'name': 'synonym', 'type': 'string'},
{'name': 'title', 'type': 'string'},
......@@ -87,6 +88,7 @@
cfg['data'].append([row.action,
row.collection,
json.dumps(row.harvester),
row.harvester.host,
row.record_id,
row.synonym,
row.title,
......@@ -164,6 +166,7 @@
"trExisting = '%s'" % T('Existing'),
"trFailure = '%s'" % T('Loading failed'),
"trFound = '%s'" % T('Found'),
"trHost = '%s'" % T('Host'),
"trLoading = '%s'" % T('Loading...'),
"trLost = '%s'" % T('Lost'),
"trModified = '%s'" % T('Modified'),
......@@ -324,6 +327,7 @@
{xtype: 'rownumberer'},
{text: trTitle, dataIndex: 'title', flex: 3, renderer: rTitle},
{text: trSynonym, dataIndex: 'synonym', flex: 1},
{text: trHost, dataIndex: 'host', flex: 1},
{text: trAction, dataIndex: 'action', flex: 1, hidden: true},
{text: trTxt, dataIndex: 'txt', flex: 1, hidden: true},
{text: trCollection, dataIndex: 'collection', flex: 1, hidden: true},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment