navigation.html 1 KB
Newer Older
Curtis Adam's avatar
Curtis Adam committed
1 2 3
<template name="cardsetNavigation">
    <div class="cardsetInfoFooter panel-footer">
        {{#if hasCardsetPermission}}
4 5 6 7 8 9 10 11
            {{#unless isInBonusAndNotOwner}}
                {{> cardsetNavigationPresentation}}
            {{/unless}}
            {{#if isInBonus}}
                {{> cardsetNavigationLearning}}
            {{else}}
                {{> cardsetNavigationWorkload}}
            {{/if}}
Curtis Adam's avatar
Curtis Adam committed
12 13 14 15 16 17 18
            {{> cardsetNavigationNewCard}}
            {{> cardsetNavigationImport}}
            {{> cardsetNavigationEditRepetitorium}}
            {{> cardsetNavigationEditCardset}}
            {{> cardsetNavigationEditLicense}}
            {{> cardsetNavigationPublishCardset}}
            {{> cardsetNavigationBonus}}
19 20 21
            {{#unless isInBonusAndNotOwner}}
                {{> cardsetNavigationManage}}
            {{/unless}}
Curtis Adam's avatar
Curtis Adam committed
22 23 24 25 26 27 28
            {{> cardsetNavigationExport}}
            {{> cardsetNavigationDeleteAllCards}}
        {{else}}
            {{> cardsetPreview}}
        {{/if}}
    </div>
</template>