Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
10 additions
and
5 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 |
---|---|---|
@@ -1,7 +1,11 @@ | ||
<%= | ||
# Try to warn if this could be a typo. If we have an rft.object_id, then | ||
<%# Try to warn if this could be a typo. If we have an rft.object_id, then | ||
# SFX recognized it as an actually existing journal. If not, then it | ||
# might be a typo. If it came from a manually entered citation, warn them. | ||
content_tag(:div, content_tag(:i, "", :class => "umlaut_icons-famfamfam-error") + | ||
" Warning: #{umlaut_config.app_name} does not know about a #{user_request.referent.format.downcase} with this name. Please check your entry.", | ||
:class=>"alert alert-error") if display_not_found_warning?(user_request) %> | ||
%> | ||
<% if display_not_found_warning?(user_request) %> | ||
<div class="alert alert-error"> | ||
<i class="umlaut_icons-famfamfam-error"/> | ||
<%= t("umlaut.resolve.not_found_warning", :app_name => umlaut_config.app_name, :resource_type => user_request.referent.container_type_of_thing.downcase) %> | ||
</div> | ||
<% end %> |
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