Change the filename to .dockercfg

This commit is contained in:
Joseph Schorr 2013-10-22 22:46:43 -04:00
parent a22c8de38a
commit 4b25d2458b
2 changed files with 2 additions and 2 deletions

View file

@ -514,7 +514,7 @@ function RepoAdminCtrl($scope, Restangular, $routeParams, $rootScope) {
var file = JSON.stringify(config, null, ' ');
var blob = new Blob([file]);
saveAs(blob, token.friendlyName + "-dockercfg");
saveAs(blob, '.dockercfg');
};
$scope.addNewPermission = function(username) {

View file

@ -186,7 +186,7 @@
<div class="modal-footer">
<span class="download-cfg" ng-show="isDownloadSupported()">
<i class="icon-download"></i>
<a href="javascript:void(0)" ng-click="downloadCfg(shownToken)">Download dockercfg file</a>
<a href="javascript:void(0)" ng-click="downloadCfg(shownToken)">Download .dockercfg file</a>
</span>
<div id="clipboardCopied" style="display: none">
Copied to clipboard