java.lang.Object
com.atlassian.jira.projects.legacy.projectpanel.fragment.impl.AbstractFragment
com.atlassian.jira.projects.legacy.projectpanel.fragment.impl.ProjectGetStarted
All Implemented Interfaces:
ProjectTabPanelFragment

@Named public class ProjectGetStarted extends AbstractFragment
Displays a welcome message/call to action for empty project. This is only used when NOT viewing the new project centric layout/sidebar.
Since:
v6.0
  • Constructor Details

  • Method Details

    • getTemplateDirectoryPath

      protected String getTemplateDirectoryPath()
      Description copied from class: AbstractFragment
      Returns the path to the template directory
      Specified by:
      getTemplateDirectoryPath in class AbstractFragment
      Returns:
      the path to the template directory
    • getId

      public String getId()
      Description copied from interface: ProjectTabPanelFragment
      Returns the fragment's unique HTML ID.
      Returns:
      the id of the fragment, never null
    • showFragment

      public boolean showFragment(BrowseContext ctx)
      Description copied from interface: ProjectTabPanelFragment
      Whether or not to include a fragment. E.g. check permissions or if there is no content to render
      Parameters:
      ctx - the context in which this fragment is being rendered
      Returns:
      true if the fragment should be shown, false otherwise