forked from vivo-community/scholars-discovery
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Issue 368] Refactor relationship date time interval properties (#369)
* Refactor relationship date time interval properties The field types conflicted with property of the same name on Process. * Add eof newline to template file
- Loading branch information
Showing
9 changed files
with
42 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
src/main/resources/defaults/displayViews/organizations/overview/dateTimeInterval.html
This file was deleted.
Oops, something went wrong.
16 changes: 8 additions & 8 deletions
16
src/main/resources/defaults/displayViews/relationships/overview/dateTimeInterval.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<div> | ||
{{#if dateTimeIntervalStart}} | ||
{{#if dateTimeIntervalEnd}} | ||
<span>{{toYear dateTimeIntervalStart}}</span> | ||
{{#if startDateTime}} | ||
{{#if endDateTime}} | ||
<span>{{toYear startDateTime}}</span> | ||
<span>-</span> | ||
<span>{{toYear dateTimeIntervalEnd}}</span> | ||
<span>{{toYear endDateTime}}</span> | ||
{{else}} | ||
<span>{{toYear dateTimeIntervalStart}}</span> | ||
<span>{{toYear startDateTime}}</span> | ||
{{/if}} | ||
{{else}} | ||
{{#if dateTimeIntervalEnd}} | ||
<span>{{toYear dateTimeIntervalEnd}}</span> | ||
{{#if endDateTime}} | ||
<span>{{toYear endDateTime}}</span> | ||
{{/if}} | ||
{{/if}} | ||
</div> | ||
</div> |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters