All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.admin.plugin-configuration.soy Maven / Gradle / Ivy

/**
 * Copyright (c) 2012-present Marvelution B.V.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
{namespace JJI.Templates.PluginConfiguration}

/**
 */
{template .headerButton}
	{call aui.buttons.button}
		{param text: getText('advanced_configuration') /}
	{/call}
{/template}

/**
 * @param jiraBaseUrl
 * @param jiraBaseRpcUrl
 * @param maxBuildsPerPage
 * @param useJobLatestBuildWhenIndexing
 */
{template .dialog}
	{call aui.dialog.dialog2}
		{param removeOnHide: true /}
		{param modal: true /}
		{param id: 'advanced-configuration-dialog' /}
		{param size: 'medium' /}
		{param titleText: getText('advanced_configuration') /}
		{param content}
			{call aui.form.form}
				{param action: '#' /}
				{param content}
					
{call aui.form.urlField} {param id: 'jiraBaseRpcUrl' /} {param value: $jiraBaseRpcUrl /} {param labelContent: getText('jira_base_rpc_url') /} {param descriptionText: getText('jira_base_rpc_url_description', $jiraBaseUrl) /} {/call} {call aui.form.textField} {param id: 'maxBuildsPerPage' /} {param value: $maxBuildsPerPage /} {param labelContent: getText('max_builds_per_page') /} {param descriptionText: getText('max_builds_per_page_description') /} {/call} {call aui.form.checkboxField} {param legendContent: getText('latest_vs_all_related') /} {param fields: [[ 'id': 'useJobLatestBuildWhenIndexing', 'labelText': getText('use_job_latest_build_when_indexing'), 'isChecked': $useJobLatestBuildWhenIndexing, 'value': 'true' ]] /} {param descriptionContent}

{getText('use_job_latest_build_when_indexing_description')}

{call aui.message.warning} {param title: getText('use_job_latest_build_when_indexing_warning_title') /} {param content}

{getText('use_job_latest_build_when_indexing_warning')}

{/param} {/call} {/param} {/call} {/param} {/call} {/param} {param footerActionContent} {call aui.buttons.button} {param type: 'primary' /} {param text: getText('save') /} {/call} {call aui.buttons.button} {param type: 'link' /} {param text: getText('close') /} {/call} {/param} {/call} {/template}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy