From 4ae3a24e33516b3a7245ce0167786413e5965129 Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Wed, 12 Dec 2012 18:41:04 +0600 Subject: [PATCH] add ideas to bottom menu --- app/views/layouts/menu/_bottom.html.haml | 4 ++++ config/locales/menu.en.yml | 1 + config/locales/menu.ru.yml | 1 + 3 files changed, 6 insertions(+) diff --git a/app/views/layouts/menu/_bottom.html.haml b/app/views/layouts/menu/_bottom.html.haml index 4858cfde7..c2eb2f4c6 100644 --- a/app/views/layouts/menu/_bottom.html.haml +++ b/app/views/layouts/menu/_bottom.html.haml @@ -20,3 +20,7 @@ %li = image_tag 'square.png' = link_to t('bottom_menu.developer_api'), t('bottom_menu.developer_api_url') + -if Project.find_by_owner_and_name 'abf', 'abf-ideas' + %li + = image_tag 'square.png' + = link_to t('bottom_menu.abf-ideas'), project_issues_url('abf', 'abf-ideas') diff --git a/config/locales/menu.en.yml b/config/locales/menu.en.yml index d940e3c51..64d69ec24 100644 --- a/config/locales/menu.en.yml +++ b/config/locales/menu.en.yml @@ -20,6 +20,7 @@ en: support: Support developer_api: Developer API developer_api_url: http://abf-doc.rosalinux.ru + abf-ideas: ABF Ideas project_menu: project: Project commits: Commits diff --git a/config/locales/menu.ru.yml b/config/locales/menu.ru.yml index 35783e139..a79c8f1b8 100644 --- a/config/locales/menu.ru.yml +++ b/config/locales/menu.ru.yml @@ -20,6 +20,7 @@ ru: support: Служба поддержки developer_api: API для разработчиков developer_api_url: http://abf-doc.rosalinux.ru + abf-ideas: Идеи для ABF project_menu: project: Проект commits: Коммиты