%PDF- %PDF-
| Direktori : /proc/self/root/data/old/home/stash/atlassian-stash/static/feature/watch/ |
| Current File : //proc/self/root/data/old/home/stash/atlassian-stash/static/feature/watch/watch.soy |
{namespace stash.feature.watch}
/**
* @param isWatching
* @param type
*/
{template .summaryPanel}
{call stash.widget.summaryPanel.linkWebPanel}
{param extraClasses: 'watch' /}
{param iconClass : 'aui-iconfont-view' /}
{param linkContent}
{if $type == 'commit'}
{call .commitLabel}
{param isWatching: $isWatching /}
{/call}
{else}
{call .pullRequestLabel}
{param isWatching: $isWatching /}
{/call}
{/if}
{/param}
{/call}
{/template}
/**
* @param isWatching
*/
{template .pullRequestLabel}
{if $isWatching}
{{getText('stash.web.pull-request.unwatch', '<strong>', '</strong>')|noAutoescape}}</a>
{else}
{{getText('stash.web.pull-request.watch', '<strong>', '</strong>')|noAutoescape}}</a>
{/if}
{/template}
/**
* @param isWatching
*/
{template .commitLabel}
{if $isWatching}
{{getText('stash.web.commit.unwatch', '<strong>', '</strong>')|noAutoescape}}</a>
{else}
{{getText('stash.web.commit.watch', '<strong>', '</strong>')|noAutoescape}}</a>
{/if}
{/template}