diff --git a/webapp/web/templates/freemarker/edit/forms/menuManagementForm.ftl b/webapp/web/templates/freemarker/edit/forms/menuManagementForm.ftl index 97caef28c..4faa859e7 100644 --- a/webapp/web/templates/freemarker/edit/forms/menuManagementForm.ftl +++ b/webapp/web/templates/freemarker/edit/forms/menuManagementForm.ftl @@ -1,6 +1,7 @@ <#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> -<#-- Template for menu items management. Based on menu management wireframes --> +<#-- Template for menu items management. + Based on menu management wireframes: edit page: screen 3a --> <#-- Assignment of validation error variables --> @@ -26,7 +27,8 @@ <#--Since we are going to use one template for adding and editing a menu item, - it will be necessary to provide a freemarker variable that does the job --> + it will be necessary to provide a freemarker variable that lets us know if you are in edit or add mode. bThis is up + to you Huda the way you implement it. -->

${menuAction} menu item

@@ -51,35 +53,28 @@ checked /> + + <#if selectedTemplateType = "custom"> + * +

Select content type for the associated page

${associatedPage} Change content type

Select content to display

- - <#list classGroups as classGroup> - checked /> - - <#--sortable icon for dragging and dropping menu items--> -
- - - <#-- NICK, this is a better markup for making sortable classGroups using http://jqueryui.com/demos/sortable/ -

Select content to display

-
--> - + @@ -90,6 +85,28 @@ +<#-- Based on menu management wireframes: edit page: screen 3b + Snippet for selecting class groups or content types--> + + + + +<#-- Based on menu management wireframes: add page: screen 3c + Snippet if there is no institutional internal class selected--> + + <#if internalClass?has_content> + <#assign disableClass = 'class="disable"' /> + <#assign enableInternalClass = '

To enable this option, you must first select an institutional internal class for your instance

' /> + <#/if> + + + + ${enableInternalClass} + <#-- Add necessary css files associated with this page ${stylesheets.add('')}--> ${stylesheets.add('')}