diff --git a/frontend/static/js/challenge.js b/frontend/static/js/challenge.js
index 96cbeef7..43410daf 100644
--- a/frontend/static/js/challenge.js
+++ b/frontend/static/js/challenge.js
@@ -539,6 +539,8 @@ angular.module("FICApp", ["ngRoute", "ngSanitize"])
if (check !== undefined)
{
+ if (!$scope.my.exercices[$rootScope.current_exercice].tries)
+ $scope.my.exercices[$rootScope.current_exercice].tries = 0;
$scope.my.exercices[$rootScope.current_exercice].tries += 1;
$scope.my.exercices[$rootScope.current_exercice].solved_time = new Date();
diff --git a/frontend/static/views/defi.html b/frontend/static/views/defi.html
index 64e93bc7..e6d7b904 100644
--- a/frontend/static/views/defi.html
+++ b/frontend/static/views/defi.html
@@ -31,6 +31,7 @@
- Gain : {{ 1 + settings.firstBlood | coeff }} prem's {{ themes[current_theme].exercices[current_exercice].curcoeff * settings.exerciceCurrentCoefficient | coeff }} bonus
+ - Tenté par : (cumulant ).
- Résolu par : .
diff --git a/libfic/team_my.go b/libfic/team_my.go
index 0f74415f..66c425ae 100644
--- a/libfic/team_my.go
+++ b/libfic/team_my.go
@@ -64,6 +64,7 @@ type myTeamExercice struct {
SolvedTime *time.Time `json:"solved_time,omitempty"`
SolvedRank int64 `json:"solved_rank,omitempty"`
Tries int64 `json:"tries,omitempty"`
+ TotalTries int64 `json:"total_tries,omitempty"`
VideoURI string `json:"video_uri,omitempty"`
Issue string `json:"issue,omitempty"`
IssueKind string `json:"issuekind,omitempty"`
@@ -114,7 +115,7 @@ func MyJSONTeam(t *Team, started bool) (interface{}, error) {
exercice.Overview = strings.Replace(e.Overview, "$FILES$", FilesDir, -1)
exercice.Finished = strings.Replace(e.Finished, "$FILES$", FilesDir, -1)
exercice.VideoURI = e.VideoURI
- exercice.Tries = e.TriedCount()
+ exercice.TotalTries = e.TriedCount()
exercice.Gain = int(float64(e.Gain) * e.Coefficient)
} else {
solved, stime := t.HasSolved(e)