Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Commit

Permalink
change notify in danger in chapter and enrich when error found- chang…
Browse files Browse the repository at this point in the history
…e message in settings
  • Loading branch information
Ptitloup committed Jun 24, 2015
1 parent 6c2b4fe commit a8685a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pod_project/pod_project/settings-sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
# if set it's used to test download and encode video in test
#HTTP_PROXY = 'http://localhost:3128/'

#Notification d'alerte sur les vidéos
#Signalement des vidéos
SHOW_REPORT = True
REPORT_VIDEO_MAIL_TO = ['alert@univ.fr']

Expand Down
2 changes: 1 addition & 1 deletion pod_project/pods/templates/videos/video_chapter.html
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
var msg = "";
msg += overlaptest();
if(msg != "") {
show_messages(msg+button, false, 'alert-info');
show_messages(msg+button, false, 'alert-danger');
} else {
var data_form = $( "form#form_chapter" ).serializeArray();
jqxhr = $.post(
Expand Down
2 changes: 1 addition & 1 deletion pod_project/pods/templates/videos/video_enrich.html
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
msg += verify_end_start_items();
msg += overlaptest();
if(msg != "") {
show_messages(msg+button, false, 'alert-info');
show_messages(msg+button, false, 'alert-danger');
} else {
var data_form = $( "form#form_enrich" ).serializeArray();
jqxhr = $.post(
Expand Down

0 comments on commit a8685a7

Please sign in to comment.