diff --git a/auth/permissions.py b/auth/permissions.py index ae398092d..f970450af 100644 --- a/auth/permissions.py +++ b/auth/permissions.py @@ -89,6 +89,8 @@ class QuayDeferredPermissionUser(Identity): if not self._permissions_loaded: logger.debug('Loading user permissions after deferring.') user_object = model.get_user_by_uuid(self.id) + if user_object is None: + return super(QuayDeferredPermissionUser, self).can(permission) # Add the superuser need, if applicable. if (user_object.username is not None and diff --git a/static/css/quay.css b/static/css/quay.css index 08438df08..82c1e91e8 100644 --- a/static/css/quay.css +++ b/static/css/quay.css @@ -1347,13 +1347,16 @@ i.toggle-icon:hover { position: relative; } -.plan-price:after { - content: "/ mo"; - position: absolute; - bottom: 0px; - right: 20px; - font-size: 12px; - color: #aaa; + +@media (min-width: 768px) { + .plan-price:after { + content: "/ mo"; + position: absolute; + bottom: 0px; + right: 20px; + font-size: 12px; + color: #aaa; + } } .plans-list .plan .count { @@ -1516,9 +1519,6 @@ i.toggle-icon:hover { right: 0px; } -.landing-filter.signedin { -} - .landing-content { z-index: 2; } @@ -1528,7 +1528,6 @@ i.toggle-icon:hover { } .landing .call-to-action { - height: 40px; font-size: 18px; padding-left: 14px; padding-right: 14px; @@ -3547,6 +3546,22 @@ p.editable:hover i { font-size: 16px; } +.plans-table ul { + margin-top: 10px; + padding: 0px; +} + + +.plans-table ul li { + padding: 4px; + margin: 0px; +} + +.plans-table ul li .plan-info { + padding: 4px; +} + + .repo-breadcrumb-element .crumb { cursor: pointer; } diff --git a/static/directives/header-bar.html b/static/directives/header-bar.html index 903de59bd..dc82a425a 100644 --- a/static/directives/header-bar.html +++ b/static/directives/header-bar.html @@ -19,8 +19,21 @@