@{
+ //TODO: Need to replace with the helper that filters non external ones. GetExternalAuthenticationTypes()
var loginProviders = Context.GetAuthenticationTypes();
if (loginProviders.Count() == 0)
{
@@ -16,13 +17,13 @@
}
else
{
-
asdfasdf
using (Html.BeginForm("ExternalLogin", "Account", new { ReturnUrl = Model.ReturnUrl }))
{
@Html.AntiForgeryToken()
- @foreach (AuthenticationDescription p in loginProviders)
+ @*TODO: Temporary hack for the above issue. Needs to be removed once GetExternalAuthenticationTypes() is available*@
+ @foreach (AuthenticationDescription p in loginProviders.Where(a => a.Caption != null))
{
}
diff --git a/src/MusicStore/Views/Shared/Components/Announcement/Default.cshtml b/src/MusicStore/Views/Shared/Components/Announcement/Default.cshtml
index e19126bbed..f764aaa5d0 100644
--- a/src/MusicStore/Views/Shared/Components/Announcement/Default.cshtml
+++ b/src/MusicStore/Views/Shared/Components/Announcement/Default.cshtml
@@ -3,7 +3,8 @@
@if (Model != null)
{
- @Html.Label(null, "New!", new { style = "color: red" })
+
+ @Html.Label(null, "New Arrivals!", new { style = "color: red" })@Html.ActionLink(Model.Title, "Details", "Store", new { id = Model.AlbumId }, new { id = "NewArrivalsPanel" })
}
\ No newline at end of file
diff --git a/test/E2ETests/DeploymentUtility.cs b/test/E2ETests/DeploymentUtility.cs
index d751707a26..3fbe375038 100644
--- a/test/E2ETests/DeploymentUtility.cs
+++ b/test/E2ETests/DeploymentUtility.cs
@@ -95,7 +95,6 @@ namespace E2ETests
applicationPath = Path.GetFullPath(applicationPath.Replace('\\', '/'));
//Mono does not have a way to pass in a --appbase switch. So it will be an environment variable.
- //https://github.com/aspnet/KRuntime/issues/580
Environment.SetEnvironmentVariable("KRE_APPBASE", applicationPath);
Console.WriteLine("Setting the KRE_APPBASE to {0}", applicationPath);
- @foreach (AuthenticationDescription p in loginProviders) + @*TODO: Temporary hack for the above issue. Needs to be removed once GetExternalAuthenticationTypes() is available*@ + @foreach (AuthenticationDescription p in loginProviders.Where(a => a.Caption != null)) { } diff --git a/src/MusicStore/Views/Shared/Components/Announcement/Default.cshtml b/src/MusicStore/Views/Shared/Components/Announcement/Default.cshtml index e19126bbed..f764aaa5d0 100644 --- a/src/MusicStore/Views/Shared/Components/Announcement/Default.cshtml +++ b/src/MusicStore/Views/Shared/Components/Announcement/Default.cshtml @@ -3,7 +3,8 @@ @if (Model != null) {
+ @Html.Label(null, "New Arrivals!", new { style = "color: red" }) @Html.ActionLink(Model.Title, "Details", "Store", new { id = Model.AlbumId }, new { id = "NewArrivalsPanel" })