Tweak the text on the dangerous scope authorization.

This commit is contained in:
Jake Moshenko 2014-08-06 16:39:32 -04:00
parent 5aaa2163cb
commit 00f093cc64

View file

@ -39,7 +39,7 @@
{% if scope.dangerous %} {% if scope.dangerous %}
<i class="fa fa-lg fa-exclamation-triangle" <i class="fa fa-lg fa-exclamation-triangle"
data-title="This scope grants a lot of power. Be careful when authorizing it!" data-title="This scope grants permissions which are potentially dangerous. Be careful when authorizing it!"
data-container="body" bs-tooltip></i> data-container="body" bs-tooltip></i>
{% endif %} {% endif %}
</div> </div>
@ -49,7 +49,7 @@
<div id="description-{{ index }}" class="panel-collapse {% if not scope.dangerous %} collapse {% else %} in {% endif %}"> <div id="description-{{ index }}" class="panel-collapse {% if not scope.dangerous %} collapse {% else %} in {% endif %}">
<div class="panel-body"> <div class="panel-body">
{% if scope.dangerous %} {% if scope.dangerous %}
<div class="alert alert-warning">Warning! This scope grants a lot of power. Be careful when authorizing it!</div> <div class="alert alert-warning">This scope grants permissions which are potentially dangerous. Be careful when authorizing it!</div>
{% endif %} {% endif %}
{{ scope.description }} {{ scope.description }}
@ -91,10 +91,9 @@
<h4 class="modal-title">Confirm Authorization</h4> <h4 class="modal-title">Confirm Authorization</h4>
</div> </div>
<div class="modal-body"> <div class="modal-body">
The application <strong>{{ application.name }}</strong> is requesting access to scopes with wide The application <strong>{{ application.name }}</strong> is requesting permission to perform actions which are potentially dangerous.
permissions.
<br><br> <br><br>
Really authorize? Are you sure you want to authorize this application?
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<form method="post" action="/oauth/authorizeapp" style="display: inline-block"> <form method="post" action="/oauth/authorizeapp" style="display: inline-block">