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.
Merge pull request #197 from ncbo/refactor/erb-notification
Proposed refactor: convert notification bodies to ERB templates
- Loading branch information
Showing
2 changed files
with
25 additions
and
20 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
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 %> |