TACC / Core-CMS-Custom

Customized Core CMS code and builds
5 stars 0 forks source link

Task/wp 290 fix broken links #228

Closed sophia-massie closed 10 months ago

sophia-massie commented 10 months ago

Overview

Fix broken links in on register submit header (footer link was removed in last PR) and when someone attempts with no submitter ID tries to access the extension page.

Related

Changes

Changed links on register submit page in the header where it says Data Submission guide Change links on template if you try to access the extension request page without a submitter ID

Testing

  1. Go to http://localhost:8000/register/request-to-submit/ and make sure the link takes you to the data files PDF like the home page.
  2. In apps/extensions/view.py change line 46 to the code below to trigger the no submitter ID template. Make sure the link there works as well. if not submitters and all((submitter[0] is not None for submitter in submitters)):