[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 317/323: Dashboard : cannot zoom event from f
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 317/323: Dashboard : cannot zoom event from follow-up |
Date: |
Wed, 14 Mar 2018 17:39:12 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit f32a4d8595aba53e70fe02010e925d6b30bbd229
Author: Dany De Bontridder <address@hidden>
Date: Mon Mar 12 18:36:40 2018 +0100
Dashboard : cannot zoom event from follow-up
---
html/js/gestion.js | 2 ++
html/js/sorttable.js | 4 +---
include/ajax/ajax_gestion.php | 2 +-
include/template/action_show.php | 12 ++++++++++--
4 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/html/js/gestion.js b/html/js/gestion.js
index 47ab8f5..de1e19b 100644
--- a/html/js/gestion.js
+++ b/html/js/gestion.js
@@ -283,6 +283,8 @@ function action_show(p_dossier)
remove_waiting_box();
add_div({id: 'action_list_div',
style:"top:1%;width:90%;left:5%" , cssclass: 'inner_box'});
$('action_list_div').innerHTML=p_xml.responseText;
+ var
table_followup=document.getElementById('event_followup');
+ if ( table_followup) {
sorttable.makeSortable(table_followup); }
}
});
} catch (e)
diff --git a/html/js/sorttable.js b/html/js/sorttable.js
index 8f4f83f..fd33a8a 100644
--- a/html/js/sorttable.js
+++ b/html/js/sorttable.js
@@ -21,9 +21,7 @@
Show the default order
example:
<th class=" sorttable_sorted_reverse">
- ....<span id="sorttable_sortrevind"> ▴</span>
- <th class=" sorttable_sorted">
- ....<span id="sorttable_sortfwdind"> ▾</span>
+ <th class=" sorttable_sorted">
Sort on date
<td sorttable_customkey="<?=$row_bank['b_date']?>"> // format YYYYMMDD
diff --git a/include/ajax/ajax_gestion.php b/include/ajax/ajax_gestion.php
index f563a98..814e383 100644
--- a/include/ajax/ajax_gestion.php
+++ b/include/ajax/ajax_gestion.php
@@ -36,7 +36,7 @@ if ($op=='action_show')
*/
require_once NOALYSS_INCLUDE.'/class/follow_up.class.php';
$gestion=new Follow_Up($cn);
- $array=$gestion->get_last(25);
+ $array=$gestion->get_last(35);
$len_array=count($array);
require_once NOALYSS_TEMPLATE.'/action_show.php';
return;
diff --git a/include/template/action_show.php b/include/template/action_show.php
index a3eef78..6971c70 100644
--- a/include/template/action_show.php
+++ b/include/template/action_show.php
@@ -29,13 +29,21 @@ require_once
NOALYSS_INCLUDE.'/class/default_menu.class.php';
$a_default=new Default_Menu();
echo HtmlInput::title_box(_('Suivi'), 'action_list_div');
+
+echo _("Recherche"),HtmlInput::filter_table("event_followup", '0,1,2,3', 1);
?>
-<table style="width: 100%">
+<table id="event_followup" class="sortable" style="width: 100%">
+ <tr>
+ <th class="sorttable_sorted_reverse"><?=_("Date création")?></th>
+ <th><?=_("Référence")?></th>
+ <th><?=_("Destinataire")?></th>
+ <th><?=_("Titre")?></th>
+ </tr>
<?php
for ($i=0;$i < $len_array;$i++) :
?>
<tr class=" <?php echo ($i%2==0)?'even':'odd'?>">
- <td class="box">
+ <td sorttable_customkey="<?=$array[$i]['ag_timestamp']?>"
class="box">
<?php echo smaller_date($array[$i]['ag_timestamp_fmt']) ;?>
<?php echo " ".$array[$i]['ag_hour'] ;?>
</td>
- [Noalyss-commit] [noalyss] 257/323: Tag : box for adding a tag : add a close button, (continued)
- [Noalyss-commit] [noalyss] 257/323: Tag : box for adding a tag : add a close button, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 283/323: Todo List : fix bug in sort after zooming, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 287/323: Improve favicon.ico, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 182/323: Task #0001535: TVA : réécriture du module , fichier test pour TVA_RATE_MTABLE, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 185/323: Task #0001535: TVA : réécriture du module , missing file, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 229/323: index.css : CSS responsive, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 310/323: Cosmetic : use Icon_Action::trash, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 206/323: install : check the module XML , SimpleXML, ..., Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 299/323: Bug : action_late show also action for today, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 318/323: Bug fix : History filter : do not filter on the last columns, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 317/323: Dashboard : cannot zoom event from follow-up,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 261/323: remove dead code, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 271/323: Periode : fix , the second periode is wrong when opening day is asked, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 303/323: Some dialog must be fixed but draggable, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 209/323: Index : fix logo position, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 194/323: Remove user_local_pref, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 276/323: cosmetic center the form & logo, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 268/323: Merge branch 'master' of ns3:/srv/git/noalyss, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 244/323: ajax_card : warning if there is no category of cards, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 267/323: TVA : fix when outside VEN or PURCHASE , the selecting box for VAT didn't work, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 275/323: CSS : Anchor go_up, Dany De Bontridder, 2018/03/14