Merge pull request #237 from travis-ci/ha-bug-gh_core_1807

Remove `mailto:` URLs

Closes travis-ci/travis-ci#1807.
This commit is contained in:
Henrik Hodne 2014-01-02 02:12:05 -08:00
commit d3e81abd9b
5 changed files with 4 additions and 28 deletions

View File

@ -15,11 +15,3 @@ Travis.BuildController = Ember.Controller.extend
urlGithubCommit: (->
Travis.Urls.githubCommit(@get('repo.slug'), @get('commit.sha'))
).property('repo.slug', 'commit.sha')
urlAuthor: (->
Travis.Urls.email(@get('commit.authorEmail'))
).property('commit.authorEmail')
urlCommitter: (->
Travis.Urls.email(@get('commit.committerEmail'))
).property('commit.committerEmail')

View File

@ -13,11 +13,3 @@ Travis.JobController = Em.Controller.extend
urlGithubCommit: (->
Travis.Urls.githubCommit(@get('repo.slug'), @get('commit.sha'))
).property('repo.slug', 'commit.sha')
urlAuthor: (->
Travis.Urls.email(@get('commit.authorEmail'))
).property('commit.authorEmail')
urlCommitter: (->
Travis.Urls.email(@get('commit.committerEmail'))
).property('commit.committerEmail')

View File

@ -35,11 +35,11 @@
{{/if}}
{{#if commit.authorName}}
<dt>{{t builds.author}}</dt>
<dd class="author"><a {{bindAttr href="controller.urlAuthor"}}>{{commit.authorName}}</a></dd>
<dd class="author">{{commit.authorName}}</dd>
{{/if}}
{{#if commit.committerName}}
<dt>{{t builds.committer}}</dt>
<dd class="committer"><a {{bindAttr href="controller.urlCommitter"}}>{{commit.committerName}}</a></dd>
<dd class="committer">{{commit.committerName}}</dd>
{{/if}}
</div>
{{/with}}

View File

@ -34,11 +34,11 @@
{{/if}}
{{#if commit.authorName}}
<dt>{{t jobs.author}}</dt>
<dd class="author"><a {{bindAttr href="controller.urlAuthor"}}>{{commit.authorName}}</a></dd>
<dd class="author">{{commit.authorName}}</dd>
{{/if}}
{{#if commit.committerName}}
<dt>{{t jobs.committer}}</dt>
<dd class="committer"><a {{bindAttr href="controller.urlCommitter"}}>{{commit.committerName}}</a></dd>
<dd class="committer">{{commit.committerName}}</dd>
{{/if}}
</div>
{{/with}}

View File

@ -29,11 +29,3 @@ Travis.reopen
urlGithubCommit: (->
Travis.Urls.githubCommit(@get('repo.slug'), @get('commit.sha'))
).property('repo.slug', 'commit.sha')
urlAuthor: (->
Travis.Urls.email(@get('commit.authorEmail'))
).property('commit.authorEmail')
urlCommitter: (->
Travis.Urls.email(@get('commit.committerEmail'))
).property('commit.committerEmail')