Skip to content

Commit

Permalink
fix(nav): Fixes custom menu rendering. Closes #236
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Oct 14, 2015
1 parent 5158547 commit 8c3c15d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
15 changes: 9 additions & 6 deletions buildConfig/environmentSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,15 @@
"title": "<<brand name here>> | Bioacoustic Workbench"
},
"content": {
"research": [
{
"innerText": "Example",
"url": "http://www.EXAMPLE.org/awebpage"
}
]
"research": {
"header_title": "Custom Menu",
"items": [
{
"innerText": "Example",
"url": "http://www.EXAMPLE.org/awebpage"
}
]
}
}
}
}
4 changes: 2 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
dropdown>
<a href=""
dropdown-toggle>
Research <span class="caret"></span>
{{:: researchPages.header_title }} <span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li ng-repeat="item in ::researchPages">
<li ng-repeat="item in ::researchPages.items">
<a ng-href="{{::item.url}}"
target="_self">{{::item.innerText}}</a>
</li>
Expand Down

0 comments on commit 8c3c15d

Please sign in to comment.