5ba619f897d221a39948ed433780a46e521c7a84
parent
cce1b45fa7
commit
f5ccf30dea
|
@ -88,8 +88,8 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div tg-joy-ride></div>
|
<div tg-joy-ride></div>
|
||||||
<script src="/js/libs.js?v=1446548535351"></script>
|
<script src="/js/libs.js?v=1446553998212"></script>
|
||||||
<script src="/js/templates.js?v=1446548535351"></script>
|
<script src="/js/templates.js?v=1446553998212"></script>
|
||||||
<script src="/js/app-loader.js?v=1446548535351"></script>
|
<script src="/js/app-loader.js?v=1446553998212"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -1,7 +1,7 @@
|
||||||
(function() {
|
(function() {
|
||||||
var promise, version;
|
var promise, version;
|
||||||
|
|
||||||
version = 1446548535385;
|
version = 1446553998230;
|
||||||
|
|
||||||
window.taigaConfig = {
|
window.taigaConfig = {
|
||||||
"api": "http://localhost:8000/api/v1/",
|
"api": "http://localhost:8000/api/v1/",
|
||||||
|
|
|
@ -21870,6 +21870,70 @@
|
||||||
}).call(this);
|
}).call(this);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2014-2015 Andrey Antukh <niwi@niwi.be>
|
||||||
|
* Copyright (C) 2014-2015 Jesús Espino Garcia <jespinog@gmail.com>
|
||||||
|
* Copyright (C) 2014-2015 David Barragán Merino <bameda@dbarragan.com>
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Affero General Public License as
|
||||||
|
* published by the Free Software Foundation, either version 3 of the
|
||||||
|
* License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
* File: modules/resources/projects.coffee
|
||||||
|
*/
|
||||||
|
|
||||||
|
(function() {
|
||||||
|
var module, resourceProvider, sizeFormat, taiga;
|
||||||
|
|
||||||
|
taiga = this.taiga;
|
||||||
|
|
||||||
|
sizeFormat = this.taiga.sizeFormat;
|
||||||
|
|
||||||
|
resourceProvider = function($repo) {
|
||||||
|
var _list, service;
|
||||||
|
_list = function(projectId, resource) {
|
||||||
|
return $repo.queryMany(resource, {
|
||||||
|
project: projectId
|
||||||
|
});
|
||||||
|
};
|
||||||
|
service = {
|
||||||
|
userstory: {
|
||||||
|
list: function(projectId) {
|
||||||
|
return _list(projectId, "custom-attributes/userstory");
|
||||||
|
}
|
||||||
|
},
|
||||||
|
task: {
|
||||||
|
list: function(projectId) {
|
||||||
|
return _list(projectId, "custom-attributes/task");
|
||||||
|
}
|
||||||
|
},
|
||||||
|
issue: {
|
||||||
|
list: function(projectId) {
|
||||||
|
return _list(projectId, "custom-attributes/issue");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
return function(instance) {
|
||||||
|
return instance.customAttributes = service;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
module = angular.module("taigaResources");
|
||||||
|
|
||||||
|
module.factory("$tgCustomAttributesResourcesProvider", ["$tgRepo", resourceProvider]);
|
||||||
|
|
||||||
|
}).call(this);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2014-2015 Andrey Antukh <niwi@niwi.be>
|
* Copyright (C) 2014-2015 Andrey Antukh <niwi@niwi.be>
|
||||||
* Copyright (C) 2014-2015 Jesús Espino Garcia <jespinog@gmail.com>
|
* Copyright (C) 2014-2015 Jesús Espino Garcia <jespinog@gmail.com>
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue