Browse Source

Add File Versioning to folder info (fixes #963)

Could potentially use shorter value strings ("Simple" vs "Simple File
Versioning"), but this avoid introducing unnecessary strings to
translate - can always be changed in the future.
Jakob Borg 11 years ago
parent
commit
f47a5a309d
2 changed files with 7 additions and 0 deletions
  1. 7 0
      gui/index.html
  2. 0 0
      internal/auto/gui.files.go

+ 7 - 0
gui/index.html

@@ -150,6 +150,13 @@
                       <th><span class="glyphicon glyphicon-refresh"></span>&emsp;<span translate>Rescan Interval</span></th>
                       <td class="text-right">{{folder.RescanIntervalS}} s</td>
                     </tr>
+                    <tr ng-if="folder.Versioning.Type">
+                      <th><span class="glyphicon glyphicon-tags"></span>&emsp;<span translate>File Versioning</span></th>
+                      <td class="text-right" ng-switch="folder.Versioning.Type">
+                        <span ng-switch-when="staggered" translate>Staggered File Versioning</span>
+                        <span ng-switch-when="simple" translate>Simple File Versioning</span>
+                      </td>
+                    </tr>
                     <tr>
                       <th><span class="glyphicon glyphicon-share-alt"></span>&emsp;<span translate>Shared With</span></th>
                       <td class="text-right">{{sharesFolder(folder)}}</td>

File diff suppressed because it is too large
+ 0 - 0
internal/auto/gui.files.go


Some files were not shown because too many files changed in this diff