Commit dfaae0a9 authored by Matija Obreza's avatar Matija Obreza
Browse files

<cms:informative-h1

parent 17885f9d
......@@ -13,6 +13,7 @@ encoding//src/main/resources/content/language_sl.properties=UTF-8
encoding//src/main/resources/content/language_zh.properties=UTF-8
encoding//src/main/webapp/WEB-INF/decorator/header.jsp=UTF-8
encoding//src/main/webapp/WEB-INF/jsp/accession/data.jsp=UTF-8
encoding//src/main/webapp/WEB-INF/jsp/accession/explore.jsp=UTF-8
encoding//src/main/webapp/WEB-INF/jsp/descr/index.jsp=UTF-8
encoding//src/main/webapp/WEB-INF/jsp/login.jsp=UTF-8
encoding//src/main/webapp/WEB-INF/jsp/metadata/index.jsp=UTF-8
......
......@@ -95,6 +95,9 @@ menu.copying=Copyright policy
menu.privacy=Privacy policy
menu.newsletter=Genesys Newsletter
menu.join-the-community=Join the Genesys Community
menu.news=News
page.news.title=News
page.news.intro=The latest from across the Genesys community – from details of the newest members to updates on accessions being conserved around the world.
# Extra content
menu.what-is-genesys=What is Genesys?
......@@ -124,6 +127,7 @@ user.account-disabled=Account disabled
user.account-locked-until=Account locked until
user.roles=User roles
userprofile.page.title=User profile
userprofile.page.intro=As a community, Genesys relies on its users to be successful. Whether you’re an individual researcher or represent a larger institution, you can update your profile here to show your interests and the data in your collection.
userprofile.update.title=Update your profile
user.page.list.title=Registered user accounts
......@@ -138,6 +142,7 @@ activity.recent-activity=Recent activity
country.page.profile.title=Country profile: {0}
country.page.list.title=Country list
country.page.list.intro=By clicking on a country name, you can find registered institutes in the country as well as statistics on plant genetic resources in the country as a whole.
country.page.not-current=This is a historic entry.
country.page.faoInstitutes={0} institutes registered in WIEWS
country.stat.countByLocation={0} accessions at institutes in this country
......@@ -321,6 +326,7 @@ accession.page.profile.title=Accession profile: {0}
accession.page.resolve.title=Multiple accessions found
accession.resolve=Multiple accessions with the name ''{0}'' found in Genesys. Select one from the list.
accession.page.data.title=Accession browser
accession.page.data.intro=Explore the accession data with Genesys. To refine your search, add filters such as country of origin, crop, species, or the latitude and longitude of the collecting site.
accession.taxonomy-at-institute=View {0} at {1}
accession.svalbard-data=Svalbard Global Seed Vault duplication data
......@@ -336,6 +342,7 @@ taxonomy.taxonName=Scientific name
taxonomy-list=Taxonomy list
selection.page.title=Selected accessions
selection.page.intro=As you explore the millions of accessions held in Genesys, you can create your own list to keep track of the results of your search. Your selections are stored here so you can return to them at any time.
selection.add=Add {0} to list
selection.remove=Remove {0} from list
selection.clear=Clear the list
......@@ -404,6 +411,7 @@ search.add-genesys-opensearch=Register Genesys Search with your browser
admin.page.title=Genesys 2 Administration
metadata.page.title=Datasets
metadata.page.intro=Browse the characterization and evaluation data sets uploaded to Genesys by researchers and research organizations. For each one you can download the data in Excel or CVS format.
metadata.page.view.title=Dataset details
metadata.download-dwca=Download ZIP
page.login=Login
......@@ -467,6 +475,7 @@ client.details.description=Description
maps.loading-map=Loading map...
maps.view-map=View map
maps.accession-map=Accession map
maps.accession-map.intro=The map shows the collecting site of geo-referenced accessions.
audit.createdBy=Created by {0}
audit.lastModifiedBy=Last updated by {0}
......@@ -578,6 +587,7 @@ session.expiry-extend=Extend session
download.kml=Download KML
data-overview=Statistical overview
data-overview.intro=A statistical overview of the information stored in Genesys for the currently applied filters – everything from the total number of accessions by country, to the diversity of the collections.
data-overview.short=Overview
data-overview.institutes=Holding institutes
data-overview.composition=Composition of genebank holdings
......@@ -658,3 +668,7 @@ statistics.phenotypic.stats-text=Of the {0} accessions, {1} accessions ({2,numbe
twitter.tweet-this=Tweet!
twitter.follow-X=Follow @{0}
linkedin.share-this=Share on LinkedIn
welcome.read-more=Read more about Genesys
twitter.latest-on-twitter=Latest on Twitter
video.play-video=Play video
......@@ -7,10 +7,9 @@
<title><spring:message code="accession.page.data.title" /></title>
</head>
<body>
<h1>
<spring:message code="accession.page.data.title" />
</h1>
<%--Dropdown filters--%>
<cms:informative-h1 title="accession.page.data.title" fancy="${pagedData.number eq 0}" info="accession.page.data.intro" />
<%--Dropdown filters--%>
<div class="main-col-header clearfix">
<div class="nav-header">
......
......@@ -7,9 +7,7 @@
<title><spring:message code="maps.accession-map" /></title>
</head>
<body>
<h1>
<spring:message code="maps.accession-map" />
</h1>
<cms:informative-h1 title="maps.accession-map" fancy="true" info="maps.accession-map.intro" />
<div class="main-col-header clearfix">
<div class="nav-header">
......
......@@ -7,9 +7,8 @@
<title><spring:message code="data-overview" /></title>
</head>
<body>
<h1>
<spring:message code="data-overview" />
</h1>
<cms:informative-h1 title="data-overview" fancy="true" info="data-overview.intro" />
<div class="main-col-header clearfix">
<div class="row">
......
......@@ -7,9 +7,7 @@
<title><spring:message code="country.page.list.title" /></title>
</head>
<body>
<h1>
<spring:message code="country.page.list.title" />
</h1>
<cms:informative-h1 title="country.page.list.title" fancy="true" info="country.page.list.intro" />
<div class="main-col-header clearfix">
<div class="nav-header pull-left">
......
......@@ -7,9 +7,7 @@
<title><spring:message code="metadata.page.title" /></title>
</head>
<body>
<h1>
<spring:message code="metadata.page.title" />
</h1>
<cms:informative-h1 title="metadata.page.title" fancy="${pagedData.number eq 0}" info="metadata.page.intro" />
<div class="main-col-header clearfix">
<div class="nav-header pull-left">
......
......@@ -7,9 +7,7 @@
<title><spring:message code="selection.page.title" /></title>
</head>
<body>
<h1>
<spring:message code="selection.page.title" />
</h1>
<cms:informative-h1 title="selection.page.title" fancy="true" info="selection.page.intro" />
<c:if test="${pagedData == null}">
<div class="alert alert-info">
......
......@@ -7,9 +7,7 @@
<title><spring:message code="userprofile.page.title" /></title>
</head>
<body>
<h1>
<spring:message code="userprofile.page.title" />
</h1>
<cms:informative-h1 title="userprofile.page.title" fancy="true" info="userprofile.page.intro" />
<security:authorize access="hasRole('ADMINISTRATOR') || (isAuthenticated() && principal.user.id == #user.id)">
<a href="<c:url value="/profile/${user.uuid}/edit" />" class="close"> <spring:message code="edit" /></a>
......
<%@ tag description="Display menu with menu items" pageEncoding="UTF-8"%>
<%@ tag body-content="empty"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="local" tagdir="/WEB-INF/tags"%>
<%@ taglib prefix="cms" tagdir="/WEB-INF/tags/cms"%>
<%@ attribute name="title" required="true" type="java.lang.String"%>
<%@ attribute name="fancy" required="false" rtexprvalue="true" type="java.lang.Boolean"%>
<%@ attribute name="info" required="false" type="java.lang.String"%>
<c:if test="${fancy eq true and info ne null}">
<div class="informative-h1 row">
<div class="col-md-12 col-sm-12">
<h1>
<spring:message code="${title}" />
</h1>
<p><spring:message code="${info}" /></p>
</div>
<%-- <div class="col-md-6 hidden-sm">
xxxx
</div> --%>
</div>
</c:if>
<c:if test="${fancy eq null or not fancy or info eq null}">
<h1>
<spring:message code="${title}" />
</h1>
</c:if>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment