add needinfo custom status
This commit is contained in:
parent
0547f360a1
commit
7fa44bc2aa
4 changed files with 27 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
# Custom status codes
|
||||
define( 'NEEDINFO', 25 );
|
11
templates/var/www/mantis/config/custom_strings_inc.php.j2
Normal file
11
templates/var/www/mantis/config/custom_strings_inc.php.j2
Normal 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;
|
||||
}
|
Loading…
Reference in a new issue