Thanks that worked for me.
I edited base-layout-cssjs-loader.xsl adding a reference to my css file as part of the <xsl:template name="css-load"> template like:
<link href="{/root/gui/url}/static/my-css.css" rel="stylesheet" media="screen" ></link>
James
-----Original Message-----
From: Florent Gravin [mailto:florent.gravin@…137…]
Sent: 09 May 2017 13:22
To: Francois Prunayre <fx.prunayre@...54...>
Cc: Passmore, James H. <jpass@...933...>; geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Hide dataset progress code stamps?
Yes just add a CSS rule
.gn-status {
display: none;
}
On Wed, May 3, 2017 at 4:49 PM, Francois Prunayre <fx.prunayre@...54... <mailto:fx.prunayre@…54…> > wrote:
Hi,
2017-05-03 15:59 GMT+02:00 Passmore, James H. <jpass@...933... <mailto:jpass@…933…> >:
In the 3.n versions of GeoNetwork, the progress code for the dataset /
resource being described by the metadata, is stamped on top of the metadata
record
For example in this page we have stamps for "On going" (onGoing) and
"Completed".
http://metadata.bgs.ac.uk/mica/srv/eng/catalog.search#/
search?facet.q=orgName%2FEUR-Lex&resultType=details&fast=
index&_content_type=json&from=1&to=20&sortBy=relevance
Is it possible to configure GeoNetwork to not show these stamps?
You can probably change the template to render results here
https://github.com/geonetwork/core-geonetwork/blob/develop/web-ui/src/main/resources/catalog/components/search/resultsview/partials/viewtemplates/grid.html#L75
or apply custom CSS rules to hide the badge.
HTH
Francois
James Passmore
GIS and WWW Specialist
-------------------------------
British Geological Survey,
Environmental Science Centre,
KEYWORTH,
United Kingdom,
NG12 5GG
Linked Data (vCard):http://data.bgs.ac.uk/ref/BritishGeologicalSurvey
w3w:http://w3w.co/firmly.legs.craftsmen
-------------------------------
Phone:+44 (0)115 936 3125 <tel:%2B44%20%280%29115%20936%203125>
Fax:+44 (0)115 936 3200 <tel:%2B44%20%280%29115%20936%203200>
-------------------------------
jpass@...933... <mailto:jpass@…933…>
http://www.bgs.ac.uk/
-------------------------------
Skype:BGSjames
________________________________
This message (and any attachments) is for the recipient only. NERC is
subject to the Freedom of Information Act 2000 and the contents of this
email and any reply you make may be disclosed by NERC unless it is exempt
from release under the Act. Any material supplied to NERC may be stored in
an electronic records management system.
________________________________
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net <mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/
projects/geonetwork
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net <mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
--
camptocamp
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS
Florent Gravin
0479444492
________________________________
This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system.
________________________________