2016-06-12 14:06:48 +00:00
< modal id = "editIgnores" status = "default" heading = "{{'Ignore Patterns' | translate}}" large = "yes" closeable = "yes" >
< div class = "modal-body" >
< p translate > Enter ignore patterns, one per line.< / p >
< textarea class = "form-control" rows = "15" > < / textarea >
2015-08-02 08:27:05 +02:00
2016-06-12 14:06:48 +00:00
< hr / >
2015-08-02 08:27:05 +02:00
2016-10-27 17:02:19 +00:00
< p class = "small" > < span translate > Quick guide to supported patterns< / span > (< a href = "https://docs.syncthing.net/users/ignoring.html" target = "_blank" translate > full documentation< / a > ):< / p >
2016-06-12 14:06:48 +00:00
< dl class = "dl-horizontal dl-narrow small" >
< dt > < code > !< / code > < / dt > < dd > < span translate > Inversion of the given condition (i.e. do not exclude)< / span > < / dd >
< dt > < code > *< / code > < / dt > < dd > < span translate > Single level wildcard (matches within a directory only)< / span > < / dd >
< dt > < code > **< / code > < / dt > < dd > < span translate > Multi level wildcard (matches multiple directory levels)< / span > < / dd >
< dt > < code > //< / code > < / dt > < dd > < span translate > Comment, when used at the start of a line< / span > < / dd >
< / dl >
2015-08-10 11:22:37 +02:00
< / div >
2016-06-12 14:06:48 +00:00
< div class = "modal-footer" >
2017-04-01 09:58:06 +00:00
< div class = "pull-left" ng-show = "editingExisting" > < span translate translate-value-path = "{{currentFolder.path}}{{system.pathSeparator}}.stignore" > Editing {%path%}.< / span > < / div >
< div class = "pull-left" ng-show = "!editingExisting" > < span translate translate-value-path = "{{currentFolder.path}}{{system.pathSeparator}}.stignore" > Creating ignore patterns, overwriting an existing file at {%path%}.< / span > < / div >
< button type = "button" class = "btn btn-primary btn-sm" ng-click = "editingExisting ? saveIgnores() : angular.noop()" data-dismiss = "modal" >
2016-06-12 14:06:48 +00:00
< span class = "fa fa-check" > < / span > < span translate > Save< / span >
< / button >
< button type = "button" class = "btn btn-default btn-sm" data-dismiss = "modal" >
< span class = "fa fa-times" > < / span > < span translate > Close< / span >
< / button >
< / div >
2017-04-01 09:58:06 +00:00
< / modal >