hidden activity

This commit is contained in:
2017-02-20 15:53:25 +01:00
parent 5bd7a33b18
commit d7bef28136
25 changed files with 5706 additions and 13 deletions

View File

@ -35,6 +35,18 @@
@RenderSection("header", required: false)
</head>
<body>
@if (ViewData ["Notify"] != null) {
foreach (Notification n in ViewData ["Notify"] as IEnumerable<Notification>) {
<div class="alert alert-info alert-dismissable">
<strong>@n.title</strong> @n.body
@if (n.click_action!=null) {
<a class="close" data-dismiss="alert" aria-label="close" onclick="notifClick(@n.Id)">@SR[n.click_action]</a>
} else {
<a class="close" data-dismiss="alert" aria-label="close" >@SR[n.click_action]</a>
}
</div>
}
}
<nav class="navbar navbar-inverse navbar-static-top" role="navigation">
<div class="container">
<div class="navbar-header">