Skip to content

Commit 80ba0f6

Browse files
author
svuillet
committed
enhanced formonline
1 parent df33986 commit 80ba0f6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

mobile-war/src/main/java/org/silverpeas/mobile/client/apps/formsonline/pages/widgets/FormOnlineRequestItem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public void setData(FormRequestDTO data, boolean readOnly) {
6161
this.data = data;
6262
this.readOnly = readOnly;
6363
if (data.getTitle().isEmpty()) data.setTitle(" ");
64-
String html = "<h2 class='title'><a href='#'>" + data.getTitle() + "</a></h2>";
64+
String html = "<h2 class='title'><a href='#'>" + data.getFormName().replace(".xml","") + "&nbsp;n°" + data.getId() + "</a></h2>";
6565
if (!data.getDescription().isEmpty()) html += "<span class='description'>" + data.getDescription() + "</span>";
6666
html += "<span class='state'>" + data.getStateLabel() + "</span>" + "<span class='author'>" + data.getCreationDate() + "&nbsp;" + data.getCreator() + "</span>";
6767
content.setHTML(html);

mobile-war/src/main/java/org/silverpeas/mobile/public/spmobile.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2590,6 +2590,10 @@ a.popin-btn {
25902590

25912591
}
25922592

2593+
.forms-list h2.title::first-letter {
2594+
text-transform: capitalize;
2595+
}
2596+
25932597
.forms-list li .number {
25942598
float: right;
25952599
}

0 commit comments

Comments
 (0)