From 3d9f7169be4fc0110ebccede0ab1886ef09e1ca3 Mon Sep 17 00:00:00 2001 From: ahinz Date: Fri, 12 Dec 2014 12:47:27 +0100 Subject: [PATCH] ` --- app/views/articles/index.html.erb | 2 ++ config/locales/en.bootstrap.yml | 1 + config/locales/pl.bootstrap.yml | 1 + 3 files changed, 4 insertions(+) diff --git a/app/views/articles/index.html.erb b/app/views/articles/index.html.erb index 972f86e..356f38a 100644 --- a/app/views/articles/index.html.erb +++ b/app/views/articles/index.html.erb @@ -24,6 +24,8 @@ <%= article.active %> <%= article.created %> + <%= link_to t('.more', :default => t("helpers.links.more")), + article_path(article), :class => 'btn btn-info btn-xs' %> <%= link_to t('.edit', :default => t("helpers.links.edit")), edit_article_path(article), :class => 'btn btn-default btn-xs' %> <%= link_to t('.destroy', :default => t("helpers.links.destroy")), diff --git a/config/locales/en.bootstrap.yml b/config/locales/en.bootstrap.yml index 8d75119..d0ba6ea 100644 --- a/config/locales/en.bootstrap.yml +++ b/config/locales/en.bootstrap.yml @@ -16,6 +16,7 @@ en: destroy: "Delete" new: "New" edit: "Edit" + more: "More" titles: edit: "Edit %{model}" save: "Save %{model}" diff --git a/config/locales/pl.bootstrap.yml b/config/locales/pl.bootstrap.yml index a0ea190..5c964a9 100644 --- a/config/locales/pl.bootstrap.yml +++ b/config/locales/pl.bootstrap.yml @@ -16,6 +16,7 @@ pl: destroy: "Usuń" new: "Nowy" edit: "Edycja" + more: "Więcej" titles: edit: "Edycja %{model}" save: "Zapisz %{model}"