Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_header.html.haml « pages « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cf51796e878b3b4599f908a6a8db4a82e9c1b23b (plain)
1
2
3
4
5
6
7
8
9
10
11
- can_add_new_domain = can_create_pages_custom_domains?(current_user, @project)

%h1.page-title.gl-font-size-h-display.with-button
  = s_('GitLabPages|Pages')
  - if can_add_new_domain
    = render Pajamas::ButtonComponent.new(variant: :confirm, button_options: { class: 'float-right'}, href: new_project_pages_domain_path(@project)) do
      = s_('GitLabPages|New Domain')
%p
  - docs_link_start = "<a href='#{help_page_path('user/project/pages/index')}' target='_blank' rel='noopener noreferrer'>".html_safe
  - docs_link_end = '</a>'.html_safe
  = s_('GitLabPages|With GitLab Pages you can host your static website directly from your GitLab repository. %{docs_link_start}Learn more.%{link_end}').html_safe % { docs_link_start: docs_link_start, link_end: docs_link_end }