diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-20 14:10:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-20 14:10:13 +0300 |
commit | 0ea3fcec397b69815975647f5e2aa5fe944a8486 (patch) | |
tree | 7979381b89d26011bcf9bdc989a40fcc2f1ed4ff /app/views/admin/projects/show.html.haml | |
parent | 72123183a20411a36d607d70b12d57c484394c8e (diff) |
Add latest changes from gitlab-org/gitlab@15-1-stable-eev15.1.0-rc42
Diffstat (limited to 'app/views/admin/projects/show.html.haml')
-rw-r--r-- | app/views/admin/projects/show.html.haml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml index 16f6e71d79b..6921c051361 100644 --- a/app/views/admin/projects/show.html.haml +++ b/app/views/admin/projects/show.html.haml @@ -5,18 +5,18 @@ - @content_class = "admin-projects" - current_user_is_group_owner = @group && @group.has_owner?(current_user) -%h3.page-title +%h1.page-title.gl-font-size-h-display = _('Project: %{name}') % { name: @project.full_name } = link_to edit_project_path(@project), class: "btn btn-default gl-button float-right" do - = sprite_icon('pencil-square', css_class: 'gl-icon') + = sprite_icon('pencil', css_class: 'gl-icon gl-mr-2') = _('Edit') %hr - if @project.last_repository_check_failed? .row .col-md-12 = render Pajamas::AlertComponent.new(variant: :danger, - alert_class: 'gl-mb-5', - alert_data: { testid: 'last-repository-check-failed-alert' }) do |c| + alert_options: { class: 'gl-mb-5', + data: { testid: 'last-repository-check-failed-alert' }}) do |c| = c.body do - last_check_message = _("Last repository check (%{last_check_timestamp}) failed. See the 'repocheck.log' file for error messages.") - last_check_message = last_check_message % { last_check_timestamp: time_ago_with_tooltip(@project.last_repository_check_at) } |