2 messages in com.mysql.lists.eventum-develpatch to fix 1 possible bug, and 1 fe...
FromSent OnAttachments
Paul Belanger24 May 2005 13:34 
Joao Prado Maia26 May 2005 11:33 
Subject:patch to fix 1 possible bug, and 1 feature request.
From:Paul Belanger (paul@pronexus.com)
Date:05/24/2005 01:34:47 PM
List:com.mysql.lists.eventum-devel

Hello,

Here is a patch to fix an issue where a reported has the ability to play with
the time tracker. If not a bug, please ignore. Also, this patch will stop the custom fields from
being displayed if there are none to start.

PB

--- view.tpl.html.orig Tue May 24 16:07:35 2005 +++ view.tpl.html Tue May 24 16:25:31 2005 @@ -25,8 +25,10 @@ </table> {else} {include file="view_form.tpl.html"} + {if $custom_fields > 0} {include file="custom_fields.tpl.html"} {include file="top_link.tpl.html"} + {/if} {if $has_customer_integration and $issue.iss_customer_id} {include file="customer/$customer_backend_name/customer_info.tpl.html"} {include file="top_link.tpl.html"} @@ -37,7 +39,7 @@ {include file="checkins.tpl.html"} {include file="top_link.tpl.html"} {/if} - {if $current_role >= $roles.reporter and $current_role != $roles.customer} + {if $current_role > $roles.reporter and $current_role != $roles.customer} {include file="time_tracking.tpl.html"} {include file="top_link.tpl.html"} {/if}