Improved lang footer

This commit is contained in:
Igor Zhukov 2014-10-02 13:12:16 +04:00
parent e98456e65a
commit cb80dea568

View File

@ -1,5 +1,5 @@
<div class="footer_wrap" ng-controller="AppLangFooterController"> <div class="footer_wrap" ng-controller="AppLangFooterController">
<span ng-repeat="locale in supportedLocales"> <span ng-repeat="locale in ::supportedLocales">
<a class="footer_lang_link" ng-class="{active: curLocale == locale, disabled: curLocale == locale}" ng-disabled="curLocale == locale" ng-click="localeSelect(locale)" ng-bind="langNames[locale]"></a> <a class="footer_lang_link" ng-class="{active: curLocale == locale, disabled: curLocale == locale}" ng-disabled="curLocale == locale" ng-click="localeSelect(locale)" ng-bind="langNames[locale]"></a>
<span ng-if="!$last" class="footer_link_divider"></span> <span ng-if="!$last" class="footer_link_divider"></span>
</span> </span>