Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/app/core/interceptors/auth.interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ export const authInterceptor: HttpInterceptorFn = (
const cookieService = inject(CookieService);

const csrfToken = cookieService.get('api-csrf');
const staging = cookieService.get('osf_staging4');
console.log(staging);

if (!req.url.includes('/api.crossref.org/funders')) {
const headers: Record<string, string> = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<section class="flex flex-column flex-1 bg-white p-5 gap-4 w-full">
<p-card>
<h2 class="mb-4">{{ 'navigation.registration.metadata' | translate }}</h2>
<h2 class="mb-4">{{ 'navigation.metadata' | translate }}</h2>

<div class="mb-4">
<h4 class="mb-2">{{ 'common.labels.title' | translate }}</h4>
Expand All @@ -25,7 +25,7 @@ <h4 class="mb-2">{{ 'common.labels.description' | translate }}</h4>
</div>

<div class="mb-4">
<h4 class="mb-2">{{ 'navigation.registration.contributors' | translate }}</h4>
<h4 class="mb-2">{{ 'navigation.contributors' | translate }}</h4>
<div class="flex flex-wrap gap-2">
@for (contributor of contributors(); let last = $last; track contributor.id) {
<span>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="mb-3">
<h4>{{ 'navigation.registration.contributors' | translate }}</h4>
<h4>{{ 'navigation.contributors' | translate }}</h4>
<p>
@for (c of registration().contributors; track c.id) {
<span
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<section class="flex flex-column flex-1">
<osf-sub-header [title]="'navigation.registration.components' | translate" />
<osf-sub-header [title]="'navigation.components' | translate" />

<div class="flex flex-column gap-6 p-4 bg-white">
<section class="flex flex-column gap-4">
Expand Down