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.
Refactor relationship date time interval properties
The field types conflicted with property of the same name on Process.
- Loading branch information
Showing
8 changed files
with
34 additions
and
49 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.
14 changes: 7 additions & 7 deletions
14
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> |
File renamed without changes.
File renamed without changes.