Skip to content

Creates a Vue component for the erased block on the job view page

Filipa Lacerda requested to merge 50101-erased-block into master

What does this MR do?

Creates a Vue component for the erased block on the job view page.

It moves the following code into vue:

    - if @build.erased?
      .prepend-top-default.js-build-erased
        .erased.alert.alert-warning
          - if @build.erased_by_user?
            Job has been erased by #{link_to(@build.erased_by_name, user_path(@build.erased_by))} #{time_ago_with_tooltip(@build.erased_at)}
          - else
            Job has been erased #{time_ago_with_tooltip(@build.erased_at)}

https://gitlab.com/gitlab-org/gitlab-ee/blob/master/app/views/projects/jobs/show.html.haml#L52

Does this MR meet the acceptance criteria?

#50101 (closed)

Edited by Filipa Lacerda

Merge request reports