summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-09 13:27:06 -0400
committerMichael <[email protected]>2017-05-09 13:27:06 -0400
commit365c54c183b09d609411602ecce9e3a79384d086 (patch)
treeab30b64a41e57106e1e636e6e2a513efd4c327b4
parent974380a095dcae5dfa88ed826784aeaf8409b73b (diff)
downloadproject-unite-365c54c183b09d609411602ecce9e3a79384d086.tar.gz
project-unite-365c54c183b09d609411602ecce9e3a79384d086.tar.bz2
project-unite-365c54c183b09d609411602ecce9e3a79384d086.zip
bug dialogs
-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)