Skip to content
Snippets Groups Projects

[WIP] Moves the stage and ref from the table in a ci commit build to a plain one line text

Closed Tiago Botelho requested to merge tiagonbotelho/gitlab-ce:ci-commit into master
6 files
+ 62
6
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -75,6 +75,20 @@
@@ -75,6 +75,20 @@
).done (labels) ->
).done (labels) ->
callback(labels)
callback(labels)
 
newLabel: (project_id, data, callback) ->
 
url = Api.buildUrl(Api.labels_path)
 
url = url.replace(':id', project_id)
 
 
data.private_token = gon.api_token
 
$.ajax(
 
url: url
 
type: "POST"
 
data: data
 
dataType: "json"
 
).done (label) ->
 
callback(label)
 
 
milestones: (project_id, callback) ->
milestones: (project_id, callback) ->
url = Api.buildUrl(Api.milestones_path)
url = Api.buildUrl(Api.milestones_path)
url = url.replace(':id', project_id)
url = url.replace(':id', project_id)
Loading