-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2927802
commit f45708f
Showing
4 changed files
with
23,706 additions
and
14,583 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
@model Tuple<List<IEnumerable<ScheduleModel>>, IEnumerable<Talk>, DateTime, List<string>> | ||
@inject UserManager<CodeCampUser> userMgr | ||
@inject SignInManager<CodeCampUser> signInMgr | ||
@{ | ||
var codeCampUser = await userMgr.GetUserAsync(User); | ||
ViewData["Title"] = "Schedule"; | ||
@*@model Tuple<List<IEnumerable<ScheduleModel>>, IEnumerable<Talk>, DateTime, List<string>> | ||
@inject UserManager<CodeCampUser> userMgr | ||
@inject SignInManager<CodeCampUser> signInMgr | ||
@{ | ||
var codeCampUser = await userMgr.GetUserAsync(User); | ||
ViewData["Title"] = "Schedule"; | ||
var slots = Model.Item1; | ||
var favs = Model.Item2; | ||
var pickedTime = Model.Item3; | ||
var slots = Model.Item1; | ||
var favs = Model.Item2; | ||
var pickedTime = Model.Item3; | ||
var isAdmin = (codeCampUser != null && signInMgr.IsSignedIn(User) && await userMgr.IsInRoleAsync(codeCampUser, Consts.ADMINROLE)); | ||
} | ||
@section Scripts { | ||
<script> | ||
(function ($) { | ||
var timeBlock = $('.current-time'); | ||
if (timeBlock.length > 0) window.scrollTo(0, timeBlock.offset().top - 50); | ||
})(jQuery); | ||
</script> | ||
} | ||
var isAdmin = (codeCampUser != null && signInMgr.IsSignedIn(User) && await userMgr.IsInRoleAsync(codeCampUser, Consts.ADMINROLE)); | ||
} | ||
@section Scripts { | ||
<script> | ||
(function ($) { | ||
var timeBlock = $('.current-time'); | ||
if (timeBlock.length > 0) window.scrollTo(0, timeBlock.offset().top - 50); | ||
})(jQuery); | ||
</script> | ||
}*@ | ||
<div class="row"> | ||
<script type="text/javascript" src="https://sessionize.com/api/v2/@(this.GetEventInfo().SessionizeEmbedId)/view/GridSmart"></script> | ||
</div> |
Oops, something went wrong.