summaryrefslogtreecommitdiff
path: root/Project-Unite/Views
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-04-06 15:13:41 -0400
committerMichael <[email protected]>2017-04-06 15:13:41 -0400
commit1675a18905e395320da710485c4052a3f28606dc (patch)
tree6fd9338c7c89982c0e75b4f9fe13e684625d4cc4 /Project-Unite/Views
parente28195596b54360767a50be97f7976d7f8004aa3 (diff)
downloadproject-unite-1675a18905e395320da710485c4052a3f28606dc.tar.gz
project-unite-1675a18905e395320da710485c4052a3f28606dc.tar.bz2
project-unite-1675a18905e395320da710485c4052a3f28606dc.zip
"Random page" link in wiki
Diffstat (limited to 'Project-Unite/Views')
-rw-r--r--Project-Unite/Views/Wiki/Index.cshtml10
1 files changed, 10 insertions, 0 deletions
diff --git a/Project-Unite/Views/Wiki/Index.cshtml b/Project-Unite/Views/Wiki/Index.cshtml
index 63f2974..bc92111 100644
--- a/Project-Unite/Views/Wiki/Index.cshtml
+++ b/Project-Unite/Views/Wiki/Index.cshtml
@@ -26,12 +26,22 @@
</li>
}
+@if (Request.IsAuthenticated)
+{
+ <ul class="nav nav-tabs">
+ <li><a href="@Url.Action("AddPage")"><span class="glyphicon glyphicon-plus"></span> Add new page.</a></li>
+ </ul>
+}
+
<div class="row">
<div class="col-xs-4 panel">
<div class="panel-body">
<h4>Pages</h4>
<ul>
+ <li>@Html.ActionLink("Index", "Index")</li>
+ <li>@Html.ActionLink("Random page", "Random")</li>
+
@foreach(var cat in Model.Categories)
{
@CreateCategoryListRecursive(cat);