Browse Source

Fixed git links

tags/2.0.3
Teknikode 4 years ago
parent
commit
c96351ae06
2 changed files with 4 additions and 4 deletions
  1. 3
    3
      Teknik/Areas/User/Views/User/Index.cshtml
  2. 1
    1
      Teknik/Views/Shared/_Navbar.cshtml

+ 3
- 3
Teknik/Areas/User/Views/User/Index.cshtml View File

@@ -81,7 +81,7 @@
<li class="list-group-item text-right"><span class="pull-left"><strong>Email</strong></span> <a href="mailto:@Model.Email">@Model.Email</a></li>
}
<li class="list-group-item text-right"><span class="pull-left"><strong>Blog</strong></span> <a href="@Url.SubRouteUrl("blog", "Blog.Blog", new { username = Model.Username })" id="blog_title">@(string.IsNullOrEmpty(Model.BlogSettings.Title) ? string.Format("{0}'s Blog", Model.Username) : Model.BlogSettings.Title)</a></li>
<li class="list-group-item text-right"><span class="pull-left"><strong>Git</strong></span> <a href="@Url.SubRouteUrl("git", "Git.Index", new { username = Model.Username })">Public Repos</a></li>
<li class="list-group-item text-right"><span class="pull-left"><strong>Git</strong></span> <a href="@Model.Config.GitConfig.Host/@Model.Username">Public Repos</a></li>
</ul>
@if (!string.IsNullOrEmpty(Model.UserSettings.Website))
{
@@ -195,12 +195,12 @@
}
<div class="panel panel-default">
<div class="panel-heading text-center">
<a href="@shortUrl">@shortUrl</a>
<a href="@url.OriginalUrl">@url.OriginalUrl</a>
</div>
<div class="panel-body">
<div class="col-sm-5 text-center">
<label for="shortUrl">Short Url</label>
<p id="shortUrl"><a href="@url.OriginalUrl">@url.OriginalUrl</a></p>
<p id="shortUrl"><a href="@shortUrl">@shortUrl</a></p>
</div>
<div class="col-sm-5 text-center">
<label for="dateAdded">Date Added</label>

+ 1
- 1
Teknik/Views/Shared/_Navbar.cshtml View File

@@ -36,7 +36,7 @@
<a href="@Url.SubRouteUrl("shorten", "Shortener.Index")">Shorten Url</a>
</li>
<li class="@Url.GetActive("git")">
<a href="@Url.SubRouteUrl("git", "Git.Index")">Git</a>
<a href="@Model.Config.GitConfig.Host">Git</a>
</li>
<li class="@Url.GetActive("mail")">
<a href="@Url.SubRouteUrl("mail", "Mail.Index")" target="_blank">Mail</a>

Loading…
Cancel
Save