-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TM-12] Adds Your transfers page & wraps it in a feature toggle
- Loading branch information
Showing
5 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/SFA.DAS.EmployerFinance.Web/Controllers/TransfersController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System.Web.Mvc; | ||
using SFA.DAS.Authorization.Mvc.Attributes; | ||
|
||
namespace SFA.DAS.EmployerFinance.Web.Controllers | ||
{ | ||
[DasAuthorize("EmployerFeature.TransfersMatching")] | ||
[RoutePrefix("transfers")] | ||
public class TransfersController : Controller | ||
{ | ||
[HttpGet] | ||
[Route("{hashedAccountId}")] | ||
public ActionResult Index(string hashedAccountId) | ||
{ | ||
return View(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/SFA.DAS.EmployerFinance.Web/Views/Transfers/Index.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
@{ | ||
ViewBag.PageID = "transfers"; | ||
ViewBag.Section = "transfers"; | ||
ViewBag.Title = "Transfers"; | ||
ViewBag.AnalyticsData.Vpv = $"/finance/home"; | ||
ViewBag.ZenDeskLabel = "eas-finance"; | ||
} | ||
|
||
<h1 class="heading-xlarge">Your Transfers</h1> | ||
|
||
@section breadcrumb { | ||
<div class="breadcrumbs"> | ||
<ol role="navigation"> | ||
<li><a href="@Url.EmployerAccountsAction("teams")">Home</a></li> | ||
<li><a href="@Url.LegacyEasAccountAction("finance")">Finance</a></li> | ||
<li>@ViewBag.Title</li> | ||
</ol> | ||
</div> | ||
} | ||
|
||
@section pageSpecificJS { | ||
} |