Remove github stats
This commit is contained in:
parent
d76463c3f2
commit
ba1eecec45
|
@ -10,7 +10,6 @@
|
||||||
|
|
||||||
<p class="description">{{description}}</p>
|
<p class="description">{{description}}</p>
|
||||||
|
|
||||||
{{view Travis.RepoShowStatsView}}
|
|
||||||
{{view Travis.RepoShowTabsView}}
|
{{view Travis.RepoShowTabsView}}
|
||||||
{{view Travis.RepoShowToolsView}}
|
{{view Travis.RepoShowToolsView}}
|
||||||
{{/with}}
|
{{/with}}
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
<ul class="github-stats">
|
|
||||||
<!-- <li class="language">
|
|
||||||
{{lastBuildLanguage}}
|
|
||||||
</li> -->
|
|
||||||
<li>
|
|
||||||
<a class="watchers" title="Watchers" {{bindAttr href="view.urlGithubWatchers"}}>
|
|
||||||
{{view.stats.watchers}}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a class="forks" title="Forks" {{bindAttr href="view.urlGithubNetwork"}}>
|
|
||||||
{{view.stats.forks}}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
|
@ -11,19 +11,6 @@ Travis.reopen
|
||||||
@get('repos.isLoaded') && @get('repos.length') == 0
|
@get('repos.isLoaded') && @get('repos.length') == 0
|
||||||
).property('repos.isLoaded', 'repos.length')
|
).property('repos.isLoaded', 'repos.length')
|
||||||
|
|
||||||
RepoShowStatsView: Travis.View.extend
|
|
||||||
templateName: 'repos/show/stats'
|
|
||||||
repoBinding: 'parentView.repo'
|
|
||||||
statsBinding: 'repo.stats'
|
|
||||||
|
|
||||||
urlGithubWatchers: (->
|
|
||||||
Travis.Urls.githubWatchers(@get('repo.slug'))
|
|
||||||
).property('repo.slug'),
|
|
||||||
|
|
||||||
urlGithubNetwork: (->
|
|
||||||
Travis.Urls.githubNetwork(@get('repo.slug'))
|
|
||||||
).property('repo.slug'),
|
|
||||||
|
|
||||||
ReposEmptyView: Travis.View.extend
|
ReposEmptyView: Travis.View.extend
|
||||||
template: ''
|
template: ''
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user