diff --git a/front/app/routes/issues.js b/front/app/routes/issues.js
index aea99438..94260993 100644
--- a/front/app/routes/issues.js
+++ b/front/app/routes/issues.js
@@ -8,7 +8,7 @@ function fixTimestamps(data) {
}
export default Ember.Route.extend({
- model: function() {
+ model: function() {
const summary_url = ENV.apiBaseURL + 'issues';
return Ember.$.getJSON(summary_url)
.then(metrics => {
@@ -18,6 +18,7 @@ export default Ember.Route.extend({
const issues_days_open_b4_close = fixTimestamps(metrics.days_open_before_close);
const model = {
+ start: Date.now(),
issues: {
days_open_current_mean: metrics.current_open_age_days_mean.toFixed(2),
num_high_priority: metrics.num_open_p_high_issues,
diff --git a/front/app/templates/issues.hbs b/front/app/templates/issues.hbs
index c2f5660c..ba1f7674 100644
--- a/front/app/templates/issues.hbs
+++ b/front/app/templates/issues.hbs
@@ -1,5 +1,11 @@
{{outlet}}
+
+
+
+
Issues
diff --git a/front/bower.json b/front/bower.json
index e65581c5..488fabdc 100644
--- a/front/bower.json
+++ b/front/bower.json
@@ -5,6 +5,7 @@
"ember-cli-shims": "0.1.1",
"ember-cli-test-loader": "0.2.2",
"ember-qunit-notifications": "0.1.0",
- "pure": "^0.6.0"
+ "pure": "^0.6.0",
+ "pikaday": "^1.4.0"
}
}
diff --git a/front/package.json b/front/package.json
index bfc23c85..1e69824f 100644
--- a/front/package.json
+++ b/front/package.json
@@ -29,6 +29,7 @@
"ember-cli-htmlbars-inline-precompile": "^0.3.1",
"ember-cli-inject-live-reload": "^1.4.0",
"ember-cli-jshint": "^1.0.0",
+ "ember-cli-moment-shim": "1.3.0",
"ember-cli-qunit": "^1.4.0",
"ember-cli-release": "0.2.8",
"ember-cli-skeleton": "0.0.5",
@@ -38,6 +39,7 @@
"ember-export-application-global": "^1.0.5",
"ember-highcharts": "0.4.3",
"ember-load-initializers": "^0.5.1",
+ "ember-pikaday": "1.1.0",
"ember-resolver": "^2.0.3",
"highcharts": "4.2.4",
"loader.js": "^4.0.1"