nvisionative / nvQuickTheme

nvQuickTheme is more than just a great minimalist DNN (DotNetNuke) theme. It is a powerful theme building framework and developer workflow.
https://nvisionative.github.io/nvQuickTheme/
Other
41 stars 40 forks source link

Move backlink to razor #331

Closed tksheppard closed 1 year ago

tksheppard commented 1 year ago

Related to Issue

Fixes #330

Description

This PR removes the backlink creation from the JS and adds it into the DDR Menu Razor Template for the mobile menu. It also removes duplicate code by adding the description to all levels and makes description showing conditional on existence. Also updated the mr-1 reference for backlinks to appropriate me-1 for BS5.

How Has This Been Tested?

Tested in local environment, built, ran. With multiple pages across multiple levels, the mobile menu works as expected.

Screenshots (if appropriate):

Types of changes

Checklist:

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication