Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
ThaliApp
Commits
2f5fa261
Commit
2f5fa261
authored
Aug 29, 2018
by
Gijs Hendriksen
Browse files
Added button to redirect non-members to the registration page
parent
c70bf244
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/assets/locales/nl/app/ui/screens/user/Login.json
View file @
2f5fa261
...
...
@@ -2,5 +2,6 @@
"Username"
:
"Gebruikersnaam"
,
"Password"
:
"Wachtwoord"
,
"LOGIN"
:
"INLOGGEN"
,
"Forgot password?"
:
"Wachtwoord vergeten?"
"Forgot password?"
:
"Wachtwoord vergeten?"
,
"Become a member"
:
"Lid worden"
}
app/ui/screens/login/LoginScreen.js
View file @
2f5fa261
...
...
@@ -74,9 +74,12 @@ class LoginScreen extends Component {
textStyle
=
{
styles
.
loginButtonText
}
underlayColor
=
{
Colors
.
white
}
/
>
<
Text
style
=
{
styles
.
forgotpass
}
onPress
=
{()
=>
Linking
.
openURL
(
`
${
url
}
/password_reset/`
)}
>
<
Text
style
=
{
styles
.
linkText
}
onPress
=
{()
=>
Linking
.
openURL
(
`
${
url
}
/password_reset/`
)}
>
{
t
(
'
Forgot password?
'
)}
<
/Text
>
<
Text
style
=
{
styles
.
linkText
}
onPress
=
{()
=>
Linking
.
openURL
(
`
${
url
}
/registration/`
)}
>
{
t
(
'
Become a member
'
)}
<
/Text
>
<
/View
>
);
...
...
app/ui/screens/login/style/LoginScreen.js
View file @
2f5fa261
...
...
@@ -22,10 +22,10 @@ const styles = StyleSheet.create({
marginRight
:
16
,
},
},
forgotpass
:
{
linkText
:
{
alignSelf
:
'
center
'
,
color
:
Colors
.
darkGrey
,
margin
Bottom
:
10
,
margin
Top
:
10
,
android
:
{
fontFamily
:
'
sans-serif-medium
'
,
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment