{namespace JIRA.Templates.project.ChangeType} /** * Render the change project type dialog * * @param projectId the id of the project we're changing */ {template .changeProjectTypeDialog} {/template} /** * Render the change project type dialog * * @param project the id of the project we're changing * @param helpLink * @param projectTypes */ {template .changeProjectTypeForm}
{call .projectAvatar} {param project: $project /} {/call}
{call .projectTypeDropdown} {param projectTypeKey: $project.projectTypeKey /} {param projectTypes: $projectTypes /} {/call}

{let $helpLinkAnchor}{/let} {getText('admin.projects.change.project.type.help', $helpLinkAnchor, '')|noAutoescape}

{/template} /** * Render the project types dropdown * * @param projectTypeKey project current project type key * @param projectTypes */ {template .projectTypeDropdown} {/template} /** * Change the content of the target element. * * @param icon the project type icon * @param formattedKey the project type formatted key */ {template .updateTargetElement} {$formattedKey} {/template} /** * Renders a project avatar and title * @param project the project to render */ {template .projectAvatar}
{$project.name}
{$project.name}
{/template} /** * Renders div for the AUI spinner */ {template .dialogSpinner}
{/template} /** * Renders success message * @param projectName * @param projectTypeName */ {template .successMsg} {getText('admin.projects.change.project.type.success', $projectName, $projectTypeName)} {/template}