summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Project-Unite/Views/Bugs/Index.cshtml16
1 files changed, 15 insertions, 1 deletions
diff --git a/Project-Unite/Views/Bugs/Index.cshtml b/Project-Unite/Views/Bugs/Index.cshtml
index 71013a5..21179f9 100644
--- a/Project-Unite/Views/Bugs/Index.cshtml
+++ b/Project-Unite/Views/Bugs/Index.cshtml
@@ -50,7 +50,21 @@
{
<tr>
<td>
- <strong><a href="#[email protected]" data-toggle="modal"></a></strong><br/>
+ <div class="modal fade in" id="[email protected]">
+ <div class="modal-content">
+ <div class="modal-header">
+ <h2>View bug</h2>
+ </div>
+ <div class="modal-body">
+ @Html.Partial("~/Views/Bugs/ViewBug.cshtml", new ViewBugViewModel
+ {
+ BugData = bug,
+ Comment = ""
+ })
+ </div>
+ </div>
+ </div>
+ <strong><a href="#[email protected]" data-toggle="modal">@bug.Name</a></strong><br/>
<p>Reported at: @bug.ReportedAt &bull; Reported by: @Html.UserLink(bug.Reporter)</p>
</td>
@switch (bug.Urgency)