Browse Source

- Added links to register and get premium from About page.

- Changed 'Blogging' in navbar to 'News' to better represent what it is, and moved it to the main bar.
tags/2.0.6
Teknikode 3 years ago
parent
commit
21f6644d7d

+ 2
- 2
Teknik/Areas/About/Views/About/Index.cshtml View File

@@ -28,8 +28,8 @@
<!-- Heading -->
<tr>
<th class="text-center"></th>
<th class="text-center">Premium Account</th>
<th class="text-center">Basic Account</th>
<th class="text-center"><a href="@Url.SubRouteUrl("user", "User.GetPremium")">Premium Account</a></th>
<th class="text-center"><a href="@Url.SubRouteUrl("user", "User.Register")">Basic Account</a></th>
<th class="text-center">No Account</th>
</tr>
<!-- Prices -->

+ 1
- 1
Teknik/Areas/User/Views/User/GetPremium.cshtml View File

@@ -70,7 +70,7 @@
<div class="panel-body">
<div class="row">
<div class="col-sm-12 text-center">
Send $@Model.Config.UserConfig.PremiumAccountPrice worth of Bitcoin <span data-toggle="tooltip" data-placement="top" title="@currentPriceMsg">(Currently @(Math.Round((Model.Config.UserConfig.PremiumAccountPrice / CurrencyHelper.GetExchangeRate(CurrencyType.BTC)), 6)))<small>*</small></span> to the following address
Send $@Model.Config.UserConfig.PremiumAccountPrice worth of Bitcoin <span data-toggle="tooltip" data-placement="top" title="@currentPriceMsg">(Currently @(Math.Round((Model.Config.UserConfig.PremiumAccountPrice / CurrencyHelper.GetExchangeRate(CurrencyType.BTC)), 6)))<small>*</small></span> per account to the following address
</div>
</div>
<br />

+ 1
- 1
Teknik/Areas/User/Views/User/_LoginPartial.cshtml View File

@@ -12,7 +12,7 @@
<a href="#" id="user_menu" class="dropdown-toggle" data-toggle="dropdown">@User.Identity.Name <strong class="caret"></strong></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="user_menu">
<li>
<a href="@Url.SubRouteUrl("blog", "Blog.Blog", new { username = User.Identity.Name })">Blog</a>
<a href="@Url.SubRouteUrl("blog", "Blog.Blog", new { username = User.Identity.Name })">View Blog</a>
</li>
<li>
<a href="@Url.SubRouteUrl("user", "User.ViewProfile", new { username = User.Identity.Name })">Profile</a>

+ 9
- 6
Teknik/Views/Shared/_Navbar.cshtml View File

@@ -29,20 +29,23 @@
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="@Url.GetActive("www", string.Empty)"><a href="@Url.SubRouteUrl("www", "Home.Index")">Home</a></li>
<li class="@Url.GetActive("about")"><a href="@Url.SubRouteUrl("about", "About.Index")">About</a></li>
<li class="@Url.GetActive("www", string.Empty)">
<a href="@Url.SubRouteUrl("www", "Home.Index")">Home</a>
</li>
<li class="@Url.GetActive("about")">
<a href="@Url.SubRouteUrl("about", "About.Index")">About</a>
</li>
<li class="@Url.GetActive("blog")">
<a href="@Url.SubRouteUrl("blog", "Blog.Blog", new { username = string.Empty })">News</a>
</li>
<li class="divider-vertical"></li>

<li class="dropdown">
<a href="#" id="services_menu" class="dropdown-toggle" data-toggle="dropdown">Services <strong class="caret"></strong></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="services_menu">
<li class="@Url.GetActive("blog")">
<a href="@Url.SubRouteUrl("blog", "Blog.Blog", new { username = string.Empty })">Blogging</a>
</li>
<li class="@Url.GetActive("podcast")">
<a href="@Url.SubRouteUrl("podcast", "Podcast.Index")">Teknikast</a>
</li>
<li role="separator" class="divider"></li>
<li class="@Url.GetActive("upload", "u")">
<a href="@Url.SubRouteUrl("upload", "Upload.Index")">Uploads</a>
</li>

Loading…
Cancel
Save