diff --git a/app/pods/components/intermediate-contest-view/template.hbs b/app/pods/components/intermediate-contest-view/template.hbs index 4b4b12e5..84fd5271 100644 --- a/app/pods/components/intermediate-contest-view/template.hbs +++ b/app/pods/components/intermediate-contest-view/template.hbs @@ -151,19 +151,23 @@
{{#if queued}} - - + {{#if createAttemptTask.isRunning}} +
Starting Your Contest
+ {{else}} + + + {{/if}} {{else}}

diff --git a/app/pods/contests/contest/loading/route.js b/app/pods/contests/contest/loading/route.js new file mode 100644 index 00000000..6c74252a --- /dev/null +++ b/app/pods/contests/contest/loading/route.js @@ -0,0 +1,4 @@ +import Route from '@ember/routing/route'; + +export default Route.extend({ +}); diff --git a/app/pods/contests/contest/loading/template.hbs b/app/pods/contests/contest/loading/template.hbs new file mode 100644 index 00000000..8a8f9519 --- /dev/null +++ b/app/pods/contests/contest/loading/template.hbs @@ -0,0 +1,2 @@ +{{outlet}} + \ No newline at end of file diff --git a/app/router.js b/app/router.js index 39db86ac..2fb03f34 100644 --- a/app/router.js +++ b/app/router.js @@ -51,6 +51,7 @@ Router.map(function() { this.route('problem'); this.route('project') }); + this.route('loading'); }); }); this.route('dcb', function() { diff --git a/tests/unit/pods/contests/contest/loading/route-test.js b/tests/unit/pods/contests/contest/loading/route-test.js new file mode 100644 index 00000000..50c80336 --- /dev/null +++ b/tests/unit/pods/contests/contest/loading/route-test.js @@ -0,0 +1,11 @@ +import { module, test } from 'qunit'; +import { setupTest } from 'ember-qunit'; + +module('Unit | Route | contests/contest/loading', function(hooks) { + setupTest(hooks); + + test('it exists', function(assert) { + let route = this.owner.lookup('route:contests/contest/loading'); + assert.ok(route); + }); +});