@using PantheonRA.BackOffice.Models;

@Html.Partial("~/Views/Shared/_TabNavigation.cshtml", new TabNavigationViewModel {
    Tabs = new List<NavigationtabViewModel>
    {
        new NavigationtabViewModel(Loc.NewTransfer, Url.Action("Create", "Transfer"),
            Html.IsActive("Create", "Transfer") || Html.IsActive("Edit", "Transfer"),
            !PantheonRA.BackOffice.CurrentUser.CanAccess(PantheonRA.WebApi.Contracts.Enums.Permissions.PAW_TRANSFER)),

        new NavigationtabViewModel(Loc.TransferList, Url.Action("Index", "Transfer"),
            Html.IsActive("Index", "Transfer"),
            !PantheonRA.BackOffice.CurrentUser.CanAccess(PantheonRA.WebApi.Contracts.Enums.Permissions.PAW_TRANSFER)),
    }
})
