Skip to content

Commit efd049f

Browse files
authored
Merge pull request joni2back#324 from marcoserafini2/master
Enable/Disable MultiLang (Show/Hide change language button)
2 parents 6d9c54c + debce91 commit efd049f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/js/providers/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
var values = {
66
appName: 'angular-filemanager v1.5',
77
defaultLang: 'en',
8+
multiLang: true,
89

910
listUrl: 'bridges/php/handler.php',
1011
uploadUrl: 'bridges/php/handler.php',

src/templates/navbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</button>
3636

3737
<div class="btn-group">
38-
<button class="btn btn-flat btn-sm dropdown-toggle" type="button" id="dropDownMenuLang" data-toggle="dropdown" aria-expanded="true">
38+
<button class="btn btn-flat btn-sm dropdown-toggle" type="button" id="dropDownMenuLang" data-toggle="dropdown" aria-expanded="true" ng-show="config.multiLang">
3939
<i class="glyphicon glyphicon-globe mr2"></i>
4040
</button>
4141

0 commit comments

Comments
 (0)