Skip to content

Commit

Permalink
Reset banner content and refrain from rendering banner
Browse files Browse the repository at this point in the history
  • Loading branch information
eecavanna authored Oct 18, 2024
1 parent 7aa1c2d commit 9e5e28f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 14 deletions.
10 changes: 2 additions & 8 deletions web/src/components/AppBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,10 @@
<p
class="title"
>
Upcoming maintenance (October 15-16)
Banner title (replace me)
</p>
<p>
On Tuesday, October 15, 2024, from 9 AM to 9 PM PDT, the NMDC Data Portal, Submission Portal, and API will be
unavailable for scheduled software upgrades.
</p>
<p>
On Wednesday, October 16, 2024, from 9 AM to 9 PM PDT, the data download functionality
of the Data Portal will be unavailable for system maintenance. All other features of the Data Portal will remain
available during that time.
Banner content (replace me)
</p>
</v-banner>
</template>
2 changes: 1 addition & 1 deletion web/src/views/IndividualResults/SamplePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default defineComponent({
<template>
<v-main v-if="result.id">
<!-- TODO: Reference a boolean variable defined elsewhere (TBD). -->
<AppBanner v-if="true" />
<AppBanner v-if="false" />
<v-container fluid>
<IndividualTitle :item="result" />
<AttributeList
Expand Down
2 changes: 1 addition & 1 deletion web/src/views/IndividualResults/StudyPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export default defineComponent({
<v-container fluid>
<v-main v-if="item !== null">
<!-- TODO: Reference a boolean variable defined elsewhere (TBD). -->
<AppBanner v-if="true" />
<AppBanner v-if="false" />
<v-row :class="{'flex-column': $vuetify.breakpoint.xs}">
<v-col
cols="12"
Expand Down
2 changes: 1 addition & 1 deletion web/src/views/Search/SearchLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export default defineComponent({
style="position: fixed; top: 64; z-index: 2;"
/>
<!-- TODO: Reference a boolean variable defined elsewhere (TBD). -->
<AppBanner v-if="true" />
<AppBanner v-if="false" />
<v-container
fluid
class="py-0"
Expand Down
2 changes: 1 addition & 1 deletion web/src/views/SubmissionPortal/SubmissionView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default defineComponent({
<template>
<v-main>
<!-- TODO: Reference a boolean variable defined elsewhere (TBD). -->
<AppBanner v-if="true" />
<AppBanner v-if="false" />
<v-container
v-if="!stateRefs.user.value && !req.loading.value"
>
Expand Down
2 changes: 1 addition & 1 deletion web/src/views/User/UserDetailPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default defineComponent({
<template>
<v-main>
<!-- TODO: Reference a boolean variable defined elsewhere (TBD). -->
<AppBanner v-if="true" />
<AppBanner v-if="false" />
<v-container>
<div v-if="userLoading">
Loading...
Expand Down
2 changes: 1 addition & 1 deletion web/src/views/User/UserPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default defineComponent({
<template>
<v-main>
<!-- TODO: Reference a boolean variable defined elsewhere (TBD). -->
<AppBanner v-if="true" />
<AppBanner v-if="false" />
<v-container>
<v-card flat>
<v-card-title class="text-h4">
Expand Down

0 comments on commit 9e5e28f

Please sign in to comment.