You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by an...@apache.org on 2019/07/10 15:53:08 UTC

[incubator-dlab] 05/19: [DLAB-829]: added limit quantities of characters for project name

This is an automated email from the ASF dual-hosted git repository.

ankovalyshyn pushed a commit to branch feature/projects
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit ac49475016aad95f8564b05bbbae8b70f2b31605
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Fri Jul 5 14:20:33 2019 +0300

    [DLAB-829]: added limit quantities of characters for project name
---
 .../administration/project/project-form/project-form.component.html   | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/project/project-form/project-form.component.html b/services/self-service/src/main/resources/webapp/src/app/administration/project/project-form/project-form.component.html
index 052bcd8..93d37db 100644
--- a/services/self-service/src/main/resources/webapp/src/app/administration/project/project-form/project-form.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/administration/project/project-form/project-form.component.html
@@ -68,9 +68,13 @@
                   exists.</span>
                 <span class="error" *ngIf="!projectForm?.controls.name.valid
                   && !projectForm?.controls.name.hasError('duplication')
+                  && !projectForm?.controls.name.hasError('limit')
                   && projectForm?.controls.name.dirty">Project name can only contain letters, numbers, hyphens and '_'
                   but can not end with special characters
                 </span>
+                <span class="error" *ngIf="projectForm?.controls.name.hasError('limit')">
+                  Project name cannot exceed 50 characters
+                </span>
               </div>
             </div>
             <div class="control-group">


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org