fix org name bug in dropdown, prepare for new search

This commit is contained in:
Lisa Passing 2015-03-02 12:51:53 +01:00
parent 879a6e9a94
commit a334230962
3 changed files with 12 additions and 7 deletions

View File

@ -1,6 +1,6 @@
.search
@include grid-column(3)
float : right
// @include grid-column(3)
// float : right
ul
text-align : left
margin : 0

View File

@ -4,7 +4,16 @@
<span class="loading"></span>
{{else}}
<a href="" title="">
{{#if selected }}<img src="https://placehold.it/30x30" alt="">{{selected.name}} {{else}} All organizations {{/if}}
{{#if selected }}
<img src="https://placehold.it/30x30" alt="">
{{#if selected.name}}
{{selected.name}}
{{else}}
{{selected.login}}
{{/if}}
{{else}}
All organizations
{{/if}}
</a><span class="icon-arrow-down"></span>
{{/if}}
</div>

View File

@ -4,10 +4,6 @@
<div class="float-right">
{{sync-button user=auth.currentUser}}
</div>
{{!-- <div class="search">
{{filter-input placeholder="Search all repositories" class="search-field"
action="updateFilter" on="key-up"}}
</div> --}}
</div>
</div>