Merge "Fix the flicker of the log on button name"

This commit is contained in:
Jenkins 2016-11-07 16:48:57 +00:00 committed by Gerrit Code Review
commit c9fb4e2283

View File

@ -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 %}