分页: 1 / 1

Gitlab 自定义修改

发表于 : 2023-01-27, 12:59
admin
修改默认语言
/opt/gitlab/embedded/service/gitlab-rails/config/application.rb

代码: 全选

    config.i18n.default_locale = :zh_CN
修改网站标题 title
/opt/gitlab/embedded/service/gitlab-rails/app/views/layouts/_head.html.haml

代码: 全选

- site_name = _('GitLab')
修改登录页面footer
/opt/gitlab/embedded/service/gitlab-rails/app/views/devise/shared/_footer.html.haml

登录、注册页标题,管理员》设置》外观,填写标题