diff --git a/checkstyle-suppressions.xml b/checkstyle-suppressions.xml index 9cbcfecd2..f44eee730 100644 --- a/checkstyle-suppressions.xml +++ b/checkstyle-suppressions.xml @@ -1295,4 +1295,7 @@ - \ No newline at end of file + + + + diff --git a/webapp/src/main/webapp/WEB-INF/resources/shortview_config.n3 b/webapp/src/main/webapp/WEB-INF/resources/shortview_config.n3 deleted file mode 100644 index 6442acf06..000000000 --- a/webapp/src/main/webapp/WEB-INF/resources/shortview_config.n3 +++ /dev/null @@ -1,13 +0,0 @@ -# $This file is distributed under the terms of the license in LICENSE$ - -# -# Short View configuration -# -# This file allows a Vitro administrator to configure short view templates and data getters -# for individuals of particular classes in particular contexts. This is a transitional -# implementation, and should be replaced when the work on the Application and Display -# Ontology is complete. -# -# Find out how to use this file at -# https://wiki.lyrasis.org/display/VIVODOC112x/Creating+short+views+of+individuals -# diff --git a/webapp/src/main/webapp/favicon.ico b/webapp/src/main/webapp/favicon.ico index 6e38bd98b..fe9367085 100644 Binary files a/webapp/src/main/webapp/favicon.ico and b/webapp/src/main/webapp/favicon.ico differ diff --git a/webapp/src/main/webapp/robots.txt b/webapp/src/main/webapp/robots.txt index 6b2a8a6a2..ed35ce7c4 100644 --- a/webapp/src/main/webapp/robots.txt +++ b/webapp/src/main/webapp/robots.txt @@ -1,18 +1,25 @@ User-agent: * -Disallow: /admin/ -Disallow: /help/ -Disallow: /images/ -Disallow: /js/ -Disallow: /quickedits/ -Disallow: /site_icons/ -Disallow: /src/ -Disallow: /templates/ -Disallow: /themes/ -Disallow: /WEB-INF/ -Disallow: /xsl/ -Disallow: /search/ -Disallow: /coauthors/ -Disallow: /pubsbyorg/ -Disallow: /fedsearch/ -Disallow: /comments.jsp -Disallow: /dataservice/ +Disallow: /admin/ # Vitro +Disallow: /help/ # Vitro +Disallow: /images/ # Vitro +Disallow: /js/ # Vitro +Disallow: /quickedits/ # Vitro +Disallow: /site_icons/ # Vitro +Disallow: /src/ # Vitro +Disallow: /templates/ # Vitro +Disallow: /themes/ # Vitro +Disallow: /xsl/ # Vitro +Disallow: /search/ # Vitro +Disallow: /coauthors/ # Vitro +Disallow: /pubsbyorg/ # Vitro +Disallow: /fedsearch/ # Vitro +Disallow: /comments.jsp # Vitro +Disallow: /dataservice/ # Vitro +Disallow: /listrdf/ # Vitro +Disallow: /visualizationfm/ # VIVO addition +Disallow: /visualization/ # VIVO addition +Disallow: /vis/ # VIVO addition +Disallow: /visualizationAjax/ # VIVO addition +Disallow: /visualizationData/ # VIVO addition +Disallow: /qrcode # VIVO addition +Disallow: /individual # VIVO addition diff --git a/webapp/src/main/webapp/templates/freemarker/body/partials/menupage/menupage-browse.ftl b/webapp/src/main/webapp/templates/freemarker/body/partials/menupage/menupage-browse.ftl deleted file mode 100644 index bf9882b19..000000000 --- a/webapp/src/main/webapp/templates/freemarker/body/partials/menupage/menupage-browse.ftl +++ /dev/null @@ -1,49 +0,0 @@ -<#-- $This file is distributed under the terms of the license in LICENSE$ --> - -<#-- Template for browsing individuals in class groups for menupages --> - -<#import "lib-string.ftl" as str> - - - - diff --git a/webapp/src/main/webapp/templates/freemarker/body/partials/shortview/view-search-default.ftl b/webapp/src/main/webapp/templates/freemarker/body/partials/shortview/view-search-default.ftl index 5606236dd..be693ca26 100644 --- a/webapp/src/main/webapp/templates/freemarker/body/partials/shortview/view-search-default.ftl +++ b/webapp/src/main/webapp/templates/freemarker/body/partials/shortview/view-search-default.ftl @@ -2,10 +2,10 @@ <#-- Default individual search view --> -<#import "lib-properties.ftl" as p> +<#import "lib-vivo-properties.ftl" as p> -${individual.name} +${individual.name} -<@p.mostSpecificTypes individual /> +<@p.displayTitle individual />

${individual.snippet}

diff --git a/webapp/src/main/webapp/templates/freemarker/body/search/search-error.ftl b/webapp/src/main/webapp/templates/freemarker/body/search/search-error.ftl deleted file mode 100644 index 711a2bafe..000000000 --- a/webapp/src/main/webapp/templates/freemarker/body/search/search-error.ftl +++ /dev/null @@ -1,12 +0,0 @@ -<#-- $This file is distributed under the terms of the license in LICENSE$ --> - -<#-- Template for displaying search error message --> - -<#if title??> -

${title?html}

- - -

-${message?html} -

-<#include "search-help.ftl" > diff --git a/webapp/src/main/webapp/templates/freemarker/body/search/search-pagedResults.ftl b/webapp/src/main/webapp/templates/freemarker/body/search/search-pagedResults.ftl deleted file mode 100644 index 5d8f0f244..000000000 --- a/webapp/src/main/webapp/templates/freemarker/body/search/search-pagedResults.ftl +++ /dev/null @@ -1,120 +0,0 @@ -<#-- $This file is distributed under the terms of the license in LICENSE$ --> - -<#-- Template for displaying paged search results --> - -

-<#escape x as x?html> - ${i18n().search_results_for} '${querytext}' - <#if classGroupName?has_content>${i18n().limited_to_type} '${classGroupName}' - <#if typeName?has_content>${i18n().limited_to_type} '${typeName}' - - - - ${i18n().download_results} -<#-- --> -

- -${i18n().not_expected_results} -
- - <#-- Refinement links --> - <#if classGroupLinks?has_content> -
-

${i18n().display_only}

-
    - <#list classGroupLinks as link> -
  • ${link.text}(${link.count})
  • - -
-
- - - <#if classLinks?has_content> -
- <#if classGroupName?has_content> -

${i18n().limit} ${classGroupName} ${i18n().to}

- <#else> -

${i18n().limit_to}

- -
    - <#list classLinks as link> -
  • ${link.text}(${link.count})
  • - -
-
- - - <#-- Search results --> -
    - <#list individuals as individual> -
  • - <@shortView uri=individual.uri viewContext="search" /> -
  • - -
- - - <#-- Paging controls --> - <#if (pagingLinks?size > 0)> -
- ${i18n().pages}: - <#if prevPage??> - <#list pagingLinks as link> - <#if link.url??> - ${link.text} - <#else> - ${link.text} <#-- no link if current page --> - - - <#if nextPage??> -
- -
- - <#-- VIVO OpenSocial Extension by UCSF --> - <#if openSocial??> - <#if openSocial.visible> -

OpenSocial

- - - - - - -
- -${stylesheets.add('', - '', - '')} - -${headScripts.add('', - '', - '' - )} - -${scripts.add('')}