Uploaded image for project: 'Hippo Essentials'
  1. Hippo Essentials
  2. ESSENTIALS-1022

Remove 'Click to edit Menu' section in base-top-menu.ftl

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Story Points:
      0.5
    • Processed by team:
      Tiger
    • Sprint:
      Tiger Sprint 137

      Description

      The differences in menu templates are found if you create a project using archetype and also use essentials to add the menu component:

      • If you added 'menu' container item component in template composer, the text (the #else block in essentials-menu.ftl) is meaningful because the component editing window somehow provides ability to add a new menu.
      • However, if you're editing a non-container item component like the top menu, then the text (the #else block in base-top-menu.ftl added by archetype) doesn't seem meaningful any more because there's nothing to help user with creating a new menu.

      Maybe the #else section in the base-top-menu.ftl can be changed like the following:

      <#else>
        <#if editMode>
          <p>Invalid menu configuration.</p>
        </#if>
      </#if>
      

      Or,

      just remove the #else part, because the person who gets to see it is not the person who would typically be able to do anything about it...

        Attachments

          Activity

            People

            • Assignee:
              asolod Andrey Solod
              Reporter:
              wko Woonsan Ko
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: