Fix the flicker of the log on button name
A log on button name in horizon depends on auth_type. This patch will fix it so as to be displayed without a flicker after evaluation is finished. Change-Id: I174716651ea2f4ac894c7dd5d52e5f57fe8be06a Closes-Bug: #1627560
This commit is contained in:
parent
57140ceb6f
commit
ce3a0fbdd9
@ -65,9 +65,9 @@
|
||||
|
||||
<div class="panel-footer">
|
||||
{% block login_footer %}
|
||||
<button id="loginBtn" type="submit" class="btn btn-primary pull-right">
|
||||
<button id="loginBtn" type="submit" class="btn btn-primary pull-right" ng-cloak>
|
||||
<span ng-show="auth_type==='credentials'">{% trans "Sign In" %}</span>
|
||||
<span ng-hide="auth_type==='credentials'" ng-cloak>{% trans "Connect" %}</span>
|
||||
<span ng-hide="auth_type==='credentials'">{% trans "Connect" %}</span>
|
||||
</button>
|
||||
<div class="clearfix"></div>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user