Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
new_excelso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Prasetya Saputra
new_excelso
Commits
2153547f
Commit
2153547f
authored
Jun 17, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
translate pada bagian email confirmation dan merubah kyboard type jadi numeric
parent
2b10bd76
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
EmailConfirmation.js
view/EmailConfirmation.js
+7
-5
No files found.
view/EmailConfirmation.js
View file @
2153547f
...
@@ -7,6 +7,7 @@ import ActionType from '../redux/globalActionType';
...
@@ -7,6 +7,7 @@ import ActionType from '../redux/globalActionType';
import
{
BASE_URL_LOGIN
}
from
'../model/Base_Model'
;
import
{
BASE_URL_LOGIN
}
from
'../model/Base_Model'
;
import
Spinner
from
'react-native-loading-spinner-overlay'
;
import
Spinner
from
'react-native-loading-spinner-overlay'
;
import
MyStatusBar
from
'./MyStatusBar'
;
import
MyStatusBar
from
'./MyStatusBar'
;
import
i18n
from
'i18n-js'
;
class
EmailConfirmation
extends
React
.
Component
{
class
EmailConfirmation
extends
React
.
Component
{
...
@@ -212,19 +213,19 @@ class EmailConfirmation extends React.Component {
...
@@ -212,19 +213,19 @@ class EmailConfirmation extends React.Component {
value
=
{
this
.
state
.
confirmation_number
}
value
=
{
this
.
state
.
confirmation_number
}
autoCapitalize
=
"none"
autoCapitalize
=
"none"
value
=
{
this
.
state
.
email
}
value
=
{
this
.
state
.
email
}
keyboardType
=
'
email-address
'
/>
keyboardType
=
'
numeric
'
/>
<
TouchableOpacity
style
=
{{
height
:
100
}}
onPress
=
{()
=>
this
.
handleSubmit
()}
>
<
TouchableOpacity
style
=
{{
height
:
100
}}
onPress
=
{()
=>
this
.
handleSubmit
()}
>
<
View
style
=
{{
backgroundColor
:
'#CFB368'
,
height
:
45
,
top
:
10
,
borderRadius
:
10
,
marginRight
:
50
,
marginLeft
:
50
}}
>
<
View
style
=
{{
backgroundColor
:
'#CFB368'
,
height
:
45
,
top
:
10
,
borderRadius
:
10
,
marginRight
:
50
,
marginLeft
:
50
}}
>
<
Text
style
=
{{
alignSelf
:
'center'
,
top
:
10
,
color
:
'white'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
20
}}
>
SUBMIT
<
/Text
>
<
Text
style
=
{{
alignSelf
:
'center'
,
top
:
10
,
color
:
'white'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
20
}}
>
{
i18n
.
t
(
'submit'
)}
<
/Text
>
<
/View
>
<
/View
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
TouchableOpacity
style
=
{{
height
:
100
}}
onPress
=
{()
=>
this
.
handleCancel
()}
>
<
TouchableOpacity
style
=
{{
height
:
100
}}
onPress
=
{()
=>
this
.
handleCancel
()}
>
<
View
style
=
{{
backgroundColor
:
'#CFB368'
,
height
:
45
,
top
:
10
,
borderRadius
:
10
,
marginRight
:
50
,
marginLeft
:
50
}}
>
<
View
style
=
{{
backgroundColor
:
'#CFB368'
,
height
:
45
,
top
:
10
,
borderRadius
:
10
,
marginRight
:
50
,
marginLeft
:
50
}}
>
<
Text
style
=
{{
alignSelf
:
'center'
,
top
:
10
,
color
:
'white'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
20
}}
>
CANCEL
<
/Text
>
<
Text
style
=
{{
alignSelf
:
'center'
,
top
:
10
,
color
:
'white'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
20
}}
>
{
i18n
.
t
(
'cancel'
)}
<
/Text
>
<
/View
>
<
/View
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
TouchableOpacity
style
=
{{
height
:
60
}}
onPress
=
{()
=>
this
.
handleResend
()}
>
<
TouchableOpacity
style
=
{{
height
:
60
}}
onPress
=
{()
=>
this
.
handleResend
()}
>
<
Text
style
=
{{
alignSelf
:
'center'
,
color
:
'#CFB368'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
20
,
top
:
10
}}
>
RESEND
EMAIL
TOKEN
<
/Text
>
<
Text
style
=
{{
alignSelf
:
'center'
,
color
:
'#CFB368'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
20
,
top
:
10
}}
>
{
i18n
.
t
(
'resendemail'
)}
<
/Text
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
{
this
.
props
.
proses
==
'Register'
?
(
{
this
.
props
.
proses
==
'Register'
?
(
<
TouchableOpacity
style
=
{{
height
:
60
}}
onPress
=
{()
=>
this
.
props
.
navigation
.
navigate
(
'Change Email'
)}
>
<
TouchableOpacity
style
=
{{
height
:
60
}}
onPress
=
{()
=>
this
.
props
.
navigation
.
navigate
(
'Change Email'
)}
>
...
@@ -310,7 +311,8 @@ const mapStateToProps = (state) => {
...
@@ -310,7 +311,8 @@ const mapStateToProps = (state) => {
page
:
state
.
page
,
page
:
state
.
page
,
registration_id
:
state
.
registration_id
,
registration_id
:
state
.
registration_id
,
pageEmailConfirmation
:
state
.
pageEmailConfirmation
,
pageEmailConfirmation
:
state
.
pageEmailConfirmation
,
proses
:
state
.
proses
proses
:
state
.
proses
,
language
:
state
.
language
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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