From 7ab57403dfd354bfc892a086c9a6399d247fc13f Mon Sep 17 00:00:00 2001 From: Hauke Klement Date: Tue, 10 Feb 2015 10:34:24 +0100 Subject: [PATCH] minor changes --- app/views/application/_breadcrumbs.html.slim | 2 +- app/views/application/welcome.html.slim | 2 +- config/locales/de.yml | 6 ++++-- config/locales/en.yml | 6 ++++-- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app/views/application/_breadcrumbs.html.slim b/app/views/application/_breadcrumbs.html.slim index a0080ff3..b62104cf 100644 --- a/app/views/application/_breadcrumbs.html.slim +++ b/app/views/application/_breadcrumbs.html.slim @@ -16,4 +16,4 @@ - else = t("#{controller_name}.index.#{params[:action]}") - else - li.active = t("breadcrumbs.#{params[:action]}") + li.active = t("breadcrumbs.#{controller_name}.#{params[:action]}") diff --git a/app/views/application/welcome.html.slim b/app/views/application/welcome.html.slim index 06bf33ff..d902d140 100644 --- a/app/views/application/welcome.html.slim +++ b/app/views/application/welcome.html.slim @@ -1,3 +1,3 @@ -h1 = t('breadcrumbs.welcome') +h1 = t('breadcrumbs.application.welcome') p = Forgery(:lorem_ipsum).words(100) diff --git a/config/locales/de.yml b/config/locales/de.yml index 708767cc..a2d9dadc 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -126,8 +126,10 @@ de: application: not_authorized: Sie Sind nicht berechtigt, diese Aktion auszuführen. breadcrumbs: - destroy_through_lti: Code-Abgabe - welcome: Startseite + application: + welcome: Startseite + sessions: + destroy_through_lti: Code-Abgabe consumers: show: link: Konsument diff --git a/config/locales/en.yml b/config/locales/en.yml index 37b49018..7586a178 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -126,8 +126,10 @@ en: application: not_authorized: You are not authorized to perform this action. breadcrumbs: - destroy_through_lti: Code Submission - welcome: Cover Page + application: + welcome: Cover Page + sessions: + destroy_through_lti: Code Submission consumers: show: link: Consumer