resolution refresh
This commit is contained in:
parent
dae554a45d
commit
94993f9a10
|
@ -176,11 +176,15 @@ class ScrumissueController extends AbstractController
|
|||
$em = $this->getDoctrine()->getManager();
|
||||
|
||||
$id=$request->get('id');
|
||||
$lastupdate=new \DateTime($request->get('lastupdate'));
|
||||
|
||||
$scrum=$em->getRepository("App:Scrum")->find($id);
|
||||
if(!$scrum) return new JsonResponse(['message' => 'No Scrum'], 403);
|
||||
|
||||
/*
|
||||
$lastupdate=$scrum->getUpdatedate();
|
||||
$lastupdate->setTimezone(new \DateTimeZone("UTC"));
|
||||
*/
|
||||
|
||||
$giteaissues=$this->giteaservice->getIssues($scrum->getGiteajson()["owner"]["login"],$scrum->getGiteajson()["name"]);
|
||||
if(!is_array($giteaissues)) die("Probleme de connexion avec gitea veuillez vous <a href='/logout'>reconnecter</a>");
|
||||
|
|
|
@ -857,6 +857,7 @@
|
|||
$("#mycontent").show();
|
||||
|
||||
lastupdate="{{scrum.updatedate|date("Ymd H:i:s")}}";
|
||||
console.log(lastupdate);
|
||||
|
||||
// Sort columns
|
||||
$( ".scrumcolumn" ).sortable({
|
||||
|
@ -891,6 +892,7 @@
|
|||
$(ui.item).data("milestone",newmilestone);
|
||||
$(ui.item).data("sprint",newsprint);
|
||||
if(data) lastupdate=data;
|
||||
console.log(lastupdate);
|
||||
|
||||
refreshinfo();
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue