- fixed not shown last modified column

- id, separate percen, last modified and times can now be enabled for the details view only
- you can now specify the filter for home
This commit is contained in:
Ralf Becker 2006-04-09 05:34:59 +00:00
parent 5afb077bca
commit 80b4999f22
8 changed files with 194 additions and 174 deletions

View File

@ -120,7 +120,7 @@
$GLOBALS['uiinfolog'] =& $this; // make ourself availible for ExecMethod of get_rows function $GLOBALS['uiinfolog'] =& $this; // make ourself availible for ExecMethod of get_rows function
} }
function get_info($info,&$readonlys,$action='',$action_id='',$show_links=false) function get_info($info,&$readonlys,$action='',$action_id='',$show_links=false,$details = 1)
{ {
if (!is_array($info)) if (!is_array($info))
{ {
@ -179,7 +179,7 @@
$info['info_type_label'] = $this->bo->enums['type'][$info['info_type']]; $info['info_type_label'] = $this->bo->enums['type'][$info['info_type']];
$info['info_status_label'] = $this->bo->status[$info['info_type']][$info['info_status']]; $info['info_status_label'] = $this->bo->status[$info['info_type']][$info['info_status']];
if (!$this->prefs['show_percent']) if (!$this->prefs['show_percent'] || $this->prefs['show_percent'] == 2 && !$details)
{ {
if ($info['info_status'] == 'ongoing' && $info['info_type'] != 'phone') if ($info['info_status'] == 'ongoing' && $info['info_type'] != 'phone')
{ {
@ -191,7 +191,7 @@
{ {
$info['info_percent2'] = $info['info_percent']; $info['info_percent2'] = $info['info_percent'];
} }
if ($this->prefs['show_id']) if ($this->prefs['show_id'] == 1 || $this->prefs['show_id'] == 2 && $details)
{ {
$info['info_number'] = $info['info_id']; $info['info_number'] = $info['info_id'];
} }
@ -242,10 +242,11 @@
{ {
$ids = array( ); $ids = array( );
} }
$details = $query['filter2'] == 'all';
$readonlys = $rows = array(); $readonlys = $rows = array();
foreach($ids as $id => $info) foreach($ids as $id => $info)
{ {
$info = $this->get_info($info,$readonlys,$query['action'],$query['action_id'],$query['filter2']); $info = $this->get_info($info,$readonlys,$query['action'],$query['action_id'],$query['filter2'],$details);
if (!$query['filter2'] && $this->prefs['show_links'] == 'no_describtion' || if (!$query['filter2'] && $this->prefs['show_links'] == 'no_describtion' ||
$query['filter2'] == 'no_describtion') $query['filter2'] == 'no_describtion')
{ {
@ -254,8 +255,8 @@
$rows[] = $info; $rows[] = $info;
} }
if ($query['no_actions']) $rows['no_actions'] = true; if ($query['no_actions']) $rows['no_actions'] = true;
$rows['no_details'] = $query['filter2'] == 'no_describtion'; $rows['no_modified'] = !$this->prefs['show_modified'] || $this->prefs['show_modified'] == 2 && !$details;
$rows['no_times'] = !$this->prefs['show_times']; $rows['no_times'] = !$this->prefs['show_times'] || $this->prefs['show_times'] == 2 && !$details;
$rows['no_timesheet'] = !isset($GLOBALS['egw_info']['user']['apps']['timesheet']); $rows['no_timesheet'] = !isset($GLOBALS['egw_info']['user']['apps']['timesheet']);
$rows['duration_format'] = ','.$this->duration_format.',,1'; $rows['duration_format'] = ','.$this->duration_format.',,1';
//echo "<p>readonlys = "; _debug_array($readonlys); //echo "<p>readonlys = "; _debug_array($readonlys);

View File

@ -10,7 +10,7 @@
\**************************************************************************/ \**************************************************************************/
/* $Id$ */ /* $Id$ */
if (($showevents = (int) $GLOBALS['egw_info']['user']['preferences']['infolog']['homeShowEvents']) > 0) if (($showevents = $GLOBALS['egw_info']['user']['preferences']['infolog']['homeShowEvents']))
{ {
$save_app = $GLOBALS['egw_info']['flags']['currentapp']; $save_app = $GLOBALS['egw_info']['flags']['currentapp'];
$GLOBALS['egw_info']['flags']['currentapp'] = 'infolog'; $GLOBALS['egw_info']['flags']['currentapp'] = 'infolog';
@ -23,15 +23,8 @@
$infolog =& CreateObject('infolog.uiinfolog'); $infolog =& CreateObject('infolog.uiinfolog');
$infolog->called_by = 'home'; $infolog->called_by = 'home';
/*switch($showevents) if (in_array($showevents,array('1','2'))) $showevents = 'own-open-today';
{ $html = $infolog->index(array('nm' => array('filter' => $showevents)),'','',0,False,True);
case 1:*/
$html = $infolog->index(array('nm' => array('filter' => 'own-open-today')),'','',0,False,True);
/*break;
case 2:
$html = ExecMethod('calendar.uicalendar.get_todos', array('', false));
break;
}*/
$title = lang('InfoLog').' - '.lang($infolog->filters['own-open-today']); $title = lang('InfoLog').' - '.lang($infolog->filters['own-open-today']);
unset($infolog); unset($infolog);

View File

@ -13,18 +13,21 @@
/* $Id$ */ /* $Id$ */
/* Setup some values to fill the array of this app's settings below */ /* Setup some values to fill the array of this app's settings below */
$show_entries = array(
0 => lang('No'),
1 => lang('Yes'),
2 => lang('Yes').' - '.lang('show list of upcoming entries'),
);
$ui =& CreateObject('infolog.uiinfolog'); // need some labels from $ui =& CreateObject('infolog.uiinfolog'); // need some labels from
$filters = $show_home = array();
$show_home[] = lang("DON'T show InfoLog");
foreach($ui->filters as $key => $label) foreach($ui->filters as $key => $label)
{ {
$filters[$key] = lang($label); $show_home[$key] = $filters[$key] = lang($label);
} }
unset($ui); unset($ui);
// migrage old filter-pref 1,2 to the filter one 'own-open-today'
if (in_array($GLOBALS['egw']->preferences->{$GLOBALS['type']}['homeShowEvents'],array('1','2')))
{
$GLOBALS['egw']->preferences->add('infolog','homeShowEvents','own-open-today',$GLOBALS['type']);
$GLOBALS['egw']->preferences->save_repository();
}
$show_links = array( $show_links = array(
'all' => lang('all links and attachments'), 'all' => lang('all links and attachments'),
'links' => lang('only the links'), 'links' => lang('only the links'),
@ -32,27 +35,13 @@
'none' => lang('no links or attachments'), 'none' => lang('no links or attachments'),
'no_describtion' => lang('no describtion, links or attachments'), 'no_describtion' => lang('no describtion, links or attachments'),
); );
$show_details = array(
0 => lang('No'),
1 => lang('Yes'),
2 => lang('Only for details'),
);
/* Settings array for this app */ /* Settings array for this app */
$GLOBALS['settings'] = array( $GLOBALS['settings'] = array(
'homeShowEvents' => array(
'type' => 'select',
'label' => 'Show open entries: Tasks/Calls/Notes on main screen',
'name' => 'homeShowEvents',
'values' => $show_entries,
'help' => 'Should InfoLog display your open entries - not finished tasks, phonecalls or notes - on the main screen. Works only if you dont selected an application for the main screen (in your preferences).',
'xmlrpc' => True,
'admin' => False
),
'mainscreen_maxshow' => array(
'type' => 'input',
'label' => 'Max number of entries to display on the main screen',
'name' => 'mainscreen_maxshow',
'size' => 3,
'maxsize' => 10,
'help' => 'Only up to this number of entries are displayed on the main screen.',
'xmlrpc' => True,
'admin' => False
),
'defaultFilter' => array( 'defaultFilter' => array(
'type' => 'select', 'type' => 'select',
'label' => 'Default Filter for InfoLog', 'label' => 'Default Filter for InfoLog',
@ -62,6 +51,15 @@
'xmlrpc' => True, 'xmlrpc' => True,
'admin' => False 'admin' => False
), ),
'homeShowEvents' => array(
'type' => 'select',
'label' => 'InfoLog filter for the main screen',
'name' => 'homeShowEvents',
'values' => $show_home,
'help' => 'Should InfoLog show up on the main screen and with which filter. Works only if you dont selected an application for the main screen (in your preferences).',
'xmlrpc' => True,
'admin' => False
),
'listNoSubs' => array( 'listNoSubs' => array(
'type' => 'check', 'type' => 'check',
'label' => 'List no Subs/Childs', 'label' => 'List no Subs/Childs',
@ -88,29 +86,41 @@
'admin' => False 'admin' => False
), ),
'show_times' => array( 'show_times' => array(
'type' => 'check', 'type' => 'select',
'label' => 'Show times', 'label' => 'Show times',
'name' => 'show_times', 'name' => 'show_times',
'values' => $show_details,
'help' => 'Show a column for used and planned times in the list.', 'help' => 'Show a column for used and planned times in the list.',
'xmlrpc' => True, 'xmlrpc' => True,
'admin' => False 'admin' => False
), ),
'show_percent' => array( 'show_percent' => array(
'type' => 'check', 'type' => 'select',
'label' => 'Show status and percent done separate', 'label' => 'Show status and percent done separate',
'name' => 'show_percent', 'name' => 'show_percent',
'values' => $show_details,
'help' => 'Should the Infolog list show the percent done only for status ongoing or two separate icons.', 'help' => 'Should the Infolog list show the percent done only for status ongoing or two separate icons.',
'xmlrpc' => True, 'xmlrpc' => True,
'admin' => False 'admin' => False
), ),
'show_id' => array( 'show_id' => array(
'type' => 'check', 'type' => 'select',
'label' => 'Show ticket Id', 'label' => 'Show ticket Id',
'name' => 'show_id', 'name' => 'show_id',
'values' => $show_details,
'help' => 'Should the Infolog list show a unique numerical Id, which can be used eg. as ticket Id.', 'help' => 'Should the Infolog list show a unique numerical Id, which can be used eg. as ticket Id.',
'xmlrpc' => True, 'xmlrpc' => True,
'admin' => False 'admin' => False
), ),
'show_modified' => array(
'type' => 'select',
'label' => 'Show last modified',
'name' => 'show_modified',
'values' => $show_details,
'help' => 'Should the Infolog list show the column "last modified".',
'xmlrpc' => True,
'admin' => False
),
'set_start' => array( 'set_start' => array(
'type' => 'select', 'type' => 'select',
'label' => 'Startdate for new entries', 'label' => 'Startdate for new entries',
@ -126,6 +136,7 @@
), ),
); );
unset($show_entries); unset($show_home);
unset($show_details);
unset($filters); unset($filters);
unset($show_links); unset($show_links);

File diff suppressed because one or more lines are too long

View File

@ -92,6 +92,7 @@ description infolog de Beschreibung
determines the order the fields are displayed infolog de legt die Reihenfolge fest in der die Felder angezeigt werden determines the order the fields are displayed infolog de legt die Reihenfolge fest in der die Felder angezeigt werden
disables a status without deleting it infolog de deaktiviert einen Status ohne ihn zu löschen disables a status without deleting it infolog de deaktiviert einen Status ohne ihn zu löschen
do you want a confirmation of the responsible on: accepting, finishing the task or both infolog de wollen Sie eine Bestätigung des Verantwortlichen bei: Annahme, Beendigung der Aufgabe oder bei beidem do you want a confirmation of the responsible on: accepting, finishing the task or both infolog de wollen Sie eine Bestätigung des Verantwortlichen bei: Annahme, Beendigung der Aufgabe oder bei beidem
don't show infolog infolog de InfoLog NICHT anzeigen
done infolog de erledigt done infolog de erledigt
download infolog de Datei laden download infolog de Datei laden
duration infolog de Dauer duration infolog de Dauer
@ -134,6 +135,7 @@ infolog - new subproject infolog de InfoLog - Anlegen Teilprojekt
infolog - subprojects from infolog de InfoLog - Teilprojekte von infolog - subprojects from infolog de InfoLog - Teilprojekte von
infolog entry deleted infolog de InfoLog Eintrag gelöscht infolog entry deleted infolog de InfoLog Eintrag gelöscht
infolog entry saved infolog de InfoLog Eintrag gespeichert infolog entry saved infolog de InfoLog Eintrag gespeichert
infolog filter for the main screen infolog de InfoLog Filter für Startseite
infolog list infolog de InfoLog Liste infolog list infolog de InfoLog Liste
infolog preferences common de InfoLog Einstellungen infolog preferences common de InfoLog Einstellungen
infolog-fieldname infolog de InfoLog-Feldname infolog-fieldname infolog de InfoLog-Feldname
@ -154,7 +156,6 @@ location infolog de Ort
longer textual description infolog de längere textliche Beschreibung longer textual description infolog de längere textliche Beschreibung
low infolog de niedrig low infolog de niedrig
max length of the input [, length of the inputfield (optional)] infolog de max. Länge der Eingabe [, Länge des Eingabefeldes (optional)] max length of the input [, length of the inputfield (optional)] infolog de max. Länge der Eingabe [, Länge des Eingabefeldes (optional)]
max number of entries to display on the main screen infolog de Wieviele Einträge sollen maximal auf der Startseite angezeigt werden
name must not be empty !!! infolog de Name darf nicht leer sein !!! name must not be empty !!! infolog de Name darf nicht leer sein !!!
name of new type to create infolog de Name des neu anzulegenden Types name of new type to create infolog de Name des neu anzulegenden Types
never hide search and filters infolog de Suche und Filter niemals ausblenden never hide search and filters infolog de Suche und Filter niemals ausblenden
@ -176,9 +177,9 @@ number of records to read (%1) infolog de Anzahl Datens
number of row for a multiline inputfield or line of a multi-select-box infolog de Anzahl Zeilen für ein mehrzeiliges Eingabefeld oder eines mehrfachen Auswahlfeldes number of row for a multiline inputfield or line of a multi-select-box infolog de Anzahl Zeilen für ein mehrzeiliges Eingabefeld oder eines mehrfachen Auswahlfeldes
offer infolog de Angebot offer infolog de Angebot
ongoing infolog de in Arbeit ongoing infolog de in Arbeit
only for details infolog de Nur bei Details
only the attachments infolog de nur die Anhänge only the attachments infolog de nur die Anhänge
only the links infolog de nur die Verknüpfungen only the links infolog de nur die Verknüpfungen
only up to this number of entries are displayed on the main screen. infolog de Nur bis zu dieser Anzahl Einträge wird auf der Startseite angezeigt.
open infolog de offen open infolog de offen
optional note to the link infolog de zusätzliche Notiz zur Verknüfung optional note to the link infolog de zusätzliche Notiz zur Verknüfung
order infolog de Reihenfolge order infolog de Reihenfolge
@ -233,18 +234,18 @@ select an entry to link with infolog de einen Eintrag zum Verk
select to filter by owner infolog de Besiter zum Filtern auswählen select to filter by owner infolog de Besiter zum Filtern auswählen
select to filter by responsible infolog de Verantwortlichen zum Filtern auswählen select to filter by responsible infolog de Verantwortlichen zum Filtern auswählen
sets the status of this entry and its subs to done infolog de Setzt den Status dieses Eintrags und seiner Untereinträge auf erledigt sets the status of this entry and its subs to done infolog de Setzt den Status dieses Eintrags und seiner Untereinträge auf erledigt
should infolog display your open entries - not finished tasks, phonecalls or notes - on the main screen. works only if you dont selected an application for the main screen (in your preferences). infolog de Soll InfoLog die offenen Einträge - nicht beendete Aufgaben, Anrufe oder Notizen - auf der Startsteite anzeigen. Funktioniert nur, wenn Sie keine (einzelne) Anwendung für die Startseite ausgewählt haben (in Ihren Einstellungen).
should infolog show subtasks, -calls or -notes in the normal view or not. you can always view the subs via there parent. infolog de Soll InfoLog Untereinträge in der normalen Ansicht anzeigen oder nicht. Sie können die Untereinträge immer über deren Haupteintrag anzeigen. should infolog show subtasks, -calls or -notes in the normal view or not. you can always view the subs via there parent. infolog de Soll InfoLog Untereinträge in der normalen Ansicht anzeigen oder nicht. Sie können die Untereinträge immer über deren Haupteintrag anzeigen.
should infolog show the links to other applications and/or the file-attachments in the infolog list (normal view when you enter infolog). infolog de Soll InfoLog die Verknüpfungen zu anderen Anwendungen und/oder die Datei-Anhänge in der InfoLog Liste (normale Ansicht wenn InfoLog aufgerufen wird) anzeigen. should infolog show the links to other applications and/or the file-attachments in the infolog list (normal view when you enter infolog). infolog de Soll InfoLog die Verknüpfungen zu anderen Anwendungen und/oder die Datei-Anhänge in der InfoLog Liste (normale Ansicht wenn InfoLog aufgerufen wird) anzeigen.
should infolog show up on the main screen and with which filter. works only if you dont selected an application for the main screen (in your preferences). infolog de Soll InfoLog auf der Startseite angezeigt werden und mit welchem Filter. Funktioniert nur, wenn Sie keine (einzelne) Anwendung für die Startseite ausgewählt haben (in Ihren Einstellungen).
should infolog use full names (surname and familyname) or just the loginnames. infolog de Soll InfoLog den vollen Namen (Vor- und Familienname) oder nur die Benutzerkennung verwenden. should infolog use full names (surname and familyname) or just the loginnames. infolog de Soll InfoLog den vollen Namen (Vor- und Familienname) oder nur die Benutzerkennung verwenden.
should the infolog list show a unique numerical id, which can be used eg. as ticket id. infolog de Soll die InfoLog Liste eine eindeutige Nummer anzeigen, die zB. als Ticketnummer verwendet werden kann. should the infolog list show a unique numerical id, which can be used eg. as ticket id. infolog de Soll die InfoLog Liste eine eindeutige Nummer anzeigen, die zB. als Ticketnummer verwendet werden kann.
should the infolog list show the column "last modified". infolog de Soll die InfoLog Liste die Spalte "Zuletzt geändert" anzeigen.
should the infolog list show the percent done only for status ongoing or two separate icons. infolog de Soll die InfoLog Liste Prozent erledigt nur für den Status "in Arbeit" anzeigen oder zwei separate Icons. should the infolog list show the percent done only for status ongoing or two separate icons. infolog de Soll die InfoLog Liste Prozent erledigt nur für den Status "in Arbeit" anzeigen oder zwei separate Icons.
should this entry only be visible to you and people you grant privat access via the acl infolog de soll dieser Eintrag nur sichtbar sein für Sie und Personen denen Sie privaten Zugriff über die ACL erlaubt haben should this entry only be visible to you and people you grant privat access via the acl infolog de soll dieser Eintrag nur sichtbar sein für Sie und Personen denen Sie privaten Zugriff über die ACL erlaubt haben
show a column for used and planned times in the list. infolog de Zeige eine Spalte für benutzte und geplante Zeiten in der List. show a column for used and planned times in the list. infolog de Zeige eine Spalte für benutzte und geplante Zeiten in der List.
show full usernames infolog de Kompletten Benutzernamen anzeigen show full usernames infolog de Kompletten Benutzernamen anzeigen
show in the infolog list infolog de In der InfoLog Liste anzeigen show in the infolog list infolog de In der InfoLog Liste anzeigen
show list of upcoming entries infolog de Liste zukünftiger Einträge anzeigen show last modified infolog de Zuletzt geändert anzeigen
show open entries: tasks/calls/notes on main screen infolog de Nicht erledigte Einträge: Aufgaben/Anrufe/Notizen auf Startseite anzeigen
show status and percent done separate infolog de Status und Prozent erledigt separat anzeigen show status and percent done separate infolog de Status und Prozent erledigt separat anzeigen
show ticket id infolog de Ticketnummer anzeigen show ticket id infolog de Ticketnummer anzeigen
show times infolog de Zeiten anzeigen show times infolog de Zeiten anzeigen

View File

@ -92,6 +92,7 @@ description infolog en Description
determines the order the fields are displayed infolog en determines the order the fields are displayed determines the order the fields are displayed infolog en determines the order the fields are displayed
disables a status without deleting it infolog en disables a status without deleting it disables a status without deleting it infolog en disables a status without deleting it
do you want a confirmation of the responsible on: accepting, finishing the task or both infolog en do you want a confirmation of the responsible on: accepting, finishing the task or both do you want a confirmation of the responsible on: accepting, finishing the task or both infolog en do you want a confirmation of the responsible on: accepting, finishing the task or both
don't show infolog infolog en DON'T show InfoLog
done infolog en done done infolog en done
download infolog en Download download infolog en Download
duration infolog en Duration duration infolog en Duration
@ -134,6 +135,7 @@ infolog - new subproject infolog en InfoLog - New Subproject
infolog - subprojects from infolog en InfoLog - Subprojects from infolog - subprojects from infolog en InfoLog - Subprojects from
infolog entry deleted infolog en InfoLog entry deleted infolog entry deleted infolog en InfoLog entry deleted
infolog entry saved infolog en InfoLog entry saved infolog entry saved infolog en InfoLog entry saved
infolog filter for the main screen infolog en InfoLog filter for the main screen
infolog list infolog en InfoLog list infolog list infolog en InfoLog list
infolog preferences common en InfoLog preferences infolog preferences common en InfoLog preferences
infolog-fieldname infolog en Info Log-Fieldname infolog-fieldname infolog en Info Log-Fieldname
@ -154,7 +156,6 @@ location infolog en Location
longer textual description infolog en longer textual description longer textual description infolog en longer textual description
low infolog en low low infolog en low
max length of the input [, length of the inputfield (optional)] infolog en max length of the input [, length of the inputfield (optional)] max length of the input [, length of the inputfield (optional)] infolog en max length of the input [, length of the inputfield (optional)]
max number of entries to display on the main screen infolog en Max number of entries to display on the main screen
name must not be empty !!! infolog en Name must not be empty !!! name must not be empty !!! infolog en Name must not be empty !!!
name of new type to create infolog en name of new type to create name of new type to create infolog en name of new type to create
never hide search and filters infolog en Never hide search and filters never hide search and filters infolog en Never hide search and filters
@ -176,9 +177,9 @@ number of records to read (%1) infolog en Number of records to read (%1)
number of row for a multiline inputfield or line of a multi-select-box infolog en number of row for a multiline inputfield or line of a multi-select-box number of row for a multiline inputfield or line of a multi-select-box infolog en number of row for a multiline inputfield or line of a multi-select-box
offer infolog en offer offer infolog en offer
ongoing infolog en ongoing ongoing infolog en ongoing
only for details infolog en Only for details
only the attachments infolog en only the attachments only the attachments infolog en only the attachments
only the links infolog en only the links only the links infolog en only the links
only up to this number of entries are displayed on the main screen. infolog en Only up to this number of entries are displayed on the main screen.
open infolog en open open infolog en open
optional note to the link infolog en optional note to the Link optional note to the link infolog en optional note to the Link
order infolog en Order order infolog en Order
@ -233,18 +234,18 @@ select an entry to link with infolog en Select an entry to link with
select to filter by owner infolog en select to filter by owner select to filter by owner infolog en select to filter by owner
select to filter by responsible infolog en select to filter by responsible select to filter by responsible infolog en select to filter by responsible
sets the status of this entry and its subs to done infolog en Sets the status of this entry and its subs to done sets the status of this entry and its subs to done infolog en Sets the status of this entry and its subs to done
should infolog display your open entries - not finished tasks, phonecalls or notes - on the main screen. works only if you dont selected an application for the main screen (in your preferences). infolog en Should InfoLog display your open entries - not finised tasks, phonecalls or notes - on the main screen. Works only if you dont selected an application for the main screen (in your preferences).
should infolog show subtasks, -calls or -notes in the normal view or not. you can always view the subs via there parent. infolog en Should InfoLog show Subtasks, -calls or -notes in the normal view or not. You can always view the subs via their parent. should infolog show subtasks, -calls or -notes in the normal view or not. you can always view the subs via there parent. infolog en Should InfoLog show Subtasks, -calls or -notes in the normal view or not. You can always view the subs via their parent.
should infolog show the links to other applications and/or the file-attachments in the infolog list (normal view when you enter infolog). infolog en Should InfoLog show the links to other applications and/or the file-attachments in the InfoLog list (normal view when you enter InfoLog). should infolog show the links to other applications and/or the file-attachments in the infolog list (normal view when you enter infolog). infolog en Should InfoLog show the links to other applications and/or the file-attachments in the InfoLog list (normal view when you enter InfoLog).
should infolog show up on the main screen and with which filter. works only if you dont selected an application for the main screen (in your preferences). infolog en Should InfoLog show up on the main screen and with which filter. Works only if you dont selected an application for the main screen (in your preferences).
should infolog use full names (surname and familyname) or just the loginnames. infolog en Should InfoLog use full names (surname and familyname) or just the loginnames. should infolog use full names (surname and familyname) or just the loginnames. infolog en Should InfoLog use full names (surname and familyname) or just the loginnames.
should the infolog list show a unique numerical id, which can be used eg. as ticket id. infolog en Should the Infolog list show a unique numerical Id, which can be used eg. as ticket Id. should the infolog list show a unique numerical id, which can be used eg. as ticket id. infolog en Should the Infolog list show a unique numerical Id, which can be used eg. as ticket Id.
should the infolog list show the column "last modified". infolog en Should the Infolog list show the column "last modified".
should the infolog list show the percent done only for status ongoing or two separate icons. infolog en Should the Infolog list show the percent done only for status ongoing or two separate icons. should the infolog list show the percent done only for status ongoing or two separate icons. infolog en Should the Infolog list show the percent done only for status ongoing or two separate icons.
should this entry only be visible to you and people you grant privat access via the acl infolog en should this entry only be visible to you and people you grant privat access via the ACL should this entry only be visible to you and people you grant privat access via the acl infolog en should this entry only be visible to you and people you grant privat access via the ACL
show a column for used and planned times in the list. infolog en Show a column for used and planned times in the list. show a column for used and planned times in the list. infolog en Show a column for used and planned times in the list.
show full usernames infolog en Show full usernames show full usernames infolog en Show full usernames
show in the infolog list infolog en Show in the InfoLog list show in the infolog list infolog en Show in the InfoLog list
show list of upcoming entries infolog en show list of upcoming entries show last modified infolog en Show last modified
show open entries: tasks/calls/notes on main screen infolog en Show open entries: Tasks/Calls/Notes on main screen
show status and percent done separate infolog en Show status and percent done separate show status and percent done separate infolog en Show status and percent done separate
show ticket id infolog en Show ticket Id show ticket id infolog en Show ticket Id
show times infolog en Show times show times infolog en Show times

View File

@ -1,122 +1,128 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!-- $Id$ --> <!-- $Id$ -->
<overlay> <overlay>
<grid id="infolog.customfields.status" template="" lang="" group="0" version="0.9.15.001"> <template id="infolog.customfields.status" template="" lang="" group="0" version="1.2.001">
<columns> <grid>
<column/> <columns>
<column/> <column/>
<column/> <column/>
<column/> <column/>
<column disabled="1"/> <column/>
<column/> <column disabled="1"/>
</columns> <column/>
<rows> </columns>
<row class="th"> <rows>
<description value="Name"/> <row class="th">
<description value="Label"/> <description value="Name"/>
<description value="Translation"/> <description value="Label"/>
<description value="Default"/> <description value="Translation"/>
<description value="Disabled"/> <description value="Default"/>
<description value="Action" align="center"/> <description value="Disabled"/>
</row> <description value="Action" align="center"/>
<row class="row"> </row>
<textbox size="10" maxlength="10" id="${row}[name]" statustext="the name used internaly (&lt;= 10 chars), changeing it makes existing data unavailible"/> <row class="row">
<textbox size="40" id="${row}[label]" statustext="the text displayed to the user"/> <textbox size="10" maxlength="40" id="${row}[name]" statustext="the name used internaly (&lt;= 10 chars), changeing it makes existing data unavailible"/>
<description id="${row}[label]"/> <textbox size="40" id="${row}[label]" statustext="the text displayed to the user"/>
<radio options="$row_cont[name]" align="center" id="default" statustext="default status for a new log entry"/>
<checkbox align="center" id="${row}[disabled]" statustext="disables a status without deleting it"/>
<hbox>
<button label="Delete" id="delete[$row_cont[name]]" statustext="deletes this status"/>
<button label="Create" id="create$row_cont[name]" statustext="creates a new status with the given values"/>
</hbox>
</row>
</rows>
</grid>
<grid id="infolog.customfields.fields" template="" lang="" group="0" version="0.9.15.001">
<columns>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row class="th">
<description value="Typ"/>
<description value="Name"/>
<description value="Label"/>
<description value="Values for selectbox"/>
<description value="Length&lt;br&gt;Rows"/>
<description value="Order"/>
<description value="Action" align="center" statustext="deletes this field"/>
</row>
<row class="row" valign="top">
<menulist>
<menupopup options="All" id="${row}[typ]" statustext="for which types should this field be used"/>
</menulist>
<textbox size="20" maxlength="32" id="${row}[name]" statustext="the name used internaly (&lt;= 20 chars), changeing it makes existing data unavailible"/>
<vbox>
<textbox maxlength="255" id="${row}[label]" statustext="the text displayed to the user"/>
<description id="${row}[label]"/> <description id="${row}[label]"/>
</vbox> <radio options="$row_cont[name]" align="center" id="default" statustext="default status for a new log entry"/>
<textbox multiline="true" rows="2" cols="30" id="${row}[values]" statustext="each value is a line like &lt;id&gt;[=&lt;label&gt;]"/> <checkbox align="center" id="${row}[disabled]" statustext="disables a status without deleting it"/>
<vbox> <hbox>
<textbox size="5" id="${row}[len]" statustext="max length of the input [, length of the inputfield (optional)]"/> <button label="Delete" id="delete[$row_cont[name]]" statustext="deletes this status"/>
<int options="0,10,2" id="${row}[rows]" statustext="number of row for a multiline inputfield or line of a multi-select-box" blur="1"/> <button label="Create" id="create$row_cont[name]" statustext="creates a new status with the given values"/>
</vbox> </hbox>
<int options="1,,3" id="${row}[order]" statustext="determines the order the fields are displayed"/> </row>
<hbox> </rows>
<button label="Delete" id="delete[$row_cont[name]]" statustext="deletes this field"/> </grid>
<button label="Create" id="create$row_cont[name]" statustext="creates a new field"/> </template>
</hbox> <template id="infolog.customfields.fields" template="" lang="" group="0" version="1.2.001">
</row> <grid>
</rows> <columns>
</grid> <column/>
<grid id="infolog.customfields" template="" lang="" group="" version="0.9.15.001"> <column/>
<columns> <column/>
<column/> <column/>
<column/> <column/>
<column/> <column/>
<column/> <column/>
<column/> </columns>
<column width="80%"/> <rows>
</columns> <row class="th">
<rows> <description value="Typ"/>
<row> <description value="Name"/>
<description value="Typ"/> <description value="Label"/>
<menulist> <description value="Values for selectbox"/>
<menupopup id="typ" onchange="1" statustext="select a typ to edit it's status-values or delete it"/> <description value="Length&lt;br&gt;Rows"/>
</menulist> <description value="Order"/>
<button label="Delete" id="button[delete]" statustext="deletes the selected typ"/> <description value="Action" align="center" statustext="deletes this field"/>
<textbox size="10" maxlength="10" id="new_name" statustext="name of new type to create" blur="new name"/> </row>
<button label="Create" id="button[create]" statustext="creates a new typ with the given name"/> <row class="row" valign="top">
<description class="error_msg" no_lang="1" align="center" id="error_msg"/> <menulist>
</row> <menupopup options="All" id="${row}[typ]" statustext="for which types should this field be used"/>
<row class="header"> </menulist>
<description span="all" value="Custom status for typ" id="typ"/> <textbox size="20" maxlength="32" id="${row}[name]" statustext="the name used internaly (&lt;= 20 chars), changeing it makes existing data unavailible"/>
</row> <vbox>
<row> <textbox maxlength="255" id="${row}[label]" statustext="the text displayed to the user"/>
<grid content="status" span="all" id="infolog.customfields.status"/> <description id="${row}[label]"/>
</row> </vbox>
<row class="header"> <textbox multiline="true" rows="2" cols="30" id="${row}[values]" statustext="each value is a line like &lt;id&gt;[=&lt;label&gt;]"/>
<description span="all" value="Custom fields"/> <vbox>
</row> <textbox size="5" id="${row}[len]" statustext="max length of the input [, length of the inputfield (optional)]"/>
<row> <int options="0,10,2" id="${row}[rows]" statustext="number of row for a multiline inputfield or line of a multi-select-box" blur="1"/>
<grid content="fields" span="all" id="infolog.customfields.fields"/> </vbox>
</row> <int options="1,,3" id="${row}[order]" statustext="determines the order the fields are displayed"/>
<row> <hbox>
<hbox span="all"> <button label="Delete" id="delete[$row_cont[name]]" statustext="deletes this field"/>
<button label="Save" id="button[save]" statustext="saves the changes made and leaves"/> <button label="Create" id="create$row_cont[name]" statustext="creates a new field"/>
<button label="Apply" id="button[apply]" statustext="applies the changes"/> </hbox>
<button label="Cancel" id="button[cancel]" statustext="leaves without saveing"/> </row>
</hbox> </rows>
</row> </grid>
</rows> </template>
<template id="infolog.customfields" template="" lang="" group="0" version="1.2.001">
<grid>
<columns>
<column/>
<column/>
<column/>
<column/>
<column/>
<column width="80%"/>
</columns>
<rows>
<row>
<description value="Typ"/>
<menulist>
<menupopup id="typ" onchange="1" statustext="select a typ to edit it's status-values or delete it"/>
</menulist>
<button label="Delete" id="button[delete]" statustext="deletes the selected typ"/>
<textbox size="10" maxlength="40" id="new_name" statustext="name of new type to create" blur="new name"/>
<button label="Create" id="button[create]" statustext="creates a new typ with the given name"/>
<description class="error_msg" no_lang="1" align="center" id="error_msg"/>
</row>
<row class="header">
<description span="all" value="Custom status for typ" id="typ"/>
</row>
<row>
<template content="status" span="all" id="infolog.customfields.status"/>
</row>
<row class="header">
<description span="all" value="Custom fields"/>
</row>
<row>
<template content="fields" span="all" id="infolog.customfields.fields"/>
</row>
<row>
<hbox span="all">
<button label="Save" id="button[save]" statustext="saves the changes made and leaves"/>
<button label="Apply" id="button[apply]" statustext="applies the changes"/>
<button label="Cancel" id="button[cancel]" statustext="leaves without saveing"/>
</hbox>
</row>
</rows>
</grid>
<styles> <styles>
.header { font-weight: bold; font-size: 120%; } .header { font-weight: bold; font-size: 120%; }
.error_msg { color: red; font-style: italics; } .error_msg { color: red; font-style: italics; }
</styles> </styles>
</grid> </template>
</overlay> </overlay>

View File

@ -21,7 +21,7 @@
<column width="120"/> <column width="120"/>
<column disabled="@no_times"/> <column disabled="@no_times"/>
<column width="8%"/> <column width="8%"/>
<column width="12%" disabled="1"/> <column width="12%" disabled="@no_modified"/>
<column width="3%" disabled="@no_actions"/> <column width="3%" disabled="@no_actions"/>
<column width="3%" disabled="@no_actions"/> <column width="3%" disabled="@no_actions"/>
</columns> </columns>
@ -114,7 +114,7 @@
<column width="120"/> <column width="120"/>
<column disabled="@no_times"/> <column disabled="@no_times"/>
<column width="8%"/> <column width="8%"/>
<column width="12%" disabled="1"/> <column width="12%" disabled="@no_modified"/>
<column width="3%" disabled="@no_actions"/> <column width="3%" disabled="@no_actions"/>
<column width="3%" disabled="@no_actions"/> <column width="3%" disabled="@no_actions"/>
</columns> </columns>