<div id="repo" class="{{view.className}} repo">

  {{#if view.isEmpty}}
    {{view 'repos-empty'}}
  {{else}}

    {{#if repo.isLoaded}}
      <article id="repo-header" class="repo-header passed">
        <header>
          <h1 class="repo-header-title">{{#link-to "repo" repo}}{{repo.slug}}{{/link-to}}</h1>
          <div class="repo-header-icons">
            <a href={{controller.urlGithub}}><span class="icon icon--github-circle"></span></a>
            <a href="#" id="status-image-popup" name="status-images" class="open-popup" {{action "statusImages" target=view}}>
              <img src={{view.statusImageUrl}} title="Build Status Images"/>
            </a>
          </div>
          <p class="description">{{description}}</p>
        </header>
        <div class="repo-menus">
          <div class="repo-menu-header">
            {{repo-show-tools repo=repo build=build job=job tab=tab currentUser=auth.currentUser}}

            {{repo-show-tabs repo=repo tab=tab}}
          </div>
          <div class="tabbody repo-main">
            {{outlet}}
          </div>
        </div>
      </article>

    {{else}}
      {{loading-indicator}}
    {{/if}}

  {{/if}}
</div>

<div id="repo" class="{{view.className}} repo">

  {{#if view.isEmpty}}
    {{view 'repos-empty'}}
  {{else}}

    {{#if repo.isLoaded}}
      <article id="repo-header" class="repo-header passed">
        <header>
          <h1 class="repo-header-title">{{#link-to "repo" repo}}{{repo.slug}}{{/link-to}}</h1>
          <div class="repo-header-icons">
            <a href={{controller.urlGithub}}><span class="icon icon--github-circle"></span></a>
            <a href="#" id="status-image-popup" name="status-images" class="open-popup" {{action "statusImages" target=view}}>
              <img src={{view.statusImageUrl}} title="Build Status Images"/>
            </a>
          </div>
          <p class="description">{{description}}</p>
        </header>
        <div class="repo-menus">
          <div class="repo-menu-header">
            {{repo-show-tools repo=repo build=build job=job tab=tab currentUser=auth.currentUser}}

            {{repo-show-tabs repo=repo tab=tab build=build job=job}}
          </div>
          <div class="tabbody repo-main">
            {{outlet}}
          </div>
        </div>
      </article>

    {{else}}
      {{loading-indicator}}
    {{/if}}

  {{/if}}
</div>

Fix build and jobs tabs
Fix build and jobs tabs
