<commit_before>- import models.Menu
- import services.MenuService
- val test = MenuService.getMenuJson("header")

- val navbar = List(Menu(0,"About", "#about"), Menu(1,"Contact", "#contact"), Menu(2,"More", "#more"))

-# TODO: Use service at /menu/:menuName.json to get header menu

.navbar.navbar-fixed-top.navbar-inverse{:role => "navigation"}
	.container
		/ #{test}
		.navbar-header
			%button.navbar-toggle{:type => "button", "data-toggle" => "collapse", "data-target" => ".nav-collapse"}
				%span.sr-only Toggle navigation
				%span.icon-bar
				%span.icon-bar
				%span.icon-bar
			%a.navbar-brand{:href => "/"} Test Project
		.navbar-collapse.collapse
			%ul.nav.navbar-nav
				- for (item <- navbar) 
					%li 
						%a{:href => {item.url}} = item.displayName<commit_msg>fix for navbar toggle issue<commit_after>- import models.Menu
- import services.MenuService
- val test = MenuService.getMenuJson("header")

- val navbar = List(Menu(0,"About", "#about"), Menu(1,"Contact", "#contact"), Menu(2,"More", "#more"))

-# TODO: Use service at /menu/:menuName.json to get header menu

.navbar.navbar-fixed-top.navbar-inverse{:role => "navigation"}
	.container
		/ #{test}
		.navbar-header
			%button.navbar-toggle{:type => "button", "data-toggle" => "collapse", "data-target" => ".navbar-collapse"}
				%span.sr-only Toggle navigation
				%span.icon-bar
				%span.icon-bar
				%span.icon-bar
			%a.navbar-brand{:href => "/"} Test Project
		.navbar-collapse.collapse
			%ul.nav.navbar-nav
				- for (item <- navbar) 
					%li 
						%a{:href => {item.url}} = item.displayName
{'fraction_non_alphanumeric': 0.18872704243191893, 'fraction_numerical': 0.0037998733375554147, 'mean_word_length': 3.579710144927536, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2271334', 'n_tokens_mistral': 623, 'n_tokens_neox': 535, 'n_words': 111}