Add a fetch tag dialog

This commit is contained in:
Joseph Schorr 2015-03-19 15:08:18 -04:00
parent c1d58bdd6c
commit 70aec00914
13 changed files with 258 additions and 2 deletions

View file

@ -54,6 +54,10 @@ angular.module('quay').factory('Config', [function() {
return config['PREFERRED_URL_SCHEME'] + '://' + auth + config['SERVER_HOSTNAME'];
};
config.getHttp = function() {
return config['PREFERRED_URL_SCHEME'];
};
config.getUrl = function(opt_path) {
var path = opt_path || '';
return config['PREFERRED_URL_SCHEME'] + '://' + config['SERVER_HOSTNAME'] + path;