Fix to task

This commit is contained in:
Sagi Dayan 2015-08-02 18:15:51 +03:00
parent 2ae4c6e048
commit 014fa602cb
2 changed files with 6 additions and 5 deletions

View file

@ -167,7 +167,7 @@ def send_task_reminder( email, name, task_name, course_name):
<h3>Dear """+name+""":</h3>
<center>
<img src='https://pixabay.com/static/uploads/photo/2014/03/05/07/54/reminder-279903_640.png'>
<img src='https://pixabay.com/static/uploads/photo/2014/03/05/07/54/reminder-279903_640.png' style='height:100px'>
</center>
<br>

View file

@ -80,14 +80,15 @@ angular.module('SeHub')
.content('Your Task Was Successfully Submitted!')
.ariaLabel('ddd')
.ok('GoTo My Submitted Task')
.then(function(dd){
.targetEvent(event)
).then(function(){
if($scope.task.isPersonal)
$location.path('/tasks/overview/'+taskId+'/'+groupId+'/'+groupId);
else
$location.path('/tasks/overview/'+taskId+'/'+groupId+'/'+groupId);
})
.targetEvent(event)
);
});
return;
})
}