Skip to content

Commit

Permalink
Merge pull request #2793 from bcgov/fix/hamed-update-user-guide-links…
Browse files Browse the repository at this point in the history
…-2785

Fix: Update user guide links - 2785
  • Loading branch information
AlexZorkin authored Jan 13, 2024
2 parents 7364a4d + 63cc54e commit f9369f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions frontend/src/app/components/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ class Navbar extends Component {
</MenuItem>
<MenuItem
className="dropdown-hidden-item"
href={`/assets/files/Transportation_Fuels_Reporting_System_-_${this.props.loggedInUser.isGovernmentUser ? 'IDIR' : 'BCeID'}_Manual.pdf`}
href={`https://www2.gov.bc.ca/assets/gov/farming-natural-resources-and-industry/electricity-alternative-energy/transportation/renewable-low-carbon-fuels/transportation_fuels_reporting_system_${this.props.loggedInUser.isGovernmentUser ? 'idir' : 'bceid'}_user_guide.pdf`}
target="_blank"
>
<FontAwesomeIcon icon={['far', 'question-circle']} /> Help
Expand Down Expand Up @@ -244,7 +244,7 @@ class Navbar extends Component {
</NavLink>
<a
className="navbar-item"
href={`/assets/files/Transportation_Fuels_Reporting_System_-_${this.props.loggedInUser.isGovernmentUser ? 'IDIR' : 'BCeID'}_Manual.pdf`}
href={`https://www2.gov.bc.ca/assets/gov/farming-natural-resources-and-industry/electricity-alternative-energy/transportation/renewable-low-carbon-fuels/transportation_fuels_reporting_system_${this.props.loggedInUser.isGovernmentUser ? 'idir' : 'bceid'}_user_guide.pdf`}
id="navbar-help"
rel="noopener noreferrer"
target="_blank"
Expand Down Expand Up @@ -397,7 +397,7 @@ class Navbar extends Component {
</li>
<li>
<a
href={`/assets/files/Transportation_Fuels_Reporting_System_-_${this.props.loggedInUser.isGovernmentUser ? 'IDIR' : 'BCeID'}_Manual.pdf`}
href={`https://www2.gov.bc.ca/assets/gov/farming-natural-resources-and-industry/electricity-alternative-energy/transportation/renewable-low-carbon-fuels/transportation_fuels_reporting_system_${this.props.loggedInUser.isGovernmentUser ? 'idir' : 'bceid'}_user_guide.pdf`}
rel="noopener noreferrer"
target="_blank"
>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/dashboard/components/UserSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ class UserSettings extends Component {
<p><br /></p>
<div className="content">
<a
href={`/assets/files/Transportation_Fuels_Reporting_System_-_${this.props.loggedInUser.isGovernmentUser ? 'IDIR' : 'BCeID'}_Manual.pdf`}
href={`https://www2.gov.bc.ca/assets/gov/farming-natural-resources-and-industry/electricity-alternative-energy/transportation/renewable-low-carbon-fuels/transportation_fuels_reporting_system_${this.props.loggedInUser.isGovernmentUser ? 'idir' : 'bceid'}_user_guide.pdf`}
rel="noopener noreferrer"
target="_blank"
>
Help
</a>
<a
href={`/assets/files/Transportation_Fuels_Reporting_System_-_${this.props.loggedInUser.isGovernmentUser ? 'IDIR' : 'BCeID'}_Manual.pdf`}
href={`https://www2.gov.bc.ca/assets/gov/farming-natural-resources-and-industry/electricity-alternative-energy/transportation/renewable-low-carbon-fuels/transportation_fuels_reporting_system_${this.props.loggedInUser.isGovernmentUser ? 'idir' : 'bceid'}_user_guide.pdf`}
rel="noopener noreferrer"
target="_blank"
>
Expand Down

0 comments on commit f9369f7

Please sign in to comment.