Skip to content

Commit

Permalink
Custom attributes :
Browse files Browse the repository at this point in the history
Allow to directly define priority, severity, reproducibility, status (with an associated color), resolution, projection and eta in Mantis instead of editing the config file, which is really useful for people who don't have access to the files.
Administrators make settings in Manage > Manage project (manage_proj_menu_page.php), and this option can be desactivated in the config_inc1.php - and the colors redefined there as well-

For the time beings, custom attributes are effective for all the projects (like if you redefined it in the config file in fact) but implementation has been made with a 'per Project Settings' in mind : when this improvment (planned for > 0.18) is made, move the code to manage_proj_edit_page.php, it would dealed almost like the categories.


git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1180 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
jctrosset committed Aug 2, 2002
1 parent 8442ded commit d682fa8
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 11 deletions.
3 changes: 2 additions & 1 deletion doc/ChangeLog
Expand Up @@ -79,7 +79,8 @@ Mantis ChangeLog
* Added $g_view_attachments_threshold to control the access level required to view attachments. This is useful when there is a need to share the knowledge about the defects, but to secure customer data.
* Added the support to upload attachments to an FTP server (so now there is DISK, DATABASE, and FTP). Recently uploaded/downloaded attachments are cached at the web server.
* Added support for modifying the reporter of a bug.
* Added word2k and excel export in print_all_bug_page.php. Users can choose the bugs to display/print, and the fields to export with the 'Printing Options' link
* Added word2k and excel export in print_all_bug_page.php. Users can choose the bugs to display/print, and the fields to export with the 'Printing Options' link.
* Added custom attributes for the 7 ones in config_inc.php : priority, severity, status (with colors), etc... Define it in manage_proj_menu_page.php ; implementation has been thought in a 'per project Settings' conception, but only available for all projects right now.

2002.05.19 - 0.17.3

Expand Down
26 changes: 22 additions & 4 deletions lang/strings_english.txt
Expand Up @@ -8,11 +8,11 @@
###########################################################################
# English strings for Mantis
# -------------------------------------------------
# $Revision: 1.58 $
# $Revision: 1.59 $
# $Author: jctrosset $
# $Date: 2002-07-17 15:53:49 $
# $Date: 2002-08-02 07:59:42 $
#
# $Id: strings_english.txt,v 1.58 2002-07-17 15:53:49 jctrosset Exp $
# $Id: strings_english.txt,v 1.59 2002-08-02 07:59:42 jctrosset Exp $
###########################################################################
?>
<?php
Expand Down Expand Up @@ -112,9 +112,27 @@
$s_category_link = 'Per category';
$s_resolution_link = 'Per resolution';

#print_all_bug_page.php : display selected bugs
# manage_proj_edit_page.php - attribute customization
$s_attribute_customization_title = 'Custom attributes';
$s_severities = 'severities';
$s_states = 'states';
$s_add_button = 'Add';
$s_del_button = 'Delete';
$s_copy_from = 'Copy from';
$s_copy_to = 'Copy to';
$s_asso_color = 'Associated color : ';

# manage_proj_attribute_edit_page.php
$s_edit_project_title = 'Edit Project';
$s_update_button = 'Update';
$s_delete_button = 'Delete';

# print_all_bug_page.php : display selected bugs
$s_hide_button = 'Display selected only';

# manage_proj_attribute_del_page.php
$s_attribute_delete_sure_msg = 'Are you sure you want to delete this attribute ?';

# print_all_bug_options.php : printing preferences
$s_printing_preferences_title = 'Choose fields to print';
$s_printing_options_link = 'Printing Options';
Expand Down
27 changes: 21 additions & 6 deletions lang/strings_french.txt
Expand Up @@ -11,11 +11,11 @@
# French: Roland Meyer, Daniel Coquette
# French : Jean-Charles Trosset, jean-charles.trosset@laposte.net
# -------------------------------------------------
# $Revision: 1.32 $
# $Revision: 1.33 $
# $Author: jctrosset $
# $Date: 2002-07-17 15:53:49 $
# $Date: 2002-08-02 07:59:42 $
#
# $Id: strings_french.txt,v 1.32 2002-07-17 15:53:49 jctrosset Exp $
# $Id: strings_french.txt,v 1.33 2002-08-02 07:59:42 jctrosset Exp $
###########################################################################
?>
<?php
Expand Down Expand Up @@ -115,12 +115,27 @@
$s_category_link = 'Par cat�gorie';
$s_resolution_link = 'Par r�solution';

# manage_proj_edit_page.php - attribute customization
$s_attribute_customization_title = 'Attributs personnalis�s';
$s_severities = 's�v�rit�s';
$s_states = '�tats';
$s_add_button = 'Ajouter';
$s_del_button = 'Supprimer';
$s_copy_from = 'Copier de';
$s_copy_to = 'Copier vers';
$s_asso_color = 'Couleur associ�e : ';

# manage_proj_attribute_edit_page.php
$s_edit_project_title = 'Editer projet';
$s_update_button = 'Mettre � jour';
$s_delete_button = 'Supprimer';

#print_all_bug_page.php : display selected bugs
$s_hide_button = 'Display selected only';
$s_hide_button = 'Afficher bugs s�lectionn�s';

# print_all_bug_options.php : printing preferences
$s_printing_preferences_title = 'Choose fields to print';
$s_printing_options_link = 'Printing Options';
$s_printing_preferences_title = 'Choississez les champs � imprimer';
$s_printing_options_link = 'Options pour l'impression';

# word and excel export
$s_bugnote_title = 'Bugnote handler' ;
Expand Down

0 comments on commit d682fa8

Please sign in to comment.