app/views/layouts/lines/application.html.erb in lines-engine-1.0.0 vs app/views/layouts/lines/application.html.erb in lines-engine-1.1.0
- old
+ new
@@ -18,11 +18,11 @@
<%= csrf_meta_tags %>
</head>
<body>
<% if current_lines_user %>
<%= render_navbar do %>
- <%= link_to 'New Article', new_admin_article_path, class: "btn btn-new-article highlight" %>
- <%= link_to 'Dashboard', admin_articles_path, class: "btn btn-view-blog" %>
+ <%= link_to t('lines.buttons.new_article').html_safe, new_admin_article_path, class: "btn btn-new-article highlight" %>
+ <%= link_to t('lines.buttons.dashboard').html_safe, admin_articles_path, class: "btn btn-view-blog" %>
<% end %>
<div class="spacer"></div>
<% end %>
<%= render 'layouts/lines/markdown_cheatsheet' %>