mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-24 00:29:47 -05:00
Use "ID" instead of "Name" and "Display Name" instead of "Title"
This commit is contained in:
parent
510267c7d0
commit
a707ee3eb7
4 changed files with 12 additions and 12 deletions
|
|
@ -66,7 +66,7 @@ class AddNodeForm extends QuickForm
|
||||||
protected function addNewProcess()
|
protected function addNewProcess()
|
||||||
{
|
{
|
||||||
$this->addElement('text', 'name', array(
|
$this->addElement('text', 'name', array(
|
||||||
'label' => $this->translate('Name'),
|
'label' => $this->translate('ID'),
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'description' => $this->translate(
|
'description' => $this->translate(
|
||||||
'This is the unique identifier of this process'
|
'This is the unique identifier of this process'
|
||||||
|
|
@ -74,9 +74,9 @@ class AddNodeForm extends QuickForm
|
||||||
));
|
));
|
||||||
|
|
||||||
$this->addElement('text', 'alias', array(
|
$this->addElement('text', 'alias', array(
|
||||||
'label' => $this->translate('Title'),
|
'label' => $this->translate('Display Name'),
|
||||||
'description' => $this->translate(
|
'description' => $this->translate(
|
||||||
'Usually this title will be shown for this node. Equals name'
|
'Usually this name will be shown for this node. Equals ID'
|
||||||
. ' if not given'
|
. ' if not given'
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ class BpConfigForm extends BpConfigBaseForm
|
||||||
public function setup()
|
public function setup()
|
||||||
{
|
{
|
||||||
$this->addElement('text', 'name', array(
|
$this->addElement('text', 'name', array(
|
||||||
'label' => $this->translate('Name'),
|
'label' => $this->translate('ID'),
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'validators' => array(
|
'validators' => array(
|
||||||
array(
|
array(
|
||||||
|
|
@ -36,9 +36,9 @@ class BpConfigForm extends BpConfigBaseForm
|
||||||
));
|
));
|
||||||
|
|
||||||
$this->addElement('text', 'Title', array(
|
$this->addElement('text', 'Title', array(
|
||||||
'label' => $this->translate('Title'),
|
'label' => $this->translate('Display Name'),
|
||||||
'description' => $this->translate(
|
'description' => $this->translate(
|
||||||
'Usually this title will be shown for this process. Equals name'
|
'Usually this name will be shown for this process. Equals ID'
|
||||||
. ' if not given'
|
. ' if not given'
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@ class EditNodeForm extends QuickForm
|
||||||
protected function addNewProcess()
|
protected function addNewProcess()
|
||||||
{
|
{
|
||||||
$this->addElement('text', 'name', array(
|
$this->addElement('text', 'name', array(
|
||||||
'label' => $this->translate('Name'),
|
'label' => $this->translate('ID'),
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'disabled' => true,
|
'disabled' => true,
|
||||||
'description' => $this->translate(
|
'description' => $this->translate(
|
||||||
|
|
@ -96,9 +96,9 @@ class EditNodeForm extends QuickForm
|
||||||
));
|
));
|
||||||
|
|
||||||
$this->addElement('text', 'alias', array(
|
$this->addElement('text', 'alias', array(
|
||||||
'label' => $this->translate('Title'),
|
'label' => $this->translate('Display Name'),
|
||||||
'description' => $this->translate(
|
'description' => $this->translate(
|
||||||
'Usually this title will be shown for this node. Equals name'
|
'Usually this name will be shown for this node. Equals ID'
|
||||||
. ' if not given'
|
. ' if not given'
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ class ProcessForm extends QuickForm
|
||||||
{
|
{
|
||||||
if ($this->node === null) {
|
if ($this->node === null) {
|
||||||
$this->addElement('text', 'name', array(
|
$this->addElement('text', 'name', array(
|
||||||
'label' => $this->translate('Name'),
|
'label' => $this->translate('ID'),
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'description' => $this->translate(
|
'description' => $this->translate(
|
||||||
'This is the unique identifier of this process'
|
'This is the unique identifier of this process'
|
||||||
|
|
@ -47,9 +47,9 @@ class ProcessForm extends QuickForm
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->addElement('text', 'alias', array(
|
$this->addElement('text', 'alias', array(
|
||||||
'label' => $this->translate('Title'),
|
'label' => $this->translate('Display Name'),
|
||||||
'description' => $this->translate(
|
'description' => $this->translate(
|
||||||
'Usually this title will be shown for this node. Equals name'
|
'Usually this name will be shown for this node. Equals ID'
|
||||||
. ' if not given'
|
. ' if not given'
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue