diff --git a/src/api/app/assets/stylesheets/webui/staging-workflow.scss b/src/api/app/assets/stylesheets/webui/staging-workflow.scss index bc79632fe72..493fb264c1e 100644 --- a/src/api/app/assets/stylesheets/webui/staging-workflow.scss +++ b/src/api/app/assets/stylesheets/webui/staging-workflow.scss @@ -88,7 +88,6 @@ ul .table-list-group-item { @extend .w-50; span.badge { - margin-left: 10px; a.request { @@ -129,6 +128,12 @@ ul .table-list-group-item { &.state-untracked { @extend .badge-dark; } + + &.delete { + a.request { + text-decoration: line-through; + } + } } a, div.collapse, div.collapsing { float: left; diff --git a/src/api/app/helpers/webui/staging/workflow_helper.rb b/src/api/app/helpers/webui/staging/workflow_helper.rb index f3b7903066d..b8ce1abacec 100644 --- a/src/api/app/helpers/webui/staging/workflow_helper.rb +++ b/src/api/app/helpers/webui/staging/workflow_helper.rb @@ -65,6 +65,7 @@ def create_request_links(request, users_hash, groups_hash) css = 'ready' css = 'review' if request[:missing_reviews].present? css = 'obsolete' if request[:state].in?(BsRequest::OBSOLETE_STATES) + css += ' delete' if request[:request_type] == 'delete' link_content = [request[:package]] link_content << reviewers_icon(request, users_hash, groups_hash) if request[:missing_reviews].present? content_tag(:span, class: "badge state-#{css}") do