fix signup button on profile on pro
This commit is contained in:
parent
89f055cbd0
commit
60bd9e6a26
|
@ -35,10 +35,6 @@
|
|||
|
||||
.cta-btn
|
||||
text-align: right
|
||||
@media #{$large-up}
|
||||
position: absolute
|
||||
top: 1rem
|
||||
right: 0
|
||||
|
||||
.profile-getstarted
|
||||
position: relative
|
||||
|
|
|
@ -1,24 +1,6 @@
|
|||
{{#if allHooks.isLoaded}}
|
||||
|
||||
<header>
|
||||
|
||||
<div class="profile-header">
|
||||
<h1>{{view.name}}</h1>
|
||||
</div>
|
||||
|
||||
{{#if user.isSyncing}}
|
||||
<div class="sync-button">
|
||||
<button class="button is-syncing">
|
||||
<span class="sync-spinner"><i></i><i></i><i></i></span>Syncing from GitHub
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
{{else}}
|
||||
<div class="sync-button">
|
||||
<button {{action sync}} class="button">
|
||||
<span class="icon icon-sync"></span>Sync
|
||||
</button>
|
||||
<p class="sync-last">last synced {{format-time user.syncedAt}}</p>
|
||||
</div>
|
||||
{{#if config.billingEndpoint}}
|
||||
<div class="cta-btn">
|
||||
{{#if view.subscribed}}
|
||||
|
@ -38,6 +20,25 @@
|
|||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="profile-header">
|
||||
<h1>{{view.name}}</h1>
|
||||
</div>
|
||||
|
||||
{{#if user.isSyncing}}
|
||||
<div class="sync-button">
|
||||
<button class="button is-syncing">
|
||||
<span class="sync-spinner"><i></i><i></i><i></i></span>Syncing from GitHub
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
{{else}}
|
||||
<div class="sync-button">
|
||||
<button {{action sync}} class="button">
|
||||
<span class="icon icon-sync"></span>Sync
|
||||
</button>
|
||||
<p class="sync-last">last synced {{format-time user.syncedAt}}</p>
|
||||
</div>
|
||||
{{#if config.pro}}
|
||||
<p>We're only showing your private repositories. You can find your public projects on <a href="https://travis-ci.org" title="travis-ci.org">travis-ci.org</a>.</p>
|
||||
{{else}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user