Commit ceb2a22e authored by cameo's avatar cameo
Browse files

FIX #6

parent df13591d
// ==UserScript== // ==UserScript==
// @name hey-ho // @name hey-ho
// @namespace fr.cines // @namespace fr.cines
// @version 0.5 // @version 0.6
// @updateURL https://git.cines.fr/cameo/hey-ho/raw/master/main.user.js // @updateURL https://git.cines.fr/cameo/hey-ho/raw/master/main.user.js
// @downloadURL https://git.cines.fr/cameo/hey-ho/raw/master/main.user.js // @downloadURL https://git.cines.fr/cameo/hey-ho/raw/master/main.user.js
// @description try to take over the time, White Snow way // @description try to take over the time, White Snow way
...@@ -109,5 +109,8 @@ $(document).ready(function() { ...@@ -109,5 +109,8 @@ $(document).ready(function() {
table_row_patern.replace("__TITLE__", "Solde D/C avec sortie immédiate") table_row_patern.replace("__TITLE__", "Solde D/C avec sortie immédiate")
.replace("__COMMENT__", "") .replace("__COMMENT__", "")
.replace("__VALUE__", toHHMMSS(current_time_today_dc.add(solde_dc)))); .replace("__VALUE__", toHHMMSS(current_time_today_dc.add(solde_dc))));
$('#con-ZR_CPT > tbody:last-child').append(
table_row_patern.replace("__TITLE__", "Départ pour journée complète")
.replace("__COMMENT__", "")
.replace("__VALUE__", now.subtract(current_time_today_dc).format("HH:mm")));
}); });
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment