navigation menu update; other

This commit is contained in:
tmshv committed 2016-03-04 15:45:11 +03:00
1 parent f07c39c317
commit e68cfd7b2c
9 files changed
+19 -54

No files matched your search

+2 -1
View File
@@ -3,7 +3,8 @@ import template from '../../templates/components/navigation.html';
export default function (app) {
app.component('navigation', {
bindings: {
menu: '<'
menu: '<',
rightText: '@'
},
template: template,
controllerAs: '$'
+2 -2
View File
@@ -4,7 +4,7 @@ const nbsp = 0xA0;
export const mobileMatchSelector = '(max-device-width: 30em)';
export let contacts = {
export const contacts = {
telephone: '+7 (81362) 76-312',
email: 'hudozka@gmail.com',
address: ['г. Шлиссельбург', 'ул. 18 января', 'д. 3']
@@ -12,7 +12,7 @@ export let contacts = {
.join(' ')
};
export let collectiveSortPattern = [
export const collectiveSortPattern = [
'mg-timasheva',
'va-sarzhin',
'od-gogoleva',
+2 -1
View File
@@ -1,4 +1,4 @@
import {footer, mobileMatchSelector} from '../config';
import {footer, mobileMatchSelector, contacts} from '../config';
export default function (app) {
app.controller('AppController', ($scope, menu) => {
@@ -12,6 +12,7 @@ export default function (app) {
$scope.navigation = 'main-menu';
}
$scope.phone = contacts.telephone;
$scope.menuProvider = menu.items;
$scope.footer = footer;
});