Fixed a few cosmetic S3 issues
This commit is contained in:
@@ -73,7 +73,8 @@ namespace Duplicati.Library.Backend
|
||||
|
||||
static S3() {
|
||||
var ns = new List<KeyValuePair<string, string>> {
|
||||
new KeyValuePair<string, string>("Standard", "STANDARD"),
|
||||
new KeyValuePair<string, string>("(default)", ""),
|
||||
new KeyValuePair<string, string>("Standard", "STANDARD"),
|
||||
new KeyValuePair<string, string>("Infrequent Access (IA)", "STANDARD_IA"),
|
||||
new KeyValuePair<string, string>("Glacier", "GLACIER"),
|
||||
new KeyValuePair<string, string>("Reduced Redundancy Storage (RRS)", "REDUCED_REDUNDANCY"),
|
||||
|
||||
@@ -37,11 +37,11 @@
|
||||
|
||||
<label for="s3_storageclass">Storage class</label>
|
||||
|
||||
<select name="s3_storageclass" id="s3_storageclass" ng-model="$parent.s3_storageclass" ng-options="v as k + ' (' + v + ')' for (k, v) in s3_storageclass | orderBy: k" title="The storage class affects the availability and price for a stored file">
|
||||
<select name="s3_storageclass" id="s3_storageclass" ng-model="$parent.s3_storageclass" ng-options="v as k + ' (' + v + ')' for (k, v) in s3_storageclasses | orderBy: k" title="The storage class affects the availability and price for a stored file">
|
||||
<option value="">Custom storage class</option>
|
||||
</select>
|
||||
|
||||
<input ng-hide="contains_value(s3_storageclasses, s3_storageclass)" type="text" id="s3_storageclass_custom" ng-model="$parent.s3_storageclass_custom" placeholder="Custom region for creating buckets"/>
|
||||
<input ng-hide="contains_value(s3_storageclasses, s3_storageclass)" type="text" id="s3_storageclass_custom" ng-model="$parent.s3_storageclass_custom" placeholder="Custom bucket storage class"/>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user