diff --git a/app/controllers/caches.coffee b/app/controllers/caches.coffee index 4a266cc6..3c7fd3c4 100644 --- a/app/controllers/caches.coffee +++ b/app/controllers/caches.coffee @@ -17,7 +17,7 @@ Controller = Ember.Controller.extend deletingDone = => @set('isDeleting', false) repo = @get('repo') - Ajax.ajax("/repos/#{@get('cache.repository_id')}/caches", "DELETE").then(deletingDone, deletingDone).then => + Ajax.ajax("/repos/#{@get('repo.id')}/caches", "DELETE").then(deletingDone, deletingDone).then => @set('model', {}) `export default Controller` diff --git a/app/styles/app/layouts/profile.sass b/app/styles/app/layouts/profile.sass index 50669d75..5c23ad46 100644 --- a/app/styles/app/layouts/profile.sass +++ b/app/styles/app/layouts/profile.sass @@ -35,10 +35,6 @@ .cta-btn text-align: right - @media #{$large-up} - position: absolute - top: 1rem - right: 0 .profile-getstarted position: relative diff --git a/app/styles/app/layouts/top.sass b/app/styles/app/layouts/top.sass index 270ab3ed..b7543bce 100644 --- a/app/styles/app/layouts/top.sass +++ b/app/styles/app/layouts/top.sass @@ -15,7 +15,7 @@ $top-height: 55px p position: relative - margin: 0 + margin: auto padding: 0 .arrow @@ -92,7 +92,7 @@ $top-height: 55px position: relative a, - .navigation-handle span + .navigation-handle span:not(.sync-spinner) display: block color: #898989 border-bottom: solid 1px #eff0ec @@ -127,7 +127,7 @@ $top-height: 55px margin-right: 0 a, - .navigation-handle span + .navigation-handle span:not(.sync-spinner) padding: 0 .2em .navigation--profile diff --git a/app/styles/app/modules/tiles.sass b/app/styles/app/modules/tiles.sass index e9d61a18..4cdb12c1 100644 --- a/app/styles/app/modules/tiles.sass +++ b/app/styles/app/modules/tiles.sass @@ -14,7 +14,6 @@ background-color: $cream-light p margin: 0 - white-space: nowrap .icon vertical-align: middle .icon--lang @@ -133,10 +132,6 @@ position: absolute bottom: 0 - -// repo header -.tile--repo - // build history etc .tile--build .tile-main @@ -151,10 +146,12 @@ &:after @include fadeOut(right, -90deg, $cream-light) @media #{$xlarge-up} - @include grid-column(8) + @include grid-column(7) .tile-additional + p + white-space: nowrap @media #{$xlarge-up} - @include grid-column(4) + @include grid-column(5) p.tile-single-line padding: .7em 0 diff --git a/app/styles/app/popup.sass b/app/styles/app/popup.sass index 2dcdba7a..a7658ce9 100644 --- a/app/styles/app/popup.sass +++ b/app/styles/app/popup.sass @@ -42,6 +42,7 @@ p font-size: $font-size-normal + word-wrap: normal pre background-color: $color-bg-pre diff --git a/app/templates/account.hbs b/app/templates/account.hbs index 30026455..a7d0f77c 100644 --- a/app/templates/account.hbs +++ b/app/templates/account.hbs @@ -1,5 +1,25 @@ {{#if allHooks.isLoaded}} +
+ {{#if config.billingEndpoint}} +
+ {{#if view.subscribed}} + + Subscription active! + + {{else}} + {{#if view.education}} + + Educational account! + + {{else}} + + Sign up this account! + + {{/if}} + {{/if}} +
+ {{/if}}

{{view.name}}

diff --git a/app/templates/components/code-climate-popup.hbs b/app/templates/components/code-climate-popup.hbs index 7035909b..a6a366d2 100644 --- a/app/templates/components/code-climate-popup.hbs +++ b/app/templates/components/code-climate-popup.hbs @@ -7,7 +7,7 @@

Integrating Code Climate's test coverage reporting with your test suite on Travis CI allows to track changes in coverage over time. If you haven't tried it out already, sign + {{bind-attr href="config.codeClimateUrl"}} target="_blank">sign up today to improve your code's quality. New customers get 20% off for the first three months!

@@ -17,14 +17,14 @@
  1. - Add the `code-climate-reporter` gem to your Gemfile:
    +

    Add the `code-climate-reporter` gem to your Gemfile:

     gem "codeclimate-test-reporter", group: :test, require: nil
     
  2. - Load the reporter in your `test_helper` or `spec_helper`, putting it at the very top: +

    Load the reporter in your `test_helper` or `spec_helper`, putting it at the very top:

     require "codeclimate-test-reporter"
    @@ -32,7 +32,7 @@ CodeClimate::TestReporter.start
     
  3. - Add the Code Climate token to your .travis.yml: +

    Add the Code Climate token to your .travis.yml:

     addons:
    diff --git a/app/utils/keys-map.coffee b/app/utils/keys-map.coffee
    index 66f08736..2b2a704c 100644
    --- a/app/utils/keys-map.coffee
    +++ b/app/utils/keys-map.coffee
    @@ -17,6 +17,7 @@ languageConfigKeys = {
       jdk:         'JDK'
       rvm:         'Ruby'
       otp_release: 'OTP Release'
    +  rust:        'Rust'
     }
     
     configKeys = {