fixed style for navbar headers
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<% content_for(:secondary_nav_links) do %>
|
||||
<menu>
|
||||
<menu id="secondary-links">
|
||||
<li><%= link_to "Listing", advertisements_path %></li>
|
||||
<li><%= link_to "New", new_advertisement_path %></li>
|
||||
<% if @advertisement && !@advertisement.new_record? %>
|
||||
|
||||
@@ -21,10 +21,10 @@
|
||||
<%= yield :html_header %>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<header id="top">
|
||||
<h1><%= link_to Danbooru.config.app_name, "/" %></h1>
|
||||
<nav>
|
||||
<menu>
|
||||
<menu class="main">
|
||||
<% if CurrentUser.user.is_anonymous? %>
|
||||
<%= nav_link_to("Login", new_session_path) %>
|
||||
<% else %>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
</section>
|
||||
|
||||
<% content_for(:page_title) do %>
|
||||
/<%= @post_set.tags %>
|
||||
/<%= @post_set.tags.join(" ") %>
|
||||
<% end %>
|
||||
|
||||
<%= render :partial => "posts/partials/common/secondary_links" %>
|
||||
|
||||
@@ -2,9 +2,12 @@
|
||||
<menu>
|
||||
<li><%= link_to "Listing", posts_path %></li>
|
||||
<li><%= link_to "Upload", new_upload_path %></li>
|
||||
<li>Popular</li>
|
||||
<li><%= link_to "Favorites", favorites_path %></li>
|
||||
<li>Subscriptions</li>
|
||||
<li><%= link_to "Popular", explore_post_popular_path %></li>
|
||||
<li><%= link_to "Hot", explore_post_hot_path %></li>
|
||||
<% unless CurrentUser.is_anonymous? %>
|
||||
<li><%= link_to "Favorites", favorites_path %></li>
|
||||
<li><%= link_to "Subscriptions", tag_subscriptions_path(:user_id => CurrentUser.id) %></li>
|
||||
<% end %>
|
||||
<li><%= link_to "Changes", post_versions_path %></li>
|
||||
<li>Approvals</li>
|
||||
<li><%= link_to "Moderate", moderation_post_dashboard_path %></li>
|
||||
|
||||
Reference in New Issue
Block a user