forked from ontoportal/ontologies_linked_data
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create ERB template for OBO Foundry notification
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<% if missing_onts.present? %> | ||
<strong>The following OBO Foundry ontologies are missing from <%= ui_name %>:</strong><br /><br /> | ||
<% missing_onts.each do |ont| %> | ||
<a href="<%= ont['homepage'] %>"><%= ont['id'] %></a> (<%= ont['title'] %>)<br /><br /> | ||
<% end %> | ||
<% end %> | ||
|
||
<% if obsolete_onts.present? %> | ||
<strong>The following OBO Foundry ontologies have been deprecated:</strong><br /><br /> | ||
<% obsolete_onts.each do |ont| %> | ||
<a href="<%= ont['homepage'] %>"><%= ont['id'] %></a> (<%= ont['title'] %>)<br /><br /> | ||
<% end %> | ||
<% end %> | ||
|
||
<% if missing_onts.blank? && obsolete_onts.blank? %> | ||
<%= ui_name %> and the OBO Foundry are in sync. | ||
<% end %> |