File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,6 +51,10 @@ export default defineComponent({
5151 type: Boolean ,
5252 default: false ,
5353 },
54+ missingSbomText: {
55+ type: String ,
56+ default: ' ' ,
57+ },
5458 filterIsFOSS: {
5559 type: Boolean ,
5660 default: false ,
@@ -243,7 +247,7 @@ export default defineComponent({
243247 </th >
244248 </template >
245249 <template v-slot :[` item.spdxname ` ]=" {item } " >
246- <span v-if =" item.spdxname == ''" >{{ t('NO_APPROVABLE_SPDX') }}</span >
250+ <span v-if =" item.spdxname == ''" >{{ missingSbomText !== '' ? missingSbomText : t('NO_APPROVABLE_SPDX') }}</span >
247251 <v-row class =" align-center pl-2" v-else >
248252 <v-col cols =" auto" class =" pa-0" >
249253 <v-icon v-if =" showSbomExtras && item.isApprovable" color =" primary" size =" small" class =" pb-1" >mdi-star</v-icon >
Original file line number Diff line number Diff line change @@ -9,8 +9,10 @@ import {ApprovableInfo} from '@disclosure-portal/model/Approval';
99import {useProjectStore } from ' @disclosure-portal/stores/project.store' ;
1010import projectService from ' @disclosure-portal/services/projects' ;
1111import {useIdleStore } from ' @shared/stores/idle.store' ;
12+ import {useI18n } from ' vue-i18n' ;
1213const projectStore = useProjectStore ();
1314
15+ const {t} = useI18n ();
1416const approvableInfo = ref <ApprovableInfo >({} as ApprovableInfo );
1517const search = ref <string | null >(' ' );
1618const dataAreLoaded = ref (false );
@@ -78,7 +80,8 @@ onMounted(async () => {
7880 showSbomExtras
7981 showSupplier
8082 showLoading
81- :loading =" ! dataAreLoaded " />
83+ :loading =" ! dataAreLoaded "
84+ :missingSbomText =" t (' NO_SPDX' )" />
8285 </div >
8386 </template >
8487 </TableLayout >
Original file line number Diff line number Diff line change 15601560 "APPROVALS_USE_PARENT_TEXT_POST" : " der dazugehörigen Gruppe." ,
15611561 "COL_DOCUMENT" : " Dokument" ,
15621562 "NO_APPROVABLE_SPDX" : " Keine freigegebene SBOM markiert. Bitte markieren Sie ein SBOM im SBOM-Lieferungen-Tab mit einem Stern." ,
1563+ "NO_SPDX" : " Keine SBOM-Lieferungen für das Projekt vorhanden." ,
15631564 "BTN_REQUEST" : " Anfordern" ,
15641565 "DOWNLOAD_INITIAL_DOCUMENT" : " Das Disclosure Dokument für den ausgewählten Umfang wurde generiert und kann nun verwendet werden. " ,
15651566 "TT_REQUEST_VEHICLE_PLATFORM" : " \" product platform\" Projekte dürfen aktuell keinen Freigabe-Prozess starten" ,
Original file line number Diff line number Diff line change 15471547 "APPROVALS_USE_PARENT_TEXT_POST" : " of the corresponding parent project." ,
15481548 "COL_DOCUMENT" : " Document" ,
15491549 "NO_APPROVABLE_SPDX" : " No approvable SBOM set. Please mark an SBOM in SBOM Deliveries tab with a star." ,
1550+ "NO_SPDX" : " No SBOM present for the project." ,
15501551 "BTN_REQUEST" : " Request" ,
15511552 "DOWNLOAD_INITIAL_DOCUMENT" : " The Disclosure Document for the selected scope has been generated and can now be used. " ,
15521553 "TT_REQUEST_VEHICLE_PLATFORM" : " approval requests for 'product platform' projects are currently disabled" ,
You can’t perform that action at this time.
0 commit comments