Taggic / IssueTracker

issue tracking as dokuwiki plugin
http://www.fristercons.de/fcon/doku.php?id=issuetracker:descr
8 stars 2 forks source link

Suggestion: Show resolution in Details page #11

Closed bew99 closed 12 years ago

bew99 commented 12 years ago

Add a Section called „Resolution“ to the Details page, this was somehow forgotten and only showed in the list.

diff -aurwB action.php_org action.php_mod
--- action.php_org  2011-11-11 04:45:59.000000000 +0100
+++ action.php  _mod 2011-12-02 23:17:51.000000000 +0100
@@ -752,6 +752,7 @@
                         }

                         $x_comment = $this->convertlabel($issue[$issue_id]['description']);
+                        $x_resolution = $this->convertlabel($issue[$issue_id]['resolution']);

 $issue_initial_description = '<table class="itd__tables"><tbody>
                                 <tr>
@@ -763,6 +764,16 @@
                                 </tr>
                               </tbody></table>';

+$issue_resolution= '<table class="itd__tables"><tbody>
+                                <tr>
+                                  <td class="itd_tables_tdh" colSpan="2" >Resolution</td>
+                                </tr>
+                                <tr class="itd__tables_tr">
+                                  <td width="1%"></td>
+                                  <td>'.$x_resolution.'</td>
+                                </tr>
+                              </tbody></table>';
+
 $issue_attachments = '<table class="itd__tables"><tbody>
                       <tr>
                         <td class="itd_tables_tdh">'.$this->getLang('lbl_symptlinks').'</td>
@@ -868,7 +879,7 @@
            $issue_add_comment .= '<div class="it__standard_feedback">'.$wmsg.'</div>';                      
         }

-        $ret = $issue_edit_head . $issue_client_details . $issue_initial_description . $issue_attachments . $issue_comments_log . $issue_add_comment;
+        $ret = $issue_edit_head . $issue_client_details . $issue_initial_description . $issue_attachments . $issue_comments_log . $issue_add_comment . $issue_resolution;
         return $ret;
     }
 /******************************************************************************/
´´´´
Taggic commented 12 years ago

that is a good idea and many thanks to you that you already coded it I'll implement it and publish it as next update (this weekend).

PS: What is your opinion about a further extension to edit the Resolution also on the details view ? I will try to implement such but this may take a while.

br Taggic

Taggic commented 12 years ago

2011-12-04

2011-12-03

bew99 commented 12 years ago

Hi Taggic,

i like the idea and i see that you already coded it.

Say, maybe you can help me with another issue. I’m using the msql backend of dokuwiki to get the user data from another database. That works fine, but in your code, it is just not resolving the users properly, so that i had to install a temporary patch to get it working. It currently hardcodes the values for $x_umail_select in action.php and syntax.php. I would guess its the way that you coded it, so that it works with the basic auth backend, but not the mysql one. Because e.g. the ACL plugin gets the user and group data just fine, just your plugin returns nothing.

If you think, you can assist (and maybe workout a kink in the code), send me a mail. I’l replay with more details then.

Kind regards Björn-Erik

Am 03.12.2011 um 09:51 schrieb Taggic:

that is a good idea and many thanks to you that you already coded it I'll implement it and publish it as next update (this weekend).

PS: What is your opinion about a further extension to edit the Resolution also on the details view ? I will try to implement such but this may take a while.

br Taggic


Reply to this email directly or view it on GitHub: https://github.com/Taggic/IssueTracker/issues/11#issuecomment-2999692