no strike font on closed issue

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
artgroup
Posts: 29
Joined: 02 Jul 2008, 12:35

no strike font on closed issue

Post by artgroup »

Hi all,
i added some customization and now it seems that the system do not apply the strike font to the closed and fixed issue.

Mantis 1.1.2

Any idea what is wrong?

here my customization I did:

config_inc.php

Code: Select all

	# Status to assign to a bug when submitted
	$g_bug_submit_status 			= NEW_ISSUE;

	# Status to assign to the bug when assigned
	$g_bug_assigned_status 			= ASSIGNED;
	# Status to assign to the bug when reopened
	$g_bug_reopen_status 			= NOT_FIXED;
	# Resolution to assign to the bug when reopened
	$g_bug_reopen_resolution 		= REOPENED;
	
	$g_bug_readonly_status_threshold 	= CLOSED;
	$g_bug_resolved_status_threshold 	= VALIDATION;
	$g_auto_set_status_to_assigned 		= OFF; #standard = ON

custom_costants_inc.php:

Code: Select all

	# status
	define ( 'NEW_ISSUE', 10 );
	define ( 'NOT_FIXED', 11 );
	define ( 'RECEIVED', 15 );
	#define ( 'CONFIRMED', 20 );
	#define ( 'ASSIGNED', 30 );
	#define ( 'REJECTED', 40 );
	define ( 'IN_PROGRESS', 50 );
	define ( 'READY_TO_GO', 52 );
	define ( 'SHIPPED', 55);
	define ( 'VALIDATION', 60 );
	#define ( 'QUESTION_TO_REPORTER', 80 );
	#define ( 'CLOSED', 90 );
custom_strings_inc.php:

Code: Select all

  $s_status_enum_string =
  '10:new,
   11:not fixed,
   15:received,
   20:assigned,
   30:confirmed,
   50:in progress,
   52:ready to go,
   55:shipped,
   60:validation,
   90:closed';

  # Status 10: New
  $s_email_notification_title_for_status_bug_new_issue = 'The following issue is now in status NEW';
  $s_new_issue_bug_button = 'New Issue';
  $s_new_issue_bug_title = 'Change Status to New Issue';

  # Status 11: Not Fixed
  $s_email_notification_title_for_status_bug_not_fixed = 'The issue is NOT FIXED';
  $s_not_fixed_bug_button = 'Reopen as Not Fixed';
  $s_not_fixed_bug_title = 'Change Status to REOPEN as Not Fixed';

  # Status 15: Received
  $s_email_notification_title_for_status_bug_received = 'The Part has been RECEIVED';
  $s_received_bug_button = 'Part Received';
  $s_received_bug_title = 'Change Status to PART RECEIVED';

  # Status 20: Assigned
  $s_email_notification_title_for_status_bug_assigned = 'The following issue has been ASSIGNED';
  $s_assigned_bug_button = 'Assign this Issue';
  $s_assigned_bug_title = 'Change Status to ASSIGNED issue';

  # Status 30: Confirmed
  $s_email_notification_title_for_status_bug_confirmed = 'The following issue has been CONFIRMED';
  $s_confirmed_bug_button = 'Confirm Issue';
  $s_confirmed_bug_title = 'Change Status to CONFIRM this issue';

  # Status 40: Rejected
  #$s_email_notification_title_for_status_bug_rejected = 'The following issue has been REJECTED';
  #$s_rejected_bug_button = 'Reject Issue';
  #$s_rejected_bug_title = 'Reject Issue';

  # Status 50: In Progress
  $s_email_notification_title_for_status_bug_in_progress = 'The fix for following issue is now IN PROGRESS';
  $s_in_progress_bug_button = 'Set issue In Progress';
  $s_in_progress_bug_title = 'Change Status to IN PROGRESS';
  
  # Status 52: Ready To Go
  $s_email_notification_title_for_status_bug_ready_to_go = 'The Part is now READY TO GO';
  $s_ready_to_go_bug_button = 'Part Ready To Go';
  $s_ready_to_go_bug_title = 'Change Status to READY TO GO';
  
  # Status 55: Shipped
  $s_email_notification_title_for_status_bug_shipped = 'The Part has been SHIPPED';
  $s_shipped_bug_button = 'Part Shipped';
  $s_shipped_bug_title = 'Change Status to PART SHIPPED';  

  # Status 60: Validation
  $s_email_notification_title_for_status_bug_validation = 'The following fix has been released and now is IN VALIDATION';
  $s_validation_bug_button = 'Fix under Validation';
  $s_validation_bug_title = 'Change Status to VALIDATION';

  # Status 80: Question to Reporter
  #$s_email_notification_title_for_status_bug_question_to_reporter = 'The following issue is now in status QUESTION TO REPORTER';
  #$s_question_to_reporter_bug_button = 'Question to Reporter Issue';
  #$s_question_to_reporter_bug_title = 'Question to Reporter Issue';

  # Status 90: Closed
  $s_email_notification_title_for_status_bug_closed = 'The following issue has been CLOSED';
  $s_closed_bug_button = 'Close Current Issue';
  $s_closed_bug_title = 'Close Issue';
  
  $s_resolution_enum_string = 
	'10:open,
	 20:fixed,
	 25:repaired,
	 30:reopened,
	 40:unable to duplicate,
	 50:not fixable,
	 60:duplicate,
	 70:not a bug'; #,80:suspended,90:wont fix
Everything seems ok a part of I lost the crossed font on the issue number when closed.

thks
Chris by ArtGroup

Mantis: 1.1.2
PHP: 5.2.5
SQL: MySQL 5.0.51a
OS: XP SP2
Post Reply