diff --git a/app/styles/app/layouts/profile.sass b/app/styles/app/layouts/profile.sass index 5ee3b87c..22576048 100644 --- a/app/styles/app/layouts/profile.sass +++ b/app/styles/app/layouts/profile.sass @@ -25,6 +25,13 @@ .sync-button margin-top: .5em + .cta-btn + text-align: right + @media #{$large-up} + position: absolute + top: 1rem + right: 0 + .profile-getstarted position: relative margin-bottom: 3rem diff --git a/app/styles/app/modules/buttons.sass b/app/styles/app/modules/buttons.sass index e8d35b10..53dbb6f7 100644 --- a/app/styles/app/modules/buttons.sass +++ b/app/styles/app/modules/buttons.sass @@ -97,6 +97,25 @@ $button-border-color: #d4d4d4 .button--fixedwidth width: 8em +.btn-activate, +.btn-activated + font-size: $font-size-sm + border: none + // padding-right: 2.5em + &:hover + background-color: $grey2 + +.btn-activated + background-color: #39a85b + color: $white + // @extend .icon-hook-on + // background: + // repeat: no-repeat + // position: 92% 45% + &:hover + background-color: darken(#39a85b, 10) + + // temp #auth #navigation .button--signin, #auth #navigation .button--signingin diff --git a/app/templates/account.hbs b/app/templates/account.hbs index 346554bc..c2f920e0 100644 --- a/app/templates/account.hbs +++ b/app/templates/account.hbs @@ -18,7 +18,25 @@

last synced {{format-time user.syncedAt}}

- + {{#if config.billingEndpoint}} +
+ {{#if view.subscribed}} + + Subscription active! + + {{else}} + {{#if view.education}} + + Educational account! + + {{else}} + + Sign up this account! + + {{/if}} + {{/if}} +
+ {{/if}} {{#if config.pro}}

We're only showing your private repositories. You can find your public projects on travis-ci.org.

{{else}} diff --git a/app/templates/profile/show.hbs b/app/templates/profile/show.hbs index 09994c18..e14bec3b 100644 --- a/app/templates/profile/show.hbs +++ b/app/templates/profile/show.hbs @@ -1,22 +1,24 @@
- {{#if config.billingEndpoint}} - {{#if view.subscribed}} - - Subscription active! - - {{else}} - {{#if view.education}} - - Educational account! +{{!-- {{#if config.billingEndpoint}} +
+ {{#if view.subscribed}} + + Subscription active! {{else}} - - Sign up this account! - + {{#if view.education}} + + Educational account! + + {{else}} + + Sign up this account! + + {{/if}} {{/if}} - {{/if}} - {{/if}} +
+ {{/if}} --}} {{!-- {{view 'profile-tabs'}} --}}