Added structure, but pull request data not accessible in view
This commit is contained in:
parent
90a1d10d26
commit
10209bbc26
|
@ -10,7 +10,7 @@ require 'travis/model'
|
|||
authorEmail: DS.attr('string')
|
||||
committerName: DS.attr('string')
|
||||
committerEmail: DS.attr('string')
|
||||
pullRequestName: DS.attr('string')
|
||||
pullRequestTitle: DS.attr('string')
|
||||
pullRequestNumber: DS.attr('number')
|
||||
|
||||
|
||||
|
|
|
@ -22,9 +22,14 @@
|
|||
<div class="right">
|
||||
<dt>{{t builds.commit}}</dt>
|
||||
<dd class="commit"><a href="{{unbound urlGithubCommit}}">{{formatCommit build.commit}}</a></dd>
|
||||
{{#if commit.compareUrl}}
|
||||
<dt>{{t builds.compare}}</dt>
|
||||
<dd class="compare"><a href="{{unbound commit.compareUrl}}">{{pathFrom build.commit.compareUrl}}</a></dd>
|
||||
{{#if build.isPullRequest}}
|
||||
<dt>{{t builds.pullRequest}}</dt>
|
||||
<dd class="pull_request"><a href="{{unbound commit.compareUrl}}">#{{build.commit.pullRequestNumber}} {{build.commit.pullRequestTitle}}</a></dd>
|
||||
{{else}}
|
||||
{{#if commit.compareUrl}}
|
||||
<dt>{{t builds.compare}}</dt>
|
||||
<dd class="compare"><a href="{{unbound commit.compareUrl}}">{{pathFrom build.commit.compareUrl}}</a></dd>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{#if commit.authorName}}
|
||||
<dt>{{t builds.author}}</dt>
|
||||
|
|
|
@ -20,6 +20,7 @@ de:
|
|||
sponsored_by: Dieser Testablauf lief auf einem Arbeiter-Rechner gesponsert von
|
||||
name:
|
||||
pr:
|
||||
pull_request:
|
||||
started_at: Läuft
|
||||
state: Status
|
||||
datetime:
|
||||
|
|
|
@ -20,6 +20,7 @@ en:
|
|||
sponsored_by: This test series was run on a worker box sponsored by
|
||||
name: Build
|
||||
pr: PR
|
||||
pull_request: Pull Request
|
||||
started_at: Started
|
||||
state: State
|
||||
datetime:
|
||||
|
|
|
@ -20,6 +20,7 @@ es:
|
|||
sponsored_by: Esta serie de tests han sido ejecutados en una caja de Proceso patrocinada por
|
||||
name: Build
|
||||
pr:
|
||||
pull_request:
|
||||
started_at: Iniciado
|
||||
state:
|
||||
datetime:
|
||||
|
|
|
@ -20,6 +20,7 @@ fr:
|
|||
sponsored_by: Cette série de tests a été exécutée sur une machine sponsorisée par
|
||||
name: Version
|
||||
pr:
|
||||
pull_request:
|
||||
started_at: Commencé
|
||||
state:
|
||||
datetime:
|
||||
|
|
|
@ -20,6 +20,7 @@ ja:
|
|||
sponsored_by: このテストは以下のスポンサーの協力で行いました。
|
||||
name: ビルド
|
||||
pr:
|
||||
pull_request:
|
||||
started_at: 開始時刻
|
||||
state:
|
||||
datetime:
|
||||
|
|
|
@ -20,6 +20,7 @@ nb:
|
|||
sponsored_by: Denne testen ble kjørt på en maskin sponset av
|
||||
name: Jobb
|
||||
pr:
|
||||
pull_request:
|
||||
started_at: Startet
|
||||
state:
|
||||
datetime:
|
||||
|
|
|
@ -20,6 +20,7 @@ nl:
|
|||
sponsored_by: Deze tests zijn gedraaid op een machine gesponsord door
|
||||
name: Bouw
|
||||
pr:
|
||||
pull_request:
|
||||
started_at: Gestart
|
||||
state:
|
||||
datetime:
|
||||
|
|
|
@ -20,6 +20,7 @@ pl:
|
|||
sponsored_by: Te testy zostały uruchomione na maszynie sponsorowanej przez
|
||||
name: Build
|
||||
pr:
|
||||
pull_request:
|
||||
started_at: Rozpoczęto
|
||||
state: status
|
||||
datetime:
|
||||
|
|
|
@ -20,6 +20,7 @@ pt-BR:
|
|||
sponsored_by: Esta série de testes foi executada em uma caixa de processos patrocinada por
|
||||
name: Build
|
||||
pr:
|
||||
pull_request:
|
||||
started_at: Iniciou em
|
||||
state:
|
||||
datetime:
|
||||
|
|
|
@ -20,6 +20,7 @@ ru:
|
|||
sponsored_by: Эта серия тестов была запущена на машине, спонсируемой
|
||||
name: Билд
|
||||
pr: PR
|
||||
pull_request:
|
||||
started_at: Начало
|
||||
state: состояние
|
||||
datetime:
|
||||
|
|
Loading…
Reference in New Issue
Block a user