Изменения документа homeopathsSheet

Редактировал(а) Jip-jan Alunkel марта 26, 17:31

От версии 1.89
отредактировано Jip-jan Alunkel
на марта 08, 15:12
Изменить комментарий: К данной версии нет комментариев
К версии 1.90
отредактировано Jip-jan Alunkel
на марта 08, 15:14
Изменить комментарий: К данной версии нет комментариев

Сводка

Подробности

Свойства страницы
Содержимое
... ... @@ -45,6 +45,40 @@
45 45   {'certification': {'type': 'checkbox', 'opener': 1}},
46 46   {'certificationFrom': {'type': 'text', 'parent': 'certification'}}
47 47  ])
48 +
49 + #if($hasRight)
50 + <p class="buttons text-align-right">
51 + <a class="btn btn-secondary" title="Edit" data-toggle="modal" data-target="#detailsModal" role="button" rel="nofollow">
52 + <span class="btn-label">Edit details</span>
53 + </a>
54 + </p>
55 + #end
56 +</div>
57 + #if($hasRight)
58 + #set($form_start = {
59 + "id": "homeopaths_form",
60 + "product": "homeopath details",
61 + "method": "post",
62 + "url": "",
63 + "use_captcha": "false"
64 + })
65 +#* #set($thisObj = {})
66 + #set($children = {})
67 + #set($nonChildren = {})
68 + #foreach($item in $classProperties.keySet())
69 + #if($classProperties[$item].opener == 1)
70 + #set($parentID = $classProperties[$item].parent)
71 + #if(!$children[$parentID])
72 + #set($discard = $children.put("$parentID", {}))
73 + #end
74 + #set($discard = $children["$parentID"].put($item, $classProperties[$item]))
75 + #elseif($classProperties[$item].parent)## ???? Ws fout
76 + #else
77 + #set($discard = $nonChildren.put($item, $classProperties[$item]))
78 + #end
79 + #end
80 +## #createElementObjects($nonChildren)
81 +*#
48 48  #set($lastChild = "")
49 49  #foreach($property in $classProperties)
50 50   #foreach($item in $property.keySet())
... ... @@ -106,38 +106,6 @@
106 106  
107 107  #end
108 108  
109 - #if($hasRight)
110 - <p class="buttons text-align-right">
111 - <a class="btn btn-secondary" title="Edit" data-toggle="modal" data-target="#detailsModal" role="button" rel="nofollow">
112 - <span class="btn-label">Edit details</span>
113 - </a>
114 - </p>
115 - #end
116 -</div>
117 - #if($hasRight)
118 - #set($form_start = {
119 - "id": "homeopaths_form",
120 - "product": "homeopath details",
121 - "method": "post",
122 - "url": "",
123 - "use_captcha": "false"
124 - })
125 - #set($thisObj = {})
126 - #set($children = {})
127 - #set($nonChildren = {})
128 - #foreach($item in $classProperties.keySet())
129 - #if($classProperties[$item].opener == 1)
130 - #set($parentID = $classProperties[$item].parent)
131 - #if(!$children[$parentID])
132 - #set($discard = $children.put("$parentID", {}))
133 - #end
134 - #set($discard = $children["$parentID"].put($item, $classProperties[$item]))
135 - #elseif($classProperties[$item].parent)## ???? Ws fout
136 - #else
137 - #set($discard = $nonChildren.put($item, $classProperties[$item]))
138 - #end
139 - #end
140 -## #createElementObjects($nonChildren)
141 141   #set($submit = {
142 142   "id" : "edit_details",
143 143   "button-text" : "Save changes",