Skip to content

Commit

Permalink
Further update for #43
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertPeek committed Jul 13, 2022
1 parent cd72225 commit 51909cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The attributes listed below are used in *contentObjects.json* to configure **Del
#### *contentObjects.json*
The following attributes, set within *contentObjects.json*, configure the defaults for **Box Menu**.

**\_id** (string): This is a unique identifier that establishes relationships with other content structures. It is referenced in *articles.json* as the `_parentid` of an article model.
**\_id** (string): This is a unique identifier that establishes relationships with other content structures. It is referenced in *articles.json* as the `_parentId` of an article model.

**\_parentId** (string): This value is sourced from the parent element's `_id` found within *course.json*. It must match.

Expand Down Expand Up @@ -58,7 +58,7 @@ Several menu-related elements are assigned a label using the [aria-label](https:
No known limitations.

----------------------------
**Version number:** 4.2.2
**Version number:** 4.2.3
**Framework versions:** 5.8+
**Author / maintainer:** Forked from [Adapt Core](https://github.com/adaptlearning/adapt-contrib-boxmenu) / DeltaNet
**Accessibility support:** WAI AA
Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "adapt-contrib-deltaboxMenu",
"version": "4.2.2",
"version": "4.2.3",
"framework": ">=5.8",
"homepage": "https://github.com/deltanet/adapt-contrib-deltaboxmenu",
"issues": "https://github.com/deltanet/adapt-contrib-deltaboxmenu/issues",
"menu": "deltaboxmenu",
"displayName": "DeltaNet's Box Menu",
"description": "DeltaNet's enhanced version of the core box menu.",
"description": "Enhanced version of the core box menu.",
"main": "js/adapt-contrib-deltaBoxMenu.js",
"keywords": [
"adapt-plugin",
Expand Down
3 changes: 3 additions & 0 deletions templates/deltaBoxMenuItem.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@
{{#if _assessment}}
{{#if _assessmentPassed}}
<img class="image-visited" src="{{#if _deltaBoxMenu._graphic.passed}}{{_deltaBoxMenu._graphic.passed}}{{else}}{{#if _deltaBoxMenu._graphic.visited}}{{_deltaBoxMenu._graphic.visited}}{{else}}{{_graphic.src}}{{/if}}{{/if}}" aria-hidden="true"/>
<img class="image-hover" src="{{#if _deltaBoxMenu._graphic.hover}}{{_deltaBoxMenu._graphic.hover}}{{else}}{{#if _deltaBoxMenu._graphic.visited}}{{_deltaBoxMenu._graphic.visited}}{{else}}{{_graphic.src}}{{/if}}{{/if}}" aria-hidden="true">
{{else}}
<img class="image-visited" src="{{#if _deltaBoxMenu._graphic.failed}}{{_deltaBoxMenu._graphic.failed}}{{else}}{{#if _deltaBoxMenu._graphic.visited}}{{_deltaBoxMenu._graphic.visited}}{{else}}{{_graphic.src}}{{/if}}{{/if}}" aria-hidden="true"/>
<img class="image-hover" src="{{#if _deltaBoxMenu._graphic.hover}}{{_deltaBoxMenu._graphic.hover}}{{else}}{{#if _deltaBoxMenu._graphic.visited}}{{_deltaBoxMenu._graphic.visited}}{{else}}{{_graphic.src}}{{/if}}{{/if}}" aria-hidden="true">
{{/if}}
{{else}}
<img class="image-visited" src="{{#if _deltaBoxMenu._graphic.complete}}{{_deltaBoxMenu._graphic.complete}}{{else}}{{#if _deltaBoxMenu._graphic.visited}}{{_deltaBoxMenu._graphic.visited}}{{else}}{{_graphic.src}}{{/if}}{{/if}}" aria-hidden="true"/>
<img class="image-hover" src="{{#if _deltaBoxMenu._graphic.hover}}{{_deltaBoxMenu._graphic.hover}}{{else}}{{#if _deltaBoxMenu._graphic.visited}}{{_deltaBoxMenu._graphic.visited}}{{else}}{{_graphic.src}}{{/if}}{{/if}}" aria-hidden="true">
{{/if}}

{{else}}
Expand Down

0 comments on commit 51909cc

Please sign in to comment.