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(
|
||||
'form' => $this->Form,
|
||||
'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,
|
||||
'fields' => array(
|
||||
array(
|
||||
|
|
Loading…
Reference in New Issue