Skip to content

Commit

Permalink
now SR number can be longer than 11
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilson Souza committed Jul 24, 2017
1 parent f526e55 commit 680699a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/dialogs.ycp
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ any ContactDialog () {
)),
`Frame (_("Upload Information"), `VBox(
`Left(`InputField(`id(`target), _("Upload Target"), deletechars(Support::options["VAR_OPTION_UPLOAD_TARGET"]:"", "'"))),
`Left(`InputField(`id(`novell_number), _("Novell 11 digit service request number"), Support::novell_number))
`Left(`InputField(`id(`novell_number), _("Service request number"), Support::novell_number))
)));

Wizard::SetContentsButtons(caption, contents, HELPS["contact"]:"",
Expand Down Expand Up @@ -530,8 +530,8 @@ any ContactDialog () {
Support::options["VAR_OPTION_GPG_UID"]=(string)UI::QueryWidget(`gpg_uid, `Value);
Support::novell_number=(string)UI::QueryWidget(`novell_number, `Value);
if (size(Support::novell_number)>0){
if (size(Support::novell_number)!=11){
Popup::Error(_("The SR number must be 11 digits"));
if (size(Support::novell_number)<11){
Popup::Error(_("The service request number must be at least 11 digits"));
ret=nil;
continue;
}
Expand Down
2 changes: 1 addition & 1 deletion src/helps.ycp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ ftp://ftp.novell.com/incoming<br>
scp://central.server.foo.com/supportconfig/archives</p>")
/* Contact dialog help 4/4 */
+ _("<p><b>Note:</b> If you are uploading a supportconfig tarball to Novell Technical Support,
make sure you include the Novell 11 digit service request number from your open service request."),
make sure you include the service request number from your open service request."),

/* Collecting data dialkog help 1/1 */
"collecting" : _("<p><b><big>Collecting Data</big></b>><br>
Expand Down

0 comments on commit 680699a

Please sign in to comment.