lib/ecrire/app/views/admin/_navigation.html.erb in ecrire-0.30.2 vs lib/ecrire/app/views/admin/_navigation.html.erb in ecrire-0.30.3
- old
+ new
@@ -1,6 +1,12 @@
<nav id='AdminNavigation'>
+ <%= link_to '/', class: %w(home) do %>
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Arrow_circled_left" x="0px" y="0px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
+ <path d="M10,0.4c-5.303,0-9.601,4.298-9.601,9.6c0,5.303,4.298,9.601,9.601,9.601c5.301,0,9.6-4.298,9.6-9.601 C19.6,4.698,15.301,0.4,10,0.4z M9.999,17.6c-4.197,0-7.6-3.402-7.6-7.6s3.402-7.6,7.6-7.6S17.6,5.803,17.6,10 S14.196,17.6,9.999,17.6z M10,5.5L5.5,10l4.5,4.5V12h4V8h-4V5.5z"/>
+ </svg>
+ Back to your blog
+ <% end %>
<div class='current user' as='Profiles.Menu'>
<%= link_to admin_profile_path, class: %w(profile menu), remote: true do %>
<%= content_tag :span, current_user.email %>
<svg x="0px" y="0px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
@@ -28,12 +34,6 @@
<% end %>
<div>
<%= yield('Navigation::Tags') if content_for?('Navigation::Tags') %>
</div>
- <%= link_to '/', class: %w(home) do %>
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Arrow_circled_left" x="0px" y="0px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
- <path d="M10,0.4c-5.303,0-9.601,4.298-9.601,9.6c0,5.303,4.298,9.601,9.601,9.601c5.301,0,9.6-4.298,9.6-9.601 C19.6,4.698,15.301,0.4,10,0.4z M9.999,17.6c-4.197,0-7.6-3.402-7.6-7.6s3.402-7.6,7.6-7.6S17.6,5.803,17.6,10 S14.196,17.6,9.999,17.6z M10,5.5L5.5,10l4.5,4.5V12h4V8h-4V5.5z"/>
- </svg>
- Back to your blog
- <% end %>
</nav>