Fix pronto remarks

This commit is contained in:
augier 2015-11-08 17:40:12 +01:00 committed by theworldbright
parent c6bec2f2dc
commit 73c1f0bc70
4 changed files with 10 additions and 12 deletions

View file

@ -102,6 +102,5 @@
@import "blueimp-gallery";
@import "gallery";
/* settings */
@import "user_applications";
@import "bootstrap3-switch";
// settings
@import 'user_applications';

View file

@ -1,9 +1,9 @@
.application-img {
margin: 9px 0;
float: left;
width: 60px;
margin: 9px 0;
max-height: 60px;
text-align: center;
width: 60px;
[class^="entypo-"] {
font-size: 60px;
@ -11,6 +11,7 @@
margin: 0;
padding: 0;
width: 100%;
&::before {
position: relative;
top: -15px;
@ -19,10 +20,10 @@
}
.application-authorizations {
width: calc(100% - 60px);
padding: 0 0 15px 15px;
display: inline-block;
float: right;
padding: 0 0 15px 15px;
width: calc(100% - 60px);
}
.application-tos-policy > b {

View file

@ -1,14 +1,12 @@
class UserApplicationPresenter
attr_reader :scopes
def initialize(application, scopes, authorization_id=nil)
@app = application
@scopes = scopes
@authorization_id = authorization_id
end
def scopes
@scopes
end
def id
@authorization_id
end

View file

@ -79,7 +79,7 @@ end
def client_assertion_with_nonexistent_client_id_path
@client_assertion_with_nonexistent_client_id = File.join(File.dirname(__FILE__), "fixtures",
"client_assertion_with_nonexistent_client_id.txt")
"client_assertion_with_nonexistent_client_id.txt")
end
# Force fixture rebuild