Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Krishna Vemulavada
/
vera_2.1_app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
42bc0949
authored
May 03, 2018
by
Kunj Gupta
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fixed - Issue#4 - v0.0.1:V-Portal: show required in red color.
parent
d9625e90
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
app/src/main/java/com/vsoft/servicenow/ui/CatalogueVariableScreen.java
app/src/main/res/values/strings.xml
app/src/vportal/res/values/colors.xml
app/src/main/java/com/vsoft/servicenow/ui/CatalogueVariableScreen.java
View file @
42bc0949
...
...
@@ -668,8 +668,10 @@ public class CatalogueVariableScreen extends HandleNotificationActivity {
}
}
if
(
hasErrors
)
if
(
hasErrors
)
{
Toast
.
makeText
(
this
,
R
.
string
.
variable_form_mandatory_toast_string
,
Toast
.
LENGTH_SHORT
).
show
();
return
;
}
jsonArray
=
new
JSONArray
();
jsonArray
.
put
(
jsonObject
);
...
...
app/src/main/res/values/strings.xml
View file @
42bc0949
...
...
@@ -57,6 +57,7 @@
<string
name=
"password_string"
>
Password
</string>
<!--Variable Screen-->
<string
name=
"variable_form_mandatory_toast_string"
>
Fields marked with an asterisk(*) are mandatory.
</string>
<string
name=
"variable_form_misc_info_string"
>
%1$s [add %2$.2f]
</string>
<string
name=
"variable_form_header_string"
>
Submit Order
</string>
<string
name=
"variable_form_view_mandatory_sign_string"
>
<
font color="#FF0000"
>
*
<
/font
>
</string>
...
...
app/src/vportal/res/values/colors.xml
View file @
42bc0949
...
...
@@ -4,7 +4,7 @@
<color
name=
"colorPrimaryDark"
>
#6F9A3E
</color>
<color
name=
"colorAccent"
>
#6F9A3E
</color>
<color
name=
"item_gb_color"
>
#000000
</color>
<color
name=
"error_color"
>
#
6F9A3E
</color>
<color
name=
"error_color"
>
#
FF0000
</color>
<color
name=
"name_null_view_color"
>
#88FFA500
</color>
<color
name=
"view_not_implemented_color"
>
#6F9A3E
</color>
...
...
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