-
-
Notifications
You must be signed in to change notification settings - Fork 489
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before only maintenance frequency was displayed but more information may be provided about the maintenance (eg. custom frequency, next update date, note).
- Loading branch information
1 parent
57bc1d5
commit b874f86
Showing
6 changed files
with
76 additions
and
15 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
38 changes: 38 additions & 0 deletions
38
web-ui/src/main/resources/catalog/views/default/templates/recordView/maintenance.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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<div data-ng-repeat="maintenance in mdView.current.record.maintenance"> | ||
<div data-ng-if="maintenance.frequency" class="gn-margin-bottom flex-row"> | ||
<span class="badge badge-rounded" title="{{'updateFrequency' | translate}}"> | ||
<i class="fa fa-fw fa-rotate"></i> | ||
</span> | ||
<div> | ||
<h3 data-translate="">updateFrequency</h3> | ||
<p>{{maintenance.frequency | translate}}</p> | ||
</div> | ||
</div> | ||
<div data-ng-if="maintenance.noteObject.default" class="gn-margin-bottom flex-row"> | ||
<span class="badge badge-rounded" title="{{'maintenanceNote' | translate}}"> | ||
<i class="fa fa-fw fa-rotate"></i> | ||
</span> | ||
<div> | ||
<h3 data-translate="">maintenanceNote</h3> | ||
<p>{{maintenance.noteObject.default}}</p> | ||
</div> | ||
</div> | ||
<div data-ng-if="maintenance.nextUpdateDate" class="gn-margin-bottom flex-row"> | ||
<span class="badge badge-rounded" title="{{'nextUpdateDate' | translate}}"> | ||
<i class="fa fa-fw fa-calendar-plus"></i> | ||
</span> | ||
<div> | ||
<h3 data-translate="">nextUpdateDate</h3> | ||
<p>{{maintenance.nextUpdateDate}}</p> | ||
</div> | ||
</div> | ||
<div data-ng-if="maintenance.userDefinedFrequency" class="gn-margin-bottom flex-row"> | ||
<span class="badge badge-rounded" title="{{'userDefinedFrequency' | translate}}"> | ||
<i class="fa fa-fw fa-rotate"></i> | ||
</span> | ||
<div> | ||
<h3 data-translate="">userDefinedFrequency</h3> | ||
<p data-gn-field-duration-div="{{maintenance.userDefinedFrequency}}"></p> | ||
</div> | ||
</div> | ||
</div> |
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