[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 05/13: Fix bug in todo list, add an empty tab
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 05/13: Fix bug in todo list, add an empty table if nothing |
Date: |
Sun, 07 Jun 2015 17:57:21 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 97da26bd0aaaeca4fc9c66603497eea2a5cd7d5f
Author: Dany De Bontridder <address@hidden>
Date: Fri Jun 5 12:47:20 2015 +0200
Fix bug in todo list, add an empty table if nothing
---
include/template/dashboard.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/template/dashboard.php b/include/template/dashboard.php
index 571ab7e..3b05b09 100644
--- a/include/template/dashboard.php
+++ b/include/template/dashboard.php
@@ -19,9 +19,9 @@ $array=$todo->load_all();
$a_todo=Todo_List::to_object($cn,$array);
echo HtmlInput::button('add',_('Ajout'),'onClick="add_todo()"','smallbutton');
-if ( ! empty ($array) ) {
echo '<table id="table_todo" class="sortable" width="100%">';
echo '<tr><th class=" sorttable_sorted_reverse" id="todo_list_date">Date
<span
id="sorttable_sortrevind"> ▴</span></th><th>Titre</th><th></th>';
+if ( ! empty ($array) ) {
$nb=0;
$today=date('d.m.Y');
@@ -30,8 +30,8 @@ if ( ! empty ($array) ) {
$nb++;
echo $row->display_row($odd);
}
- echo '</table>';
}
+ echo '</table>';
?>
</div>
- [Noalyss-commit] [noalyss] branch master updated (6abc662 -> 71a7a72), Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 01/13: Task #1126 - Réécriture de la partie administration Effacement des plugins et todo list, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 02/13: Task #1126 - Réécriture de la partie administration Cosmetic, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 03/13: Cosmetic, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 04/13: comment, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 05/13: Fix bug in todo list, add an empty table if nothing,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 07/13: Calendar : zoom and list mode, fix height, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 06/13: Calendar : zoom and list mode, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 08/13: Calendar : zoom and list mode, fix height, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 09/13: Calendar : highlight late action, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 11/13: Documentation, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 12/13: Esthétique, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 10/13: remove style for icon in menu, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 13/13: Task #1092 - Ageing report Balance agée : Possibilité d'entrer une date pour les opérations entrées après cette date, Dans les fiches, pour un seul client ou fournisseur Dans les catégories de fiches : pour une catégorie de clients ou de fournisseurs ou toutes les fiches Général pour toutes les fiches clients ou fournisseurs. export CSV, Dany De Bontridder, 2015/06/07