%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/985914/root/data/old/home/stash/stash/atlassian-stash/static/page/compare/
Upload File :
Create Path :
Current File : //proc/985914/root/data/old/home/stash/stash/atlassian-stash/static/page/compare/compare.soy

{namespace stash.page}

/**
 * @param activeTab
 * @param sourceRepository
 * @param? sourceBranch
 * @param? sourceChangeset
 * @param targetRepository
 * @param targetBranch
 * @param? targetChangeset
 * @param maxChanges
 **/
{template .compare}
    {webResourceManager_requireResourcesForContext('stash.page.compare')}
    // stash.page.pullRequest.create has been deprecated for removal in 4.0
    {webResourceManager_requireResourcesForContext('stash.page.pullRequest.create')}
    {call stash.layout.repository}
        {{param windowTitle: getText('stash.web.repository.compare.page.title', $sourceRepository.project.name, $sourceRepository.name) /}}
        {param activeNav: 'stash.repository.nav.branches' /}
        {param repository: $sourceRepository /}
        {param content}
            {call widget.aui.pageHeader}
                {param content}
                    <h2>{getText('stash.web.repository.compare.header.title')}</h2>
                {/param}
                {param actionListContent}
                    {call stash.widget.webFragmentButtons}
                        {param location: 'stash.repository.compare.action' /}
                        {param context: [ 'sourceRepository' : $sourceRepository, 'targetRepository' : $targetRepository] /}
                        {param isReverse: true /}
                    {/call}
                {/param}
            {/call}
            {call stash.feature.compare.panel data="all"}
            {/call}
        {/param}
        {param pageBottomContent}
            <script>
                require('page/compare').onReady(
                    {to_json($targetRepository)|noAutoescape},
                    {to_json($sourceRepository)|noAutoescape},
                    {call stash.feature.compare.tabDetailsJS}
                            {param maxChanges: $maxChanges /}
                            {param sourceRepository: $sourceRepository /}
                        {/call}
                );
            </script>
        {/param}
    {/call}
{/template}

Zerion Mini Shell 1.0