diff --git a/app/views/projects/base/_submenu.html.slim b/app/views/projects/base/_submenu.html.slim index 9ce642d7c..fe9ae0604 100644 --- a/app/views/projects/base/_submenu.html.slim +++ b/app/views/projects/base/_submenu.html.slim @@ -19,6 +19,11 @@ / Collect the nav links, forms, and other content for toggling #submenu-navbar-collapse.collapse.navbar-collapse ul.nav.navbar-nav.left-border + - if github_success + li + a href=github_base_url target="_blank" + i.fa.fa-github> + = t('project_menu.github') - if @project.is_package li class=('active' if contr == :build_lists) a href=project_build_lists_path(@project) diff --git a/app/views/projects/build_lists/show.html.slim b/app/views/projects/build_lists/show.html.slim index b9661252a..8abc9f21c 100644 --- a/app/views/projects/build_lists/show.html.slim +++ b/app/views/projects/build_lists/show.html.slim @@ -112,7 +112,7 @@ row[ ng-controller='BuildListController' td= t('activerecord.attributes.build_list.hostname') td= @build_list.hostname - tr ng-show = 'build_list.fail_reason' + tr.bg-danger ng-show = 'build_list.fail_reason' td= t('activerecord.attributes.build_list.fail_reason') td | {{build_list.fail_reason}} diff --git a/config/locales/menu.en.yml b/config/locales/menu.en.yml index f0c21a2e0..0b5c36ab9 100644 --- a/config/locales/menu.en.yml +++ b/config/locales/menu.en.yml @@ -18,6 +18,7 @@ en: tos: Terms Of Service support: Support project_menu: + github: To Github project: Project files: Files commits: Commits diff --git a/config/locales/menu.ru.yml b/config/locales/menu.ru.yml index 4df40d7a1..6d9264282 100644 --- a/config/locales/menu.ru.yml +++ b/config/locales/menu.ru.yml @@ -18,6 +18,7 @@ ru: tos: Условия использования support: Служба поддержки project_menu: + github: На Github project: Проект files: Файлы commits: Коммиты