Skip to content

Commit

Permalink
Locations and floorplans split. Changed to right json file structure.
Browse files Browse the repository at this point in the history
(cherry picked from commit 96eb6b5)
Signed-off-by: cgars <[email protected]>
  • Loading branch information
fschrader1992 authored and cgars committed Aug 2, 2018
1 parent 75b1c13 commit f2e7a8d
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions app/views/template.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,19 @@
</li>
}

@if(conf.isPublished) {
<li class=@if(active.toLowerCase == "locations") {"active"} else {""}>
<a href="@routes.Application.locations(conf.short)">Locations</a>
</li>
}
@if(conf.isPublished) {
<li class=@if(active.toLowerCase == "locations") {"active"} else {""}>
<a href="@routes.Application.locations(conf.short)">Locations</a>
</li>
}

@if(conf.isPublished) {
<li class=@if(active.toLowerCase == "floorplans") {"active"} else {""}>
<a href="@routes.Application.floorplans(conf.short)">Floorplans</a>
</li>
}

@if(conference.get.isOpen && account.isDefined) {
@if(conference.get.isOpen && account.isDefined) {
<li class=@if(active.toLowerCase == "submission") {"active"} else {""}>
<a href="@routes.Application.submission(conf.short)">Submission</a>
</li>
Expand Down

0 comments on commit f2e7a8d

Please sign in to comment.