yii2-authclient
yii2-authclient copied to clipboard
Title label no longer in the code
What steps will reproduce the problem?
Upgraded to 2.1 using composer
What's expected?
previously a text label visually appeared below each icon
What do you get instead?
only the icons
Additional info
Here was the old code that was generated
<div id="w0" class="auth-clients"><ul class="auth-clients clear"><li class="auth-client"><a class="google auth-link" href="/site/auth?mode=signup&authclient=google"><span class="auth-icon google"></span><span class="auth-title">Google</span></a></li><li class="auth-client"><a class="facebook auth-link" href="/site/auth?mode=signup&authclient=facebook"><span class="auth-icon facebook"></span><span class="auth-title">Facebook</span></a></li><li class="auth-client"><a class="linkedin auth-link" href="/site/auth?mode=signup&authclient=linkedin"><span class="auth-icon linkedin"></span><span class="auth-title">LinkedIn</span></a></li></ul></div>
The visible label is generated by the html
<span class="auth-title">Facebook</span>
AuthChoice.php has code in clientclink to generate the auth-icon $text = Html::tag('span', '', ['class' => 'auth-icon ' . $client->getName()]); but there's no code to generate auth-title although it is defined in the css
| Q | A |
|---|---|
| Yii version | 2.0.15 |
| Yii Auth Client version | 2.1.5 |
| Yii HTTP Client version | |
| PHP version | 7.x |
| Operating system |