SOURCES: eventum-email-notify-display.patch - update also close page

glen glen at pld-linux.org
Mon Sep 4 13:49:18 CEST 2006


Author: glen                         Date: Mon Sep  4 11:49:18 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- update also close page

---- Files affected:
SOURCES:
   eventum-email-notify-display.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/eventum-email-notify-display.patch
diff -u SOURCES/eventum-email-notify-display.patch:1.3 SOURCES/eventum-email-notify-display.patch:1.4
--- SOURCES/eventum-email-notify-display.patch:1.3	Wed Aug 30 19:27:47 2006
+++ SOURCES/eventum-email-notify-display.patch	Mon Sep  4 13:49:12 2006
@@ -82,3 +82,43 @@
              {/if}
            </td>
          </tr>
+--- eventum-20060830/close.php	2006-09-04 14:46:53.766630207 +0300
++++ eventum-20060830/close.php	2006-09-04 13:57:56.000000000 +0300
+@@ -68,9 +68,12 @@
+     $tpl->assign("close_result", $res);
+ }
+ 
+-$tpl->assign("statuses", Status::getClosedAssocList($prj_id));
+-$tpl->assign("resolutions", Resolution::getAssocList());
+-$tpl->assign("time_categories", Time_Tracking::getAssocCategories());
++$tpl->assign(array(
++    "statuses" => Status::getClosedAssocList($prj_id),
++    "resolutions" => Resolution::getAssocList(),
++    "time_categories" => Time_Tracking::getAssocCategories(),
++    "notify_list"  => Notification::getLastNotifiedAddresses($issue_id),
++));
+ 
+ if ((Customer::hasCustomerIntegration($prj_id)) && (Customer::hasPerIncidentContract($prj_id, Issue::getCustomerID($issue_id)))) {
+     $details = Issue::getDetails($issue_id);
+--- eventum-20060830/templates/close.tpl.html~	2006-09-04 14:46:53.486623924 +0300
++++ eventum-20060830/templates/close.tpl.html	2006-09-04 14:45:42.000000000 +0300
+@@ -12,7 +12,18 @@
+             {if $close_result == -1}
+             <b>{t}Sorry, an error happened while trying to run your query.{/t}</b>
+             {elseif $close_result == 1}
+-            <b>{t}Thank you, the issue was closed successfully. Please choose from one of the options below:{/t}</b>
++            <b>{t}Thank you, the issue was closed successfully.{/t}</b><br/>
++
++            {if $notify_list|@count > 0}
++            <br/>
++            <b>{t}E-mail about issue update was sent to:{/t}</b><br />
++            {foreach from=$notify_list item=email_address}
++            &nbsp;&nbsp;{$email_address|escape:"html"}<br />
++            {/foreach}
++            <br />
++            {/if}
++
++            <b>{t}Please choose from one of the options below:{/t}</b>
+             <ul>
+               <li><a href="view.php?id={$smarty.post.issue_id}" class="link">{t}Open the Issue Details Page{/t}</a></li>
+               <li><a href="list.php" class="link">{t}Open the Issue Listing Page{/t}</a></li>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/eventum-email-notify-display.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list