This repository was archived by the owner on Mar 26, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -54,13 +54,16 @@ class NavBar extends React.Component {
54
54
55
55
let classes = "signupin-glyph d-none d-md-flex align-items-md-center" ;
56
56
57
+ // Sign-in only, see https://github.com/mozilla/network-pulse-api/issues/768
58
+ // let linkLabel = "Signin / Signup";
59
+ let linkLabel = "Signin" ;
57
60
let link = (
58
61
< a
59
62
href = { user . getLoginURL ( utility . getCurrentURL ( ) ) }
60
63
onClick = { ( event ) => this . handleSignInBtnClick ( event ) }
61
64
className = { classes }
62
65
>
63
- Signin / Signup
66
+ { linkLabel }
64
67
</ a >
65
68
) ;
66
69
@@ -180,16 +183,22 @@ class NavBar extends React.Component {
180
183
}
181
184
182
185
renderSignInRequest ( ) {
186
+ // Sign-in only, see https://github.com/mozilla/network-pulse-api/issues/768
187
+ // let headerText = "Signup or Signin to your Pulse Account";
188
+ // let linkLabel = "Signin / Signup";
189
+ let headerText = "Sign in to your Pulse Account" ;
190
+ let linkLabel = "Signin" ;
191
+
183
192
return (
184
193
< div className = "signupin-request text-center" >
185
- < h3 > Signup or Signin to your Pulse Account </ h3 >
194
+ < h3 > { headerText } </ h3 >
186
195
< p > Share your projects or help out on other projects in our Network.</ p >
187
196
< a
188
197
href = { user . getLoginURL ( utility . getCurrentURL ( ) ) }
189
198
onClick = { ( event ) => this . handleSignInBtnClick ( event ) }
190
199
className = "btn btn-secondary"
191
200
>
192
- Signin / Signup
201
+ { linkLabel }
193
202
</ a >
194
203
</ div >
195
204
) ;
You can’t perform that action at this time.
0 commit comments