Skip to content

Commit 71c1968

Browse files
committed
Expose the project enddate in the project viewer/editor
Seems to work fine.
1 parent a5c5598 commit 71c1968

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

WebUI/Templates/LSWProject/LSWProjectEditor.wod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ ProjectEditor: LSWObjectEditor {
3030
{ key = "name"; },
3131
{ key = "number"; label = "code"; },
3232
{ key = "startDate"; calendarFormat = "%Y-%m-%d"; time = "00:00:00"; },
33+
{ key = "endDate"; calendarFormat = "%Y-%m-%d"; time = "23:59:59"; }
3334
);
3435
}
3536

WebUI/Templates/LSWProject/SkyProjectInlineViewer.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@
1515
<tr>
1616
<#SubAttributeCell><#Font><#StartDateLabel/>:</#Font></#SubAttributeCell>
1717
<#SubValueCell><#Font>
18-
<#ProjectStartDate/> <!-- - <#ProjectEndDate/> -->
18+
<#ProjectStartDate/>
19+
</#Font></#SubValueCell>
20+
</tr>
21+
<tr>
22+
<#SubAttributeCell><#Font><#EndDateLabel/>:</#Font></#SubAttributeCell>
23+
<#SubValueCell><#Font>
24+
<#ProjectEndDate/>
1925
</#Font></#SubValueCell>
2026
</tr>
2127

WebUI/Templates/LSWProject/SkyProjectInlineViewer.wod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Buttons: SkyButtonRow {
2525
NameLabel: WOString { value = labels.name; }
2626
NumberLabel: WOString { value = labels.number; }
2727
StartDateLabel: WOString { value = labels.startDate; }
28+
EndDateLabel: WOString { value = labels.endDate; }
2829

2930
ProjectName: WOString { value = project.name; }
3031
ProjectNumber: WOString { value = project.number; }

0 commit comments

Comments
 (0)