Opened 6 years ago

Last modified 5 years ago

#2257 addressed enhancement

Move hard coded NPGS/US specific references to web.config parameters

Reported by: Martin Reisinger Owned by: Kay Kittell
Priority: medium Milestone: Server 2.1.1
Component: Public Website 2 Version: N/A
Severity: Keywords:
Cc: marty.reisinger@… Database Engine: N/A
Operating System: N/A

Description

In the GG international meeting on 4/8/2021, the request was made to move all hard coded references that are USDA/NPGS labels to some common place for easy admininistration. One suggestion was to move to web.config. Included in that request were items such as:

  • GRIN-Global PW. "Hard coded" labels/Texts. (JCAM)

o Site.master
 Version
 Distribution policy
o order.aspx
 "The accession within the NPGS are available in small quantities......"
 "Please consider providing the NPGS with publication information involving accessions used..."
 "Privacy Act Information: This information is provided pursuant to Public Law 93-579 (Privacy Act of 1974) for individuals completing Federal records.."
o ContactUs.aspx
 “U.S. National Germplasm System”

Additionally, there is a login banner for the CT in the app_settings table. If this could also be included in web.config, that would assist with the GG installation for genebanks other than USDA's.

Change History (4)

comment:1 by Kay Kittell, 6 years ago

Status: new → addressed

Added web.config key of "ShortName." Used "ShortName" and "GeneBankName" from the web.config to allow internationals to change NPGS/U.S. National Plant Germplasm System to their needs.
Files changed:
Controls/uploader
controls/accessiondetail/accessionpassport
emails/attachments.html, contactus.html,forgotpw.html, newuseremail.html, newusersubject.txt,orders.html
contactus.cs
createprofile.cs
descriptors.aspx
distribution.aspx
forgotpw.cs
order
orderhistorydetail
search
site.master
web.config


comment:2 by Kay Kittell, 5 years ago

Not sure what happened to all these changes. Did this again and made changes to:
controls/accessiondetail/accessionpassport
uploader.cs, emails/attachments.html,
contactus.csm emails, contactus.html,
forgotpw.cs, forgotpw.html,
newuseremail.html, newusersubject.txt, createprofile.cs
orders.html, order.cs
orderhistorydetail
search
Site.Master
web.config

Pushed to git 8/9

comment:3 by Kay Kittell, 5 years ago

also changed controls/accessiondetail/accessionavailability

comment:4 by Kay Kittell, 5 years ago

Milestone: Server Release (TBD) → Server 2.1.1
Note: See TracTickets for help on using tickets.