Преглед изворни кода

Merge pull request #2806 from kralo/master

gui: add a lock icon to the folder title for easy overview (fixes #2703)
Audrius Butkevicius пре 9 година
родитељ
комит
d61b03701c
3 измењених фајлова са 3 додато и 1 уклоњено
  1. 1 0
      AUTHORS
  2. 1 0
      NICKS
  3. 1 1
      gui/default/index.html

+ 1 - 0
AUTHORS

@@ -57,6 +57,7 @@ Marc Pujol <[email protected]>
 Marcin Dziadus <[email protected]>
 Mateusz Naściszewski <[email protected]>
 Matt Burke <[email protected]> <[email protected]>
+Max Schulze <[email protected]> <[email protected]>
 Michael Jephcote <[email protected]> <[email protected]>
 Michael Ploujnikov <[email protected]>
 Michael Tilli <[email protected]>

+ 1 - 0
NICKS

@@ -41,6 +41,7 @@ KayoticSully	<[email protected]>
 kilburn		<[email protected]>
 kluppy	<[email protected]>
 kozec		<[email protected]>
+kralo	<[email protected]>
 krozycki	<[email protected]>
 letiemble	<[email protected]> <[email protected]>
 LordLandon	<[email protected]>

+ 1 - 1
gui/default/index.html

@@ -222,7 +222,7 @@
               <div class="panel-progress" ng-show="folderStatus(folder) == 'syncing'" ng-attr-style="width: {{syncPercentage(folder.id)}}%"></div>
               <div class="panel-progress" ng-show="folderStatus(folder) == 'scanning' && scanProgress[folder.id] != undefined" ng-attr-style="width: {{scanPercentage(folder.id)}}%"></div>
               <h3 class="panel-title">
-                <span class="fa fa-folder hidden-xs"></span>{{folder.id}}
+                <span class="fa hidden-xs fa-fw" ng-class="[folder.readOnly ? 'fa-lock' : 'fa-folder']"></span>{{folder.id}}
                 <span class="pull-right text-{{folderClass(folder)}}" ng-switch="folderStatus(folder)">
                   <span ng-switch-when="unknown"><span class="hidden-xs" translate>Unknown</span><span class="visible-xs">&#9724;</span></span>
                   <span ng-switch-when="unshared"><span class="hidden-xs" translate>Unshared</span><span class="visible-xs">&#9724;</span></span>