diff options
author | Hannes "Brolaugh" Kindströmmer <me@brolaugh.com> | 2016-03-16 23:39:46 +0100 |
---|---|---|
committer | Hannes "Brolaugh" Kindströmmer <me@brolaugh.com> | 2016-03-16 23:39:46 +0100 |
commit | 07fbaf1313d083dc6a8dfdd2d88f687c826575ce (patch) | |
tree | 2249d2353ae8318b495e5303c2bcf93e8e075b9d | |
parent | 0183e29be3b1a49b1f6a76129c92d7445fa68ed8 (diff) | |
download | tasklist-php-07fbaf1313d083dc6a8dfdd2d88f687c826575ce.zip tasklist-php-07fbaf1313d083dc6a8dfdd2d88f687c826575ce.tar.gz tasklist-php-07fbaf1313d083dc6a8dfdd2d88f687c826575ce.tar.bz2 |
Fixed same issue with last commit but with gettasks.php
-rw-r--r-- | App/ajax/gettasks.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/App/ajax/gettasks.php b/App/ajax/gettasks.php index 8a121a6..9acd762 100644 --- a/App/ajax/gettasks.php +++ b/App/ajax/gettasks.php @@ -35,12 +35,12 @@ foreach ($tasks as $task) { ?> <div class="well well-xs"> <h3> - <span class="pull-left"><?php echo $task->title; ?></span> + <span ><?php echo $task->title; ?></span> <div class="btn-group"> <div class="btn-toolbar"> <div class="btn-group"> <a href="bootstrap-elements.html" data-target="#" class="btn btn-raised btn-<?php echo $task->style_class;?> dropdown-toggle" - data-toggle="dropdown"> + data-toggle="dropdown"> <?php echo $task->level ;?> <span class="caret"></span> </a> @@ -49,9 +49,9 @@ foreach ($tasks as $task) { foreach ($status_level as $tl) { if ($task->level != $tl->plain_text) { ?> - <li><a - href="<?php echo ROOT . "/App/formhandler/changestatus.php?task=" . $task->id . "&status=" . $tl->id; ?>"><span - class="text-<?php echo $tl->style_class; ?>"><?php echo $tl->plain_text; ?></span></a></li> + <li data-toggle="modal" data-target="#statusmodal" onclick="javascript:modalFix(<?php echo $task->id . "," . $tl->id . ",'" . $task->title."'";?>)"> + <span class="text-<?php echo $tl->style_class; ?>"><?php echo $tl->plain_text; ?></span> + </li> <?php } } @@ -63,7 +63,7 @@ foreach ($tasks as $task) { </div> </h3> <p class="text-primary"> - <?php echo $task->description; ?> + <?php echo $task->description; ?> </p> </div> <?php |