diff --git a/ckanext/harvest/lib/__init__.py b/ckanext/harvest/lib/__init__.py
index c1c5d81..4b7b6d5 100644
--- a/ckanext/harvest/lib/__init__.py
+++ b/ckanext/harvest/lib/__init__.py
@@ -34,7 +34,7 @@ def _get_source_status(source, detailed=True):
# Get next scheduled job
next_job = HarvestJob.filter(source=source,status=u'New').first()
if next_job:
- out['next_harvest'] = 'Within 15 minutes'
+ out['next_harvest'] = 'Scheduled'
else:
out['next_harvest'] = 'Not yet scheduled'
diff --git a/ckanext/harvest/public/ckanext/harvest/style.css b/ckanext/harvest/public/ckanext/harvest/style.css
index 9391159..163e43e 100644
--- a/ckanext/harvest/public/ckanext/harvest/style.css
+++ b/ckanext/harvest/public/ckanext/harvest/style.css
@@ -1,4 +1,16 @@
/* Harvest styles */
+
+
+
+body.index.ViewController #minornavigation {
+ display: none;
+}
+
+body.index.ViewController #content {
+ width: 100% !important;
+ border: 0 !important;
+}
+
#new-harvest-source {
background: transparent url("images/icons/source_new.png") no-repeat 0px 0px;
padding-left: 20px;
@@ -6,10 +18,34 @@
font-weight: bold;
}
+#show-inactive-sources-content{
+ float: right;
+ width: 150px;
+}
+
+#show-inactive-sources-content input{
+ float: left;
+}
+
+#show-inactive-sources-content label{
+ float: left;
+ font-weight: normal;
+ margin-top: -4px;
+ margin-left: 5px;
+}
+
#harvest-sources th.action{
font-style: italic;
}
+#harvest-sources .inactive{
+ display:none;
+}
+
+#harvest-sources .inactive .state{
+ color: red;
+}
+
.harvester-title{
font-weight: bold;
}
diff --git a/ckanext/harvest/templates/index.html b/ckanext/harvest/templates/index.html
index 7361e78..ee05623 100644
--- a/ckanext/harvest/templates/index.html
+++ b/ckanext/harvest/templates/index.html
@@ -8,14 +8,21 @@
Created | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- | ${source.url} | +${source.url[:50]}... | +${source.url} | +${source.type} | -${source.active} | +${source.active} | ${source.status.msg} | ${source.status.msg} | ${source.status.overall_statistics.added} pkgs ${source.status.overall_statistics.errors} errors | +Datasets: ${source.status.overall_statistics.added} + Last errors: ${source.status.last_harvest_statistics.errors} |
${source.status.next_harvest} | ${source.created} | +${h.render_datetime(source.created)} |
There are ${c.page.item_count} packages.
+There are ${c.page.item_count} datasets.
${c.page.pager()}