-
Notifications
You must be signed in to change notification settings - Fork 536
Description
Hi!
Creating this as a follow-up from https://dataverse.zulipchat.com/#narrow/channel/378866-troubleshooting/topic/404static.2Exhtml.20file . 404static.xhtml file introduced in v6.0 is not generic and contains harvard specific link and text:
So, we suggest following changes to 404static.xhtml to make it more generic:
-
Remove following code snippet as it is Harvard specific:
-
In the file, #{bundle['footer.dataverseProject']} is used for Header. Instead can use #{bundle['dataverse']}:
Reference to code:
<h:outputFormat class="navbar-brand custom-logo" value="#{bundle['footer.dataverseProject']}"/>
-
The logo image at the bottom could be specified as "./resources/images/dataverseproject_logo.png" instead of "https://cdn.rawgit.com/IQSS/dataverse/develop/src/main/webapp/resources/images/dataverseproject_logo.png" .
Some installations like us may face CSP restriction to have external link references as shown below:
The missing alert-danger spec for error message is also due to this external reference URL of bootstrap.min.css and bootstrap-theme.min.css in 404static.xhtml file.