X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/9186b07ad70787977f5b1e589bf20b7a4beed4c0..c6fc086238de9fefb56169edc148bbcd3ff866fa:/project/templates/manager/pull_request.html?ds=sidebyside diff --git a/project/templates/manager/pull_request.html b/project/templates/manager/pull_request.html index 9c234366..3b19c3bd 100644 --- a/project/templates/manager/pull_request.html +++ b/project/templates/manager/pull_request.html @@ -11,7 +11,7 @@ var row = $('#request-' +id); $.ajax({ - url: "http://localhost:8000/api/pull-requests/" + id, + url: '{% url pullrequest_list %}/'+id, dataType: 'json', type: 'GET', success: function(data) { @@ -35,7 +35,7 @@ $.ajax({ - url: "http://localhost:8000/api/pull-requests/" + id, + url: '{% url pullrequest_list %}/'+id, data: {action: 'accept'}, dataType: 'json', type: 'PUT', @@ -54,7 +54,7 @@ - + {% if objects %} {% for pullreq in objects %} @@ -63,12 +63,16 @@ - + + {% endfor %} {% else %} - + {% endif %}
UtwórUżytkownikKomentarzStanAkcjeZgłoszonoAkcje
{{ pullreq.comitter }} {{ pullreq.comment }} {{ pullreq.status }}{{ pullreq.timestamp }} + + Zobacz +
Brak żądań
Brak żądań