mirror of https://github.com/MISP/MISP
chg: [galaxyCluster:add] Adapt page title if forking
parent
60da050e12
commit
ab493e2150
|
@ -15,7 +15,11 @@
|
||||||
echo $this->element('genericElements/Form/genericForm', array(
|
echo $this->element('genericElements/Form/genericForm', array(
|
||||||
'form' => $this->Form,
|
'form' => $this->Form,
|
||||||
'data' => array(
|
'data' => array(
|
||||||
'title' => $action == 'add' ? __('Add Galaxy Cluster') : __('Edit Galaxy Cluster'),
|
'title' => (
|
||||||
|
$action == 'add' ?
|
||||||
|
(isset($forkedClusterMeta) ? __('Fork Galaxy Cluster') : __('Add Galaxy Cluster')) :
|
||||||
|
__('Edit Galaxy Cluster')
|
||||||
|
),
|
||||||
'model' => $modelForForm,
|
'model' => $modelForForm,
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
array(
|
array(
|
||||||
|
|
Loading…
Reference in New Issue