make 'My Repos' come before 'Recent' in sidebar
This commit is contained in:
parent
028e8c76ce
commit
5cf2c65d2f
|
@ -1,7 +1,7 @@
|
|||
require 'travis/limited_array'
|
||||
|
||||
Travis.ReposController = Ember.ArrayController.extend
|
||||
defaultTab: 'recent'
|
||||
defaultTab: 'owned'
|
||||
isLoadedBinding: 'content.isLoaded'
|
||||
needs: ['currentUser', 'repo']
|
||||
currentUserBinding: 'controllers.currentUser'
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
<ul class="tabs">
|
||||
<li id="tab_recent" {{bindAttr class="view.classRecent"}}>
|
||||
<h5><a {{action activate "recent" target="view"}}>{{t layouts.application.recent}}</a></h5>
|
||||
</li>
|
||||
<li id="tab_owned" {{bindAttr class="view.classOwned"}}>
|
||||
<h5><a {{action activate "owned" target="view"}}>{{t layouts.application.my_repositories}}</a></h5>
|
||||
</li>
|
||||
|
||||
<li id="tab_recent" {{bindAttr class="view.classRecent"}}>
|
||||
<h5><a {{action activate "recent" target="view"}}>{{t layouts.application.recent}}</a></h5>
|
||||
</li>
|
||||
|
||||
<li id="tab_search" {{bindAttr class="view.classSearch"}}>
|
||||
<h5><a {{action activate "search" target="view"}}>{{t layouts.application.search}}</a></h5>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue
Block a user