diff --git a/assets/scripts/app/app.coffee b/assets/scripts/app/app.coffee index e912437c..78d0a8dc 100644 --- a/assets/scripts/app/app.coffee +++ b/assets/scripts/app/app.coffee @@ -70,6 +70,9 @@ unless window.TravisApplication type = Ember.get(Travis, 'mappings')[name] + if name == 'job' && data.job?.commit + @loadOrMerge(Travis.Commit, data.job.commit) + if name == 'build' && data.build?.commit # TODO: commit should be a sideload record on build, not mixed with it build = data.build diff --git a/assets/scripts/app/templates/layouts/top.hbs b/assets/scripts/app/templates/layouts/top.hbs index 8bfbf6bb..6cba6261 100644 --- a/assets/scripts/app/templates/layouts/top.hbs +++ b/assets/scripts/app/templates/layouts/top.hbs @@ -8,14 +8,16 @@
  • {{#link-to "main"}}Home{{/link-to}}
  • - {{#unless config.enterprise}} + {{#if config.enterprise}} +
  • Docs
  • + {{else}}
  • Blog
  • Status
  • - {{/unless}} + {{/if}} {{#unless config.pro}}