add needinfo custom status

This commit is contained in:
Louis Abel 2022-08-10 19:45:58 -07:00
parent 0547f360a1
commit 7fa44bc2aa
Signed by: label
GPG Key ID: 6735C0E1BD65D048
4 changed files with 27 additions and 0 deletions

View File

@ -45,6 +45,17 @@
group: apache
mode: '0640'
- name: Configure custom strings
ansible.builtin.template:
src: "var/www/mantis/config/{{ item }}.j2"
dest: "/var/www/mantisbt-{{ mantis_version }}/config/{{ item }}"
owner: apache
group: apache
mode: '0644'
with_items:
- "custom_constants_inc.php"
- "custom_strings_inc.php"
- name: Deploy plugins from Mantis GitHub
git:
repo: "https://github.com/mantisbt-plugins/{{ item }}.git"

View File

@ -44,3 +44,5 @@ $g_enable_email_notification = ON;
# Cookie problems
$g_allow_permanent_cookie = OFF;
$g_status_enum_string = '10:new,20:feedback,25:needinfo,30:acknowledged,40:confirmed,50:assigned,80:resolved,90:closed';
$g_status_colors['needinfo'] = '#797ee8';

View File

@ -0,0 +1,3 @@
<?php
# Custom status codes
define( 'NEEDINFO', 25 );

View File

@ -0,0 +1,11 @@
<?php
switch( $g_active_language ) {
default: # english
$s_status_enum_string = '10:new,20:feedback,25:needinfo,30:acknowledged,40:confirmed,50:assigned,60:testing,80:resolved,90:closed';
$s_testing_bug_title = 'Mark issue as Need Information';
$s_testing_bug_button = 'Need Information';
$s_email_notification_title_for_status_bug_testing = 'The following issue has been set to NEEDINFO';
break;
}