From 2c393a1befbd37c20734e1bb4c7cb9db0c5b39b4 Mon Sep 17 00:00:00 2001 From: Giga Chubinidze Date: Tue, 13 Sep 2022 13:31:04 +0400 Subject: [PATCH] exposed prefixed ids for projects table [SCI_7172] --- app/assets/stylesheets/projects.scss | 2 -- app/models/project.rb | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/assets/stylesheets/projects.scss b/app/assets/stylesheets/projects.scss index 8298b9b3b..5d017c791 100644 --- a/app/assets/stylesheets/projects.scss +++ b/app/assets/stylesheets/projects.scss @@ -953,7 +953,6 @@ li.module-hover { display: flex; grid-column: 7; position: initial; - display: block; } } @@ -1056,7 +1055,6 @@ li.module-hover { grid-template-columns: max-content repeat(calc(var(--list-columns-number) - 2), minmax(100px, auto)) max-content; .card { - &.folder-card { .name { grid-column: 6 span; diff --git a/app/models/project.rb b/app/models/project.rb index 0dece87ad..a32e625e9 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -308,7 +308,7 @@ class Project < ApplicationRecord report.destroy if report.present? end - def code + def code "PR#{id}" end