diff --git a/LightshowManager/Base.lproj/Main.storyboard b/LightshowManager/Base.lproj/Main.storyboard
index 16a3826..e25bcae 100644
--- a/LightshowManager/Base.lproj/Main.storyboard
+++ b/LightshowManager/Base.lproj/Main.storyboard
@@ -3,7 +3,6 @@
-
@@ -165,36 +164,46 @@
-
-
+
+
-
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
@@ -207,7 +216,7 @@
-
+
diff --git a/LightshowManager/LightshowDownloadCell.swift b/LightshowManager/LightshowDownloadCell.swift
index 1c88734..9c16915 100644
--- a/LightshowManager/LightshowDownloadCell.swift
+++ b/LightshowManager/LightshowDownloadCell.swift
@@ -11,4 +11,6 @@ class LightshowDownloadCell : UITableViewCell{
@IBOutlet weak var warningMessage: UIImageView!
@IBOutlet weak var LightshowName: UILabel!
+
+ @IBOutlet weak var alertLabel: UILabel!
}
diff --git a/LightshowManager/LightshowDownloadView.swift b/LightshowManager/LightshowDownloadView.swift
index 19c7812..6004051 100644
--- a/LightshowManager/LightshowDownloadView.swift
+++ b/LightshowManager/LightshowDownloadView.swift
@@ -26,8 +26,16 @@ class LightshowDownloadView: UITableViewController{
// Fetch a cell of the appropriate type.
let cell = tableView.dequeueReusableCell(withIdentifier: "lightshowDownloadCell")
let model = model?.getStudentAtIndex(indexPath.row);
+
+ let isOk : Bool = model?.isOkFiles() ?? false;
+
(cell as! LightshowDownloadCell).LightshowName.text = model?.name
- (cell as! LightshowDownloadCell).warningMessage.isHidden = model?.isOkFiles() ?? false;
+ (cell as! LightshowDownloadCell).warningMessage.isHidden = isOk;
+ var alertText = ""
+ if (!isOk){
+ alertText = "(Le fichcier mp3 ou fseq n'a pas été reconnu)"
+ }
+ (cell as! LightshowDownloadCell).alertLabel.text = alertText
return cell!
}