Updating minor fixes for rc4 (#3988)

This commit is contained in:
Asaad Mahmood
2016-09-08 17:48:29 +05:00
committed by enahum
parent b6ed10a31e
commit b3f6011fdb
2 changed files with 14 additions and 3 deletions

View File

@@ -14,9 +14,6 @@
<span style="font-size: 16px; font-weight: bold; color: #555; margin: 0 0 5px; display: inline-block;" >
{{.Props.ChannelName}}
</span>
<a class="post_btn" href="{{.Props.PostLink}}" style="font-size: 13px; background: #2389D7; display: inline-block; border-radius: 2px; color: #fff; padding: 6px 0; width: 120px; text-decoration: none; float:right; text-align: center; margin: 0 0 5px;">
{{.Props.Button}}
</a>
<br/>
<div style="margin: 5px 0 0;">
<span style="font-weight: bold; white-space: nowrap;">
@@ -31,6 +28,9 @@
<tr>
<td colspan=2>
<pre style="text-align:left; font-family: 'Lato', sans-serif; margin: 0px; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; line-height: 20px;">{{.Props.PostMessage}}</pre>
<a class="post_btn" href="{{.Props.PostLink}}" style="font-size: 13px; background: #2389D7; display: inline-block; border-radius: 2px; color: #fff; padding: 6px 0; width: 120px; text-decoration: none; float:left; text-align: center; margin: 15px 0 5px;">
{{.Props.Button}}
</a>
</td>
</tr>
</table>

View File

@@ -459,6 +459,17 @@ export default class LoginController extends React.Component {
);
}
if (gitlabSigninEnabled || samlSigninEnabled || office365SigninEnabled || googleSigninEnabled || gitlabSigninEnabled) {
loginControls.push(
<h5 key='oauthHeader'>
<FormattedMessage
id='login.signInWith'
defaultMessage='Sign in with:'
/>
</h5>
);
}
if (gitlabSigninEnabled) {
loginControls.push(
<a